diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-07 19:00:02 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-07 19:00:02 +0000 |
commit | 99b500e98937b94f58352a0d3e4bd9c2ae36fca0 (patch) | |
tree | e5a5941342019439137996c93b3b800a02a6f0ec /package/mac80211/patches/552-ath9k_fix_phyerror.patch | |
parent | b2f955be96b993429ac45810801cb76d79bd9828 (diff) | |
download | master-187ad058-99b500e98937b94f58352a0d3e4bd9c2ae36fca0.tar.gz master-187ad058-99b500e98937b94f58352a0d3e4bd9c2ae36fca0.tar.bz2 master-187ad058-99b500e98937b94f58352a0d3e4bd9c2ae36fca0.zip |
ath9k: disable phy error reporting on the rx queue to improve stability under noisy conditions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28379 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/552-ath9k_fix_phyerror.patch')
-rw-r--r-- | package/mac80211/patches/552-ath9k_fix_phyerror.patch | 16 |
1 files changed, 16 insertions, 0 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) |