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 21c955609e6c7f339ea30f1c1ce38d5c254710af..0eba36dca6f8fe897dcbbdc56cd0318af46f4fba 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 6a7dd26f2a13770434a071879c9e2a172bd43f62..11f3703a420a930fce50434403a365a0562ddd2f 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;
 
 }