]> 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)
commit46fd722fb7fcf85d2a5b7797df37651be7b80b1a
treed94f7a2e14cd098d0221625f3b9c4a8264f2c2cd
parent59132a7f682c9bf7b47f8fbaa042ca1a0b95604f
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