]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: fix wrong max power per rate eeprom reads for 802.11a
authorThomas Huehn <thomas@net.t-labs.tu-berlin.de>
Wed, 15 Aug 2012 20:48:35 +0000 (22:48 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Aug 2012 18:58:20 +0000 (14:58 -0400)
commit333d7be61d2f8687e859b01c67acaae1d5543b56
tree1f488968d5b09d0e4dc21a922bf3d9739a0eff14
parent1e9f2effa3c6ce13d09c3f31360a5edf4bc8b853
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>
drivers/net/wireless/ath/ath5k/eeprom.c
drivers/net/wireless/ath/ath5k/eeprom.h