ath9k: disable phy error reporting on the rx queue to improve stability under noisy...
authorFelix Fietkau <nbd@openwrt.org>
Fri, 7 Oct 2011 19:00:02 +0000 (19:00 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 7 Oct 2011 19:00:02 +0000 (19:00 +0000)
SVN-Revision: 28379

package/mac80211/patches/552-ath9k_fix_phyerror.patch [new file with mode: 0644]
package/mac80211/patches/580-ath9k_cleanup_set_interrupt.patch

diff --git a/package/mac80211/patches/552-ath9k_fix_phyerror.patch b/package/mac80211/patches/552-ath9k_fix_phyerror.patch
new file mode 100644 (file)
index 0000000..4433ca5
--- /dev/null
@@ -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)
index cdf375b4956d5f60446d82802599b882b7511db2..a93857a19d63563857274bf9662845af220c9aae 100644 (file)
  
 --- 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);