mac80211: introduce BSS color collision detection
authorDavid Bauer <mail@david-bauer.net>
Tue, 17 May 2022 22:10:43 +0000 (00:10 +0200)
committerDavid Bauer <mail@david-bauer.net>
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 <Chui-Hao.Chiu@mediatek.com>
Co-developed-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
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 <johannes.berg@intel.com>
Signed-off-by: David Bauer <mail@david-bauer.net>
package/kernel/mac80211/patches/subsys/350-bss-color-collision.patch [new file with mode: 0644]