ath9k: Set RX filter based to allow broadcast Action frame RX
Advertise support for multicast frame registration and update the RX filter based on the recently added FIF_MCAST_ACTION to allow broadcast Action frames to be received. This is needed for Device Provisioning Protocol (DPP) use cases that use broadcast Public Action frames. Signed-off-by: Jouni Malinen <jouni@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200426084733.7889-1-jouni@codeaurora.org
This commit is contained in:

committed by
Kalle Valo

parent
b1cb6ad735
commit
c01c320d24
@@ -413,7 +413,8 @@ u32 ath_calcrxfilter(struct ath_softc *sc)
|
||||
if (sc->cur_chandef.width != NL80211_CHAN_WIDTH_20_NOHT)
|
||||
rfilt |= ATH9K_RX_FILTER_COMP_BAR;
|
||||
|
||||
if (sc->cur_chan->nvifs > 1 || (sc->cur_chan->rxfilter & FIF_OTHER_BSS)) {
|
||||
if (sc->cur_chan->nvifs > 1 ||
|
||||
(sc->cur_chan->rxfilter & (FIF_OTHER_BSS | FIF_MCAST_ACTION))) {
|
||||
/* This is needed for older chips */
|
||||
if (sc->sc_ah->hw_version.macVersion <= AR_SREV_VERSION_9160)
|
||||
rfilt |= ATH9K_RX_FILTER_PROM;
|
||||
|
Reference in New Issue
Block a user