diff options
author | Thomas Huehn <thomas@net.t-labs.tu-berlin.de> | 2012-08-16 00:48:35 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-08-21 22:58:20 +0400 |
commit | 3a245cbef6a9e4398456bd733b0b4b7cb3f11994 (patch) | |
tree | 1f488968d5b09d0e4dc21a922bf3d9739a0eff14 /drivers/net/wireless/ath/ath5k/eeprom.h | |
parent | 7dd6753f6d2e7e0ccbf2263cef3a9fff6bc89988 (diff) | |
download | linux-3a245cbef6a9e4398456bd733b0b4b7cb3f11994.tar.xz |
ath5k: fix wrong max power per rate eeprom reads for 802.11a
This patch reduces the per rate target power eeprom reads for
AR5K_EEPROM_MODE_11A from 10 to 8, as there are only 8 valid
power curve entries on the eeprom. The former 10 reads lead to
equal max power limits per rate and this causes an increasing
distortion for all rates above 24 MBit and leads to a needless
poor performance in 802.11a mode.
Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/eeprom.h')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/eeprom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/eeprom.h b/drivers/net/wireless/ath/ath5k/eeprom.h index dc2bcfeadeb4..94a9bbea6874 100644 --- a/drivers/net/wireless/ath/ath5k/eeprom.h +++ b/drivers/net/wireless/ath/ath5k/eeprom.h @@ -182,6 +182,7 @@ #define AR5K_EEPROM_EEP_DELTA 10 #define AR5K_EEPROM_N_MODES 3 #define AR5K_EEPROM_N_5GHZ_CHAN 10 +#define AR5K_EEPROM_N_5GHZ_RATE_CHAN 8 #define AR5K_EEPROM_N_2GHZ_CHAN 3 #define AR5K_EEPROM_N_2GHZ_CHAN_2413 4 #define AR5K_EEPROM_N_2GHZ_CHAN_MAX 4 |