aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-21 02:22:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-21 02:22:26 +0000
commit3129b4f611e3a0f63a46595ac642dc04211fcafa (patch)
tree9b974af7467d95c35ef0d726d75b868648d53735 /package
parent0b4ffe59ee0ac1cde7a0dfa1a1b182d37d819cf1 (diff)
downloadmaster-187ad058-3129b4f611e3a0f63a46595ac642dc04211fcafa.tar.gz
master-187ad058-3129b4f611e3a0f63a46595ac642dc04211fcafa.tar.bz2
master-187ad058-3129b4f611e3a0f63a46595ac642dc04211fcafa.zip
ath9k: re-run nfcal only when stuck beacons become more frequent
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26250 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/563-ath9k_reduce_bstuck_nfcal.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/patches/563-ath9k_reduce_bstuck_nfcal.patch b/package/mac80211/patches/563-ath9k_reduce_bstuck_nfcal.patch
new file mode 100644
index 0000000000..b744c4cec8
--- /dev/null
+++ b/package/mac80211/patches/563-ath9k_reduce_bstuck_nfcal.patch
@@ -0,0 +1,12 @@
+--- a/drivers/net/wireless/ath/ath9k/beacon.c
++++ b/drivers/net/wireless/ath/ath9k/beacon.c
+@@ -368,7 +368,8 @@ void ath_beacon_tasklet(unsigned long da
+ "missed %u consecutive beacons\n",
+ sc->beacon.bmisscnt);
+ ath9k_hw_stop_dma_queue(ah, sc->beacon.beaconq);
+- ath9k_hw_bstuck_nfcal(ah);
++ if (sc->beacon.bmisscnt > 4)
++ ath9k_hw_bstuck_nfcal(ah);
+ } else if (sc->beacon.bmisscnt >= BSTUCK_THRESH) {
+ ath_dbg(common, ATH_DBG_BSTUCK,
+ "beacon is officially stuck\n");