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)
commit195b9a0fd5817d6b907663bc0de3658719aea841
tree2de9f643a417f5f1026772c15d9da63ef0545591
parent3d48cb74816d8468f0235ce9a867a2d7b9832693
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