]> 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)
commit091300b2945d549be71ac12f20e9098feb93ae50
tree696ecb42447fc358608cdedaca4317496c2061c5
parentf38b0ad9dfeb4e29da65af00bb5b1679db2f148d
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