]> 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)
commita4c4f32be2d11c6fce8108b6836636611351c9ab
tree2de9f643a417f5f1026772c15d9da63ef0545591
parenta91f6a59f785f60263055d18ad69aec79ec25dd1
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