doc004
doc004
doc004
38 • AR9331 802.11n 1x1 2.4 GHz SoC for AP and Router Platforms Atheros Communications, Inc.
38 • December 2010 COMPANY CONFIDENTIAL
PRELIMINARY
Atheros Communications, Inc. AR9331 802.11n 1x1 2.4 GHz SoC for AP and Router Platforms • 39
COMPANY CONFIDENTIAL December 2010 • 39
PRELIMINARY
40 • AR9331 802.11n 1x1 2.4 GHz SoC for AP and Router Platforms Atheros Communications, Inc.
40 • December 2010 COMPANY CONFIDENTIAL
PRELIMINARY
Atheros Communications, Inc. AR9331 802.11n 1x1 2.4 GHz SoC for AP and Router Platforms • 41
COMPANY CONFIDENTIAL December 2010 • 41
PRELIMINARY
42 • AR9331 802.11n 1x1 2.4 GHz SoC for AP and Router Platforms Atheros Communications, Inc.
42 • December 2010 COMPANY CONFIDENTIAL
PRELIMINARY
The DMA Rx logic (the DRU block) manages descriptor of each packets. Words 0–11 are
Rx descriptors and transfers the incoming valid for the last descriptor of an aggregate or
frame data and status to the host through the last descriptor of a stand-alone packet.
AHB bus. Additional validity qualifiers are described
Words 0, and 2 are valid for all descriptors. individually. See Table 3-6.
Words 0, 2, and 11 is valid for the last
Table 3-6. DMA Rx Descriptor Format for Words 0–11
Word Bits Name Description
0 31:16 atheros_id The unique Atheros identifier of 0x168C is used to visually identify the start
of the descriptor.
15 desc_tx_rx Indicates whether the descriptor is a Tx or Rx descriptor. The value should be
set to 1 indicating transmit.
14 desc_ctrl Indicates whether the descriptor is a control or status descriptor. The value
_stat should be set to 1 indicating status descriptor.
13:9 RES Reserved
8 rx_priority 0 Low priority queue
1 High priority queue
7:0 desc_length Descriptor length. Indicates the number of Dwords in this descriptor. The
value should be set to 0x9 (9 Dwords).
1 31:24 rx_rate Rx rate indication. Indicates the rate at which this frame was transmitted
from the source. Encodings match those used for the TX_RATE*' field in
word 5 of the Tx descriptor. Valid only if the FRAME_RX_OK flag is set or if
the FRAME_RX_OK flag is clear and the PHY_ERROR flag is clear.
23:16 rssi_ant02 Received signal strength indicator of control channel chain 2.
A value of 0x80 (–128) indicates an invalid number.
15:8 rssi_ant01 Received signal strength indicator of control channel chain 1.
A value of 0x80 (–128) indicates an invalid number.
7:0 rssi_ant00 Received signal strength indicator of control channel chain 0.
A value of 0x80 (–128) indicates an invalid number.
2 31:23 RES Reserved
22 hw_upload Indicates the data carried by current descriptor is that HW upload location.
_data The upload data is valid only when the field HW_UPLOAD_DATA_VALID
at RXS 4 bit [7] is set. See RXS 11 bit [26:25] HW_UPLOAD_DATA_TYPE to
know which data type is uploaded. Valid for all descriptors.
21:14 num_delim Number of zero length pad delimiters after current packet. This field does
not include the start delimiter which is required between each packet in an
aggregate. This field is only valid for aggregate packets except for the last
packet of an aggregate.
13 RES Reserved
12 more More descriptors in this frame flag. If set, then this is not the final descriptor
of the frame. If clear, then this descriptor is the final one of the frame. Valid
for all descriptors.
11:0 data_len Received data length. Specifies the length, in bytes, of the data actually
received into the data buffer associated with this descriptor. The actual
received data length will be between zero and the total size of the data buffer,
as specified originally in this field (see the description for the BUF_LEN
field). Valid for all descriptors.
Atheros Communications, Inc. AR9331 802.11n 1x1 2.4 GHz SoC for AP and Router Platforms • 43
COMPANY CONFIDENTIAL December 2010 • 43