TX5
mgmt ring
TX0
TX4
TX ring
TX_BASE_PTR_n TXn RTMP_TX_RING RTMP_MGMT_RING Cell[0].AllocPa ring buffer buffer
TX_CTX_IDX_n TXn RTMP_TX_RING RTMP_MGMT_RING TxCpuIdx driver ring buffer WIFI driver
TX_DTX_IDX_n TXn RTMP_TX_RING RTMP_MGMT_RING TxDmaIdx ring buffer
TX_MAX_CNT_n TXn RTMP_TX_RING RTMP_MGMT_RING TX_RING_SIZE ring buffer
typedef struct _RTMP_TX_RING {
RTMP_DMACB Cell[TX_RING_SIZE];
UINT32 TxCpuIdx;
UINT32 TxDmaIdx;
UINT32 TxSwFreeIdx; /* software next free tx index */
} RTMP_TX_RING, *PRTMP_TX_RING;
TX_BASE_PTR_n TX_MAX_CNT_n interface up TX_CTX_IDX_n TX_DTX_IDX_n ring
buffer
RTMP_TX_RING driver ring buffer driver ring buffer TxCpuIdx TX_CTX_IDX_n
ring buffer TxDmaIdx TX_DTX_IDX_n
driver
MT7620 PROGRAMMING GUIDE
Tx/Rx Descriptors and Wireless Information
Tx Descriptors and Frame Information
To transmit a frame, the driver needs to prepare the Tx frame information for hardware. The Tx frame information contains the
transmission control, the header, and the payload. The transmission control information (TXWI) is used by the MAC and BBP and
is applied to the associated Tx frame on transmission. The header and payload is the content of an 802.11 packet.
The Tx information may be divided into several segments. The Tx descriptor (TXD) specifies the location and length of the Tx
frame information segments. Tx frame information may be linked by use of several TXD. These TXD are arranged in a TXD ring in
serial.
The diagram below illustrates the relationship between TXD and Tx frame information.
评论9
最新资源