]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: disable BSS color collision detection in case of no free colors
authorLavanya Suresh <lavaks@codeaurora.org>
Wed, 13 Apr 2022 16:28:15 +0000 (21:58 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 May 2022 07:46:30 +0000 (09:46 +0200)
commitb7858077c10c66416b86c09985ac17e2a611dd6c
tree2de9f643a417f5f1026772c15d9da63ef0545591
parentd141a21e0c85ee4aeb0971cb72fb9fe833d0263f
mac80211: disable BSS color collision detection in case of no free colors

AP may run out of BSS color after color collision
detection event from driver.

Disable BSS color collision detection if no free colors are
available based on bss color disabled bit sent as a part of
NL80211_ATTR_HE_BSS_COLOR attribute sent in
NL80211_CMD_SET_BEACON.

It can be reenabled once new color is available.

Signed-off-by: Lavanya Suresh <lavaks@codeaurora.org>
Signed-off-by: Rameshkumar Sundaram <quic_ramess@quicinc.com>
Link: https://lore.kernel.org/r/1649867295-7204-3-git-send-email-quic_ramess@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c