]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: rtw89: support MULTI_BSSID and correct BSSID mask of H2C
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 30 May 2022 11:27:43 +0000 (19:27 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 8 Jun 2022 08:10:13 +0000 (11:10 +0300)
commit7e1d45f9b52a1ad22a215ccce3bf1e63e0886dbe
treed94f7a2e14cd098d0221625f3b9c4a8264f2c2cd
parent8ae9939ddd2dfeb25ae5a02462cabd2fc0e563d6
wifi: rtw89: support MULTI_BSSID and correct BSSID mask of H2C

The BSSID mask of H2C is used to match BSSID of receiving packets.
Normally, we set six bits BSSID mask to exactly match BSSID of packets
sent by target AP. After we support multiple BSSID, it could connect a
nontransmitted BSSID, so we can only match first five bytes of BSSID.
That means we could possibly receive other AP's packets if only the last
byte of BSSID is different from target AP.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220530112743.106857-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/cam.c
drivers/net/wireless/realtek/rtw89/cam.h
drivers/net/wireless/realtek/rtw89/core.c