OSDN Git Service

ath9k: set 4ADDRESS bit in RX filter for AR9550
authorGabor Juhos <juhosg@openwrt.org>
Tue, 3 Jul 2012 17:13:33 +0000 (19:13 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:36:34 +0000 (16:36 -0400)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/mac.h
drivers/net/wireless/ath/ath9k/recv.c

index 21c9556..0eba36d 100644 (file)
@@ -646,6 +646,7 @@ enum ath9k_rx_filter {
        ATH9K_RX_FILTER_PHYRADAR = 0x00002000,
        ATH9K_RX_FILTER_MCAST_BCAST_ALL = 0x00008000,
        ATH9K_RX_FILTER_CONTROL_WRAPPER = 0x00080000,
+       ATH9K_RX_FILTER_4ADDRESS = 0x00100000,
 };
 
 #define ATH9K_RATESERIES_RTS_CTS  0x0001
index 6a7dd26..11f3703 100644 (file)
@@ -430,6 +430,9 @@ u32 ath_calcrxfilter(struct ath_softc *sc)
                rfilt |= ATH9K_RX_FILTER_MCAST_BCAST_ALL;
        }
 
+       if (AR_SREV_9550(sc->sc_ah))
+               rfilt |= ATH9K_RX_FILTER_4ADDRESS;
+
        return rfilt;
 
 }