aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-07 19:00:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-10-07 19:00:02 +0000
commita9d6a59cff2b8a4c33c04181d1f9845e1ace86fa (patch)
tree24940a63eb9adbab5fba775c3a1eab3bb0767d85
parenta3284cb0e1726c8f74bd80e5f1879d4cb0b97ed4 (diff)
downloadupstream-a9d6a59cff2b8a4c33c04181d1f9845e1ace86fa.tar.gz
upstream-a9d6a59cff2b8a4c33c04181d1f9845e1ace86fa.tar.bz2
upstream-a9d6a59cff2b8a4c33c04181d1f9845e1ace86fa.zip
ath9k: disable phy error reporting on the rx queue to improve stability under noisy conditions
SVN-Revision: 28379
-rw-r--r--package/mac80211/patches/552-ath9k_fix_phyerror.patch16
-rw-r--r--package/mac80211/patches/580-ath9k_cleanup_set_interrupt.patch2
2 files changed, 17 insertions, 1 deletions
diff --git a/package/mac80211/patches/552-ath9k_fix_phyerror.patch b/package/mac80211/patches/552-ath9k_fix_phyerror.patch
new file mode 100644
index 0000000000..4433ca502f
--- /dev/null
+++ b/package/mac80211/patches/552-ath9k_fix_phyerror.patch
@@ -0,0 +1,16 @@
+--- a/drivers/net/wireless/ath/ath9k/recv.c
++++ b/drivers/net/wireless/ath/ath9k/recv.c
+@@ -425,12 +425,9 @@ void ath_rx_cleanup(struct ath_softc *sc
+
+ u32 ath_calcrxfilter(struct ath_softc *sc)
+ {
+-#define RX_FILTER_PRESERVE (ATH9K_RX_FILTER_PHYERR | ATH9K_RX_FILTER_PHYRADAR)
+-
+ u32 rfilt;
+
+- rfilt = (ath9k_hw_getrxfilter(sc->sc_ah) & RX_FILTER_PRESERVE)
+- | ATH9K_RX_FILTER_UCAST | ATH9K_RX_FILTER_BCAST
++ rfilt = ATH9K_RX_FILTER_UCAST | ATH9K_RX_FILTER_BCAST
+ | ATH9K_RX_FILTER_MCAST;
+
+ if (sc->rx.rxfilter & FIF_PROBE_REQ)
diff --git a/package/mac80211/patches/580-ath9k_cleanup_set_interrupt.patch b/package/mac80211/patches/580-ath9k_cleanup_set_interrupt.patch
index cdf375b495..a93857a19d 100644
--- a/package/mac80211/patches/580-ath9k_cleanup_set_interrupt.patch
+++ b/package/mac80211/patches/580-ath9k_cleanup_set_interrupt.patch
@@ -110,7 +110,7 @@
--- a/drivers/net/wireless/ath/ath9k/recv.c
+++ b/drivers/net/wireless/ath/ath9k/recv.c
-@@ -1977,7 +1977,7 @@ requeue:
+@@ -1974,7 +1974,7 @@ requeue:
if (!(ah->imask & ATH9K_INT_RXEOL)) {
ah->imask |= (ATH9K_INT_RXEOL | ATH9K_INT_RXORN);