diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00queue.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index c3493ed7f4c3..f361f784965e 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h | |||
@@ -168,18 +168,34 @@ struct rxdone_entry_desc { | |||
168 | }; | 168 | }; |
169 | 169 | ||
170 | /** | 170 | /** |
171 | * enum txdone_entry_desc_flags: Flags for &struct txdone_entry_desc | ||
172 | * | ||
173 | * @TXDONE_UNKNOWN: Hardware could not determine success of transmission. | ||
174 | * @TXDONE_SUCCESS: Frame was successfully send | ||
175 | * @TXDONE_FAILURE: Frame was not successfully send | ||
176 | * @TXDONE_EXCESSIVE_RETRY: In addition to &TXDONE_FAILURE, the | ||
177 | * frame transmission failed due to excessive retries. | ||
178 | */ | ||
179 | enum txdone_entry_desc_flags { | ||
180 | TXDONE_UNKNOWN = 1 << 0, | ||
181 | TXDONE_SUCCESS = 1 << 1, | ||
182 | TXDONE_FAILURE = 1 << 2, | ||
183 | TXDONE_EXCESSIVE_RETRY = 1 << 3, | ||
184 | }; | ||
185 | |||
186 | /** | ||
171 | * struct txdone_entry_desc: TX done entry descriptor | 187 | * struct txdone_entry_desc: TX done entry descriptor |
172 | * | 188 | * |
173 | * Summary of information that has been read from the TX frame descriptor | 189 | * Summary of information that has been read from the TX frame descriptor |
174 | * after the device is done with transmission. | 190 | * after the device is done with transmission. |
175 | * | 191 | * |
176 | * @control: Control structure which was used to transmit the frame. | 192 | * @control: Control structure which was used to transmit the frame. |
177 | * @status: TX status (See &enum tx_status). | 193 | * @flags: TX done flags (See &enum txdone_entry_desc_flags). |
178 | * @retry: Retry count. | 194 | * @retry: Retry count. |
179 | */ | 195 | */ |
180 | struct txdone_entry_desc { | 196 | struct txdone_entry_desc { |
181 | struct ieee80211_tx_control *control; | 197 | struct ieee80211_tx_control *control; |
182 | int status; | 198 | unsigned long flags; |
183 | int retry; | 199 | int retry; |
184 | }; | 200 | }; |
185 | 201 | ||