mac80211: MBSSID support in interface handling
authorJohn Crispin <john@phrozen.org>
Thu, 16 Sep 2021 02:54:35 +0000 (19:54 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 28 Sep 2021 12:22:18 +0000 (14:22 +0200)
commit171964252189d8ad5672c730f2197aa73092db6e
treeb06d2cbb796342d95a5c521b83b58e615e505cde
parentdc1e3cb8da8b414b37208b2fb6755fef8122504b
mac80211: MBSSID support in interface handling

Configure multiple BSSID and enhanced multi-BSSID advertisement (EMA)
parameters in mac80211 for AP mode.

For each interface, 'mbssid_tx_vif' points to the transmitting interface of
the MBSSID set. The pointer is set to NULL if MBSSID is disabled.

Function ieee80211_stop() is modified to always bring down all the
non-transmitting interfaces first and the transmitting interface last.

Signed-off-by: John Crispin <john@phrozen.org>
Co-developed-by: Aloka Dixit <alokad@codeaurora.org>
Signed-off-by: Aloka Dixit <alokad@codeaurora.org>
Link: https://lore.kernel.org/r/20210916025437.29138-3-alokad@codeaurora.org
[slightly change logic to be more obvious]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/iface.c