wifi: rtw88: fix RX filter in FIF_ALLMULTI flag
Ping-Ke Shih
maintainerPATCH 1/1 wifi: rtw88: fix RX filter in FIF_ALLMULTI flag
From: Chih-Kang Chang <[email protected]>
The broadcast packets will be filtered in the FIF_ALLMULTI flag in the original code, which causes beacon packets to be filtered out and disconnection. Therefore, we fix it.
Fixes e3037485c68e ("rtw88: new Realtek 802.11ac driver")
Signed-off-by Chih-Kang Chang <[email protected]>
Signed-off-by Ping-Ke Shih <[email protected]>
--- drivers/net/wireless/realtek/rtw88/mac80211.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/realtek/rtw88/mac80211.c +2 -2
@@ -280,9 +280,9 @@ static void rtw_ops_configure_filter(struct ieee80211_hw *hw,if (changed_flags &FIF_ALLMULTI ) {if (*new_flags &FIF_ALLMULTI ) - rtwdev->hal.rcr |=BIT_AM |BIT_AB ; + rtwdev->hal.rcr |=BIT_AM ;else - rtwdev->hal.rcr &= ~(BIT_AM |BIT_AB ); + rtwdev->hal.rcr &= ~(BIT_AM ); }if (changed_flags &FIF_FCSFAIL ) {if (*new_flags &FIF_FCSFAIL )
Signature · 1 line
2.25.1
Quoted 9 lines · Ping-Ke Shih
From: Chih-Kang Chang <[email protected]>
The broadcast packets will be filtered in the
FIF_ALLMULTIflag in the original code, which causes beacon packets to be filtered out and disconnection. Therefore, we fix it.Fixes e3037485c68e ("rtw88: new Realtek 802.11ac driver")Signed-off-by Chih-Kang Chang <[email protected]>Signed-off-by Ping-Ke Shih <[email protected]>
Patch applied to wireless-next.git, thanks.
53ee0b3b99ed wifi: rtw88: fix RX filter in FIF_ALLMULTI flag
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches