ath9k: trigger nfcal only after multiple missed beacons in AP mode
authorFelix Fietkau <nbd@openwrt.org>
Tue, 22 Mar 2011 20:54:18 +0000 (21:54 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Mar 2011 18:15:18 +0000 (14:15 -0400)
commit87c510fe2d4f193cd4eb518364a2dfa5059b1218
tree80d7b4d11df90ddbb4554b0f09c8c9f5b5717ad5
parentdd347f2fb2ddb20a80e9a8285252bf208ab91398
ath9k: trigger nfcal only after multiple missed beacons in AP mode

Single missed (i.e. not transmitted) beacons in AP mode are not very rare
and not necessarily an indicator of strong interference, so only trigger
noise floor recalibration when multiple consecutive beacons could not
be transmitted.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/beacon.c