]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: introduce BSS color collision detection
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 25 Mar 2022 10:42:41 +0000 (11:42 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Apr 2022 13:24:15 +0000 (15:24 +0200)
commit65a7afb7ab5f4692781e4f2a34c246de9cd0b0fe
tree1e012ab0f0c33c62ce8b76a5e7f7799cf3cd33d3
parentf593a68cffc7094fc4fdfdc5f4b2f653c1acb725
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>
drivers/net/wireless/ath/ath11k/mac.c
include/net/mac80211.h
net/mac80211/debugfs.c
net/mac80211/rx.c