Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135103
b: refs/heads/master
c: b93bce2
h: refs/heads/master
i:
  135101: e5d9803
  135099: cf14dac
  135095: 3579ab2
  135087: abd46f9
  135071: 2772d75
  135039: a1faa89
v: v3
  • Loading branch information
Jouni Malinen authored and John W. Linville committed Mar 5, 2009
1 parent df052ad commit ec842c8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c52f33d05e5f8d59f02722fbc308f5f391575ca5
refs/heads/master: b93bce2a5e8fd5c9f5d8c982efd6bca71a9b83f3
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/ath9k/mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ enum ath9k_rx_filter {
ATH9K_RX_FILTER_MYBEACON = 0x00000200,
ATH9K_RX_FILTER_PSPOLL = 0x00004000,
ATH9K_RX_FILTER_PHYRADAR = 0x00002000,
ATH9K_RX_FILTER_MCAST_BCAST_ALL = 0x00008000,
};

#define ATH9K_RATESERIES_RTS_CTS 0x0001
Expand Down
8 changes: 8 additions & 0 deletions trunk/drivers/net/wireless/ath9k/recv.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,14 @@ u32 ath_calcrxfilter(struct ath_softc *sc)
if (sc->sc_ah->opmode == NL80211_IFTYPE_AP)
rfilt |= ATH9K_RX_FILTER_PSPOLL;

if (sc->sec_wiphy) {
/* TODO: only needed if more than one BSSID is in use in
* station/adhoc mode */
/* TODO: for older chips, may need to add ATH9K_RX_FILTER_PROM
*/
rfilt |= ATH9K_RX_FILTER_MCAST_BCAST_ALL;
}

return rfilt;

#undef RX_FILTER_PRESERVE
Expand Down

0 comments on commit ec842c8

Please sign in to comment.