]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: toggle weak signal detection in AP mode on older chipsets
authorFelix Fietkau <nbd@openwrt.org>
Fri, 28 Feb 2014 18:02:24 +0000 (19:02 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 Mar 2014 20:35:55 +0000 (15:35 -0500)
commit6634a9da42529faaedb3f555ea117a29eb34fc22
tree005cac43cf6b5ddb01f80ca0782bc5a43bd52a76
parentdc242ab26f5bca35ff2b8bb4a6fbc6c3e8b3c226
ath9k_hw: toggle weak signal detection in AP mode on older chipsets

The commit 4b61d069 "ath9k: Fix OFDM weak signal detection for AP mode"
prevented weak signal detection changes from taking effect in AP mode on
all chipsets, claiming it is "not allowed".

The main reason for not disabling weak signal detection in AP mode is
that typically beacon RSSI is used to track whether it is needed to
boost range, and this is unavailable in AP mode for obvious reasons.

The problem with not disabling weak signal detection is that older
chipsets are very sensitive to high PHY error counts. When faced with
heavy noise, this can lead to an excessive amount of "Failed to stop
TX DMA" errors in the field.

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