]> rtime.felk.cvut.cz Git - linux-imx.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)
commit3a245cbef6a9e4398456bd733b0b4b7cb3f11994
tree1f488968d5b09d0e4dc21a922bf3d9739a0eff14
parent7dd6753f6d2e7e0ccbf2263cef3a9fff6bc89988
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