OSDN Git Service

mac80211: add support for BSS color change
authorJohn Crispin <john@phrozen.org>
Fri, 2 Jul 2021 17:44:08 +0000 (19:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 17 Aug 2021 09:58:45 +0000 (11:58 +0200)
commit5f9404abdf2ac31c8f4768c39714bfcaca389e3a
treee159089cb9583d9f13733ef63e9a5cfe2dbd598e
parent0d2ab3aea50bb02ff0c9c3d53c7b2b4b21cdd59d
mac80211: add support for BSS color change

The color change announcement is very similar to how CSA works where
we have an IE that includes a counter. When the counter hits 0, the new
color is applied via an updated beacon.

This patch makes the CSA counter functionality reusable, rather than
implementing it again. This also allows for future reuse incase support
for other counter IEs gets added.

Co-developed-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: John Crispin <john@phrozen.org>
Link: https://lore.kernel.org/r/057c1e67b82bee561ea44ce6a45a8462d3da6995.1625247619.git.lorenzo@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/tx.c