]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: make PA linearization optional, disabled by default and fix checks
authorFelix Fietkau <nbd@openwrt.org>
Sat, 8 Sep 2012 13:24:17 +0000 (15:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Sep 2012 18:42:43 +0000 (14:42 -0400)
commit4da553e20343624d47e827b69cb5ce962cf76f17
tree696ecb42447fc358608cdedaca4317496c2061c5
parentc47e9b5e203ace1e92f094814af8d9cd583033c4
ath9k: make PA linearization optional, disabled by default and fix checks

Some checks for PA linearization support checked ATH9K_HW_CAP_PAPRD and some
used the EEPROM ops, leading to issues in tx power handling, since those
two can be out of sync.

Disable the feature by default, since it has been reported that it can
cause damage to the rx path under some circumstances. It can now be enabled
for testing via debugfs.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
drivers/net/wireless/ath/ath9k/debug.c
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/link.c