diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-03-01 00:36:09 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-03-04 14:05:17 -0500 |
commit | 6410db593e8c1b2b79a2f18554310d6da9415584 (patch) | |
tree | 9d36f25f767d269815509165e2b2af8cb316cf4c /drivers/net/wireless/rtl818x/rtl8187/rtl8187.h | |
parent | 1ffe4dd126bcad84f0701ca271a7f10494d0c2c8 (diff) |
rtl8187: Change rate-control feedback
The driver for the RTL8187L chips returns IEEE80211_TX_STAT_ACK for all
packets, even if the maximum number of retries was exhausted. In addition
it fails to setup max_rates in the ieee80211_hw struct, This behavior
may be responsible for the problems noted in Bug 14168. As the bug is very
old, testers have not been found, and I do not have the case where the
indicated signal is less than -70 dBm.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Acked-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Cc: Stable <stable@kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl818x/rtl8187/rtl8187.h')
-rw-r--r-- | drivers/net/wireless/rtl818x/rtl8187/rtl8187.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8187/rtl8187.h b/drivers/net/wireless/rtl818x/rtl8187/rtl8187.h index 0d7b1423f77b..f1cc90751dbf 100644 --- a/drivers/net/wireless/rtl818x/rtl8187/rtl8187.h +++ b/drivers/net/wireless/rtl818x/rtl8187/rtl8187.h | |||
@@ -35,6 +35,8 @@ | |||
35 | #define RFKILL_MASK_8187_89_97 0x2 | 35 | #define RFKILL_MASK_8187_89_97 0x2 |
36 | #define RFKILL_MASK_8198 0x4 | 36 | #define RFKILL_MASK_8198 0x4 |
37 | 37 | ||
38 | #define RETRY_COUNT 7 | ||
39 | |||
38 | struct rtl8187_rx_info { | 40 | struct rtl8187_rx_info { |
39 | struct urb *urb; | 41 | struct urb *urb; |
40 | struct ieee80211_hw *dev; | 42 | struct ieee80211_hw *dev; |