]> 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)
commitde63fcbcfa338c0919e83001b8ab55b69ddc9682
tree1f488968d5b09d0e4dc21a922bf3d9739a0eff14
parentebdca9efa0cb702c0aa18f46aca4f3e77a3ca4d1
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