ath9k_hw: tweak noise immunity thresholds for older chipsets
authorFelix Fietkau <nbd@openwrt.org>
Fri, 28 Feb 2014 18:02:25 +0000 (19:02 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 Mar 2014 20:35:55 +0000 (15:35 -0500)
commitf5547245217ed54bbb2a72c109c6756323bdb98f
tree928dc9541081575789e9e1e50b3e919232e817df
parent6241226f68ea5285674adeb846a1a4544470724e
ath9k_hw: tweak noise immunity thresholds for older chipsets

Older chipsets are more sensitive to high PHY error counts, and the
current noise immunity thresholds were based on tests run at QCA with
newer chipsets.

This patch brings back the values from the old ANI implementation for
old chipsets, and it also disables weak signal detection on an earlier
noise immunity level, to improve overall radio stability on affected
devices.

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