diff options
author | Benoit PAPILLAULT <benoit.papillault@free.fr> | 2009-08-17 12:56:10 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-20 11:36:02 -0400 |
commit | 92ed48e5230e8f5906dda0cc31715b3b7e3fe303 (patch) | |
tree | c7ae7801a11093fc57d5b603e9a78bc6c4979e27 /drivers/net/wireless/rt2x00/rt2x00queue.h | |
parent | cd80b684a08655e7dcc7a1c96d4b7e7ffa753017 (diff) |
rt2x00: Add support for retry rates
rt2800pci can handle different retry rates,
it will always step 1 rate down after a failed
transmission so creating the retry rate list
for mac80211 is quite simple.
Signed-off-by: Benoit PAPILLAULT <benoit.papillault@free.fr>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00queue.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index 47d175a13790..a5591fb2b191 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h | |||
@@ -214,6 +214,7 @@ struct rxdone_entry_desc { | |||
214 | * | 214 | * |
215 | * @TXDONE_UNKNOWN: Hardware could not determine success of transmission. | 215 | * @TXDONE_UNKNOWN: Hardware could not determine success of transmission. |
216 | * @TXDONE_SUCCESS: Frame was successfully send | 216 | * @TXDONE_SUCCESS: Frame was successfully send |
217 | * @TXDONE_FALLBACK: Frame was successfully send using a fallback rate. | ||
217 | * @TXDONE_FAILURE: Frame was not successfully send | 218 | * @TXDONE_FAILURE: Frame was not successfully send |
218 | * @TXDONE_EXCESSIVE_RETRY: In addition to &TXDONE_FAILURE, the | 219 | * @TXDONE_EXCESSIVE_RETRY: In addition to &TXDONE_FAILURE, the |
219 | * frame transmission failed due to excessive retries. | 220 | * frame transmission failed due to excessive retries. |
@@ -221,6 +222,7 @@ struct rxdone_entry_desc { | |||
221 | enum txdone_entry_desc_flags { | 222 | enum txdone_entry_desc_flags { |
222 | TXDONE_UNKNOWN, | 223 | TXDONE_UNKNOWN, |
223 | TXDONE_SUCCESS, | 224 | TXDONE_SUCCESS, |
225 | TXDONE_FALLBACK, | ||
224 | TXDONE_FAILURE, | 226 | TXDONE_FAILURE, |
225 | TXDONE_EXCESSIVE_RETRY, | 227 | TXDONE_EXCESSIVE_RETRY, |
226 | }; | 228 | }; |