1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-28 18:17:43 +02:00

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
This commit is contained in:
nbd 2011-10-07 19:00:02 +00:00
parent 2be3359d6a
commit 14808c9174
2 changed files with 17 additions and 1 deletions

View File

@ -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)

View File

@ -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);