Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214002
b: refs/heads/master
c: 0856d9c
h: refs/heads/master
v: v3
  • Loading branch information
Helmut Schaa authored and John W. Linville committed Aug 16, 2010
1 parent 77c921a commit 0c9f60d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 96481b20f4d6df7021867ae9a9deaa989ec32e40
refs/heads/master: 0856d9c04a1655612abd96793c1e8b1c1792457e
27 changes: 26 additions & 1 deletion trunk/drivers/net/wireless/rt2x00/rt2800.h
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,25 @@
#define TX_STA_CNT2_TX_UNDER_FLOW_COUNT FIELD32(0xffff0000)

/*
* TX_STA_FIFO: TX Result for specific PID status fifo register
* TX_STA_FIFO: TX Result for specific PID status fifo register.
*
* This register is implemented as FIFO with 16 entries in the HW. Each
* register read fetches the next tx result. If the FIFO is full because
* it wasn't read fast enough after the according interrupt (TX_FIFO_STATUS)
* triggered, the hw seems to simply drop further tx results.
*
* VALID: 1: this tx result is valid
* 0: no valid tx result -> driver should stop reading
* PID_TYPE: The PID latched from the PID field in the TXWI, can be used
* to match a frame with its tx result (even though the PID is
* only 4 bits wide).
* TX_SUCCESS: Indicates tx success (1) or failure (0)
* TX_AGGRE: Indicates if the frame was part of an aggregate (1) or not (0)
* TX_ACK_REQUIRED: Indicates if the frame needed to get ack'ed (1) or not (0)
* WCID: The wireless client ID.
* MCS: The tx rate used during the last transmission of this frame, be it
* successful or not.
* PHYMODE: The phymode used for the transmission.
*/
#define TX_STA_FIFO 0x1718
#define TX_STA_FIFO_VALID FIELD32(0x00000001)
Expand Down Expand Up @@ -1945,6 +1963,13 @@ struct mac_iveiv_entry {

/*
* Word1
* ACK: 0: No Ack needed, 1: Ack needed
* NSEQ: 0: Don't assign hw sequence number, 1: Assign hw sequence number
* BW_WIN_SIZE: BA windows size of the recipient
* WIRELESS_CLI_ID: Client ID for WCID table access
* MPDU_TOTAL_BYTE_COUNT: Length of 802.11 frame
* PACKETID: Will be latched into the TX_STA_FIFO register once the according
* frame was processed. 0: Don't report tx status for this frame.
*/
#define TXWI_W1_ACK FIELD32(0x00000001)
#define TXWI_W1_NSEQ FIELD32(0x00000002)
Expand Down

0 comments on commit 0c9f60d

Please sign in to comment.