summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/510-ath9k_htc_remove_ani_nf.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-29 15:16:13 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-29 15:16:13 +0000
commit3d7914783f4a8b271728b361abcab1c5c7d45da4 (patch)
tree92de65b9d370c43d1e6bae4a12b49b914b91ce3a /package/mac80211/patches/510-ath9k_htc_remove_ani_nf.patch
parent7ed7ed4ffae5b0210b9c488817c9d35455c9c097 (diff)
ath9k: fetch survey data for all channels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23154 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/510-ath9k_htc_remove_ani_nf.patch')
-rw-r--r--package/mac80211/patches/510-ath9k_htc_remove_ani_nf.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/mac80211/patches/510-ath9k_htc_remove_ani_nf.patch b/package/mac80211/patches/510-ath9k_htc_remove_ani_nf.patch
new file mode 100644
index 000000000..4ef621853
--- /dev/null
+++ b/package/mac80211/patches/510-ath9k_htc_remove_ani_nf.patch
@@ -0,0 +1,27 @@
+--- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c
++++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
+@@ -760,23 +760,12 @@ void ath9k_ani_work(struct work_struct *
+ ath9k_hw_ani_monitor(ah, ah->curchan);
+
+ /* Perform calibration if necessary */
+- if (longcal || shortcal) {
++ if (longcal || shortcal)
+ common->ani.caldone =
+ ath9k_hw_calibrate(ah, ah->curchan,
+ common->rx_chainmask,
+ longcal);
+
+- if (longcal)
+- common->ani.noise_floor =
+- ath9k_hw_getchan_noise(ah, ah->curchan);
+-
+- ath_print(common, ATH_DBG_ANI,
+- " calibrate chan %u/%x nf: %d\n",
+- ah->curchan->channel,
+- ah->curchan->channelFlags,
+- common->ani.noise_floor);
+- }
+-
+ ath9k_htc_ps_restore(priv);
+ }
+