mac80211: introduce BSS color collision detection
authorDavid Bauer <[email protected]>
Tue, 17 May 2022 22:10:43 +0000 (00:10 +0200)
committerDavid Bauer <[email protected]>
Sat, 28 May 2022 22:00:30 +0000 (00:00 +0200)
commit7191d64d5d3592b225972c8fe6a12419a64e4be6
tree487ff38d9f6e96440eebc66e3cccc32cf9cc5f0f
parentfb1ba922026a4b7d04ef5c8058f7890ed7b790e6
mac80211: introduce BSS color collision detection

Add ieee80211_rx_check_bss_color_collision routine in order to introduce
BSS color collision detection in mac80211 if it is not supported in HW/FW
(e.g. for mt7915 chipset).
Add IEEE80211_HW_DETECTS_COLOR_COLLISION flag to let the driver notify
BSS color collision detection is supported in HW/FW. Set this for ath11k
which apparently didn't need this code.

Tested-by: Peter Chiu <[email protected]>
Co-developed-by: Ryder Lee <[email protected]>
Signed-off-by: Ryder Lee <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: https://lore.kernel.org/r/a05eeeb1841a84560dc5aaec77894fcb69a54f27.1648204871.git.lorenzo@kernel.org
[clarify commit message a bit, move flag to mac80211]
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: David Bauer <[email protected]>
package/kernel/mac80211/patches/subsys/350-bss-color-collision.patch [new file with mode: 0644]