]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6327f8c0cee09f250d6eb9357814454a209623a
tree928dc9541081575789e9e1e50b3e919232e817df
parent494de5bc66c5a4169fd4379bfbd3fa4666c72acc
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