diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-02-28 23:36:09 -0600 |
---|---|---|
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) | |
download | op-kernel-dev-6410db593e8c1b2b79a2f18554310d6da9415584.zip op-kernel-dev-6410db593e8c1b2b79a2f18554310d6da9415584.tar.gz |
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 0d7b142..f1cc907 100644 --- a/drivers/net/wireless/rtl818x/rtl8187/rtl8187.h +++ b/drivers/net/wireless/rtl818x/rtl8187/rtl8187.h @@ -35,6 +35,8 @@ #define RFKILL_MASK_8187_89_97 0x2 #define RFKILL_MASK_8198 0x4 +#define RETRY_COUNT 7 + struct rtl8187_rx_info { struct urb *urb; struct ieee80211_hw *dev; |