ath9k_hw: reduce ANI spur immunity setting on HT40 extension channel
authorFelix Fietkau <nbd@openwrt.org>
Mon, 29 Sep 2014 18:45:41 +0000 (20:45 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Sep 2014 17:17:47 +0000 (13:17 -0400)
commitb874ec8d57ba61cb56c97a7b7810828da8ec8e95
tree30c28968fd00ad7694531fc3f2f45964259b5433
parent171cdab8c78bb169d9693d587e1d02d2dd5a0274
ath9k_hw: reduce ANI spur immunity setting on HT40 extension channel

The cycpwr_thr1 value needs to be lower on the extension channel than on
the control channel, similar to how the register settings are programmed
in the initvals.

Also drop the unnecessary check for HT40 - this register can always be
written. This patch has been reported to improve HT40 stability and
throughput in some environments.

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