mac80211: MBSSID beacon handling in AP mode
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 24 Feb 2022 11:54:58 +0000 (12:54 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 15 Mar 2022 10:36:26 +0000 (11:36 +0100)
commit2b3171c6fe0af24b5506e061525e08917a2f744a
tree15bd4084c7bed6a88f6f90f99af2ca132a8758ac
parent3fa5a0f5b0d69e31c6476cd81afeca3cc25a4927
mac80211: MBSSID beacon handling in AP mode

Add new fields in struct beacon_data to store all MBSSID elements.
Generate a beacon template which includes all MBSSID elements.
Move CSA offset to reflect the MBSSID element length.

Co-developed-by: Aloka Dixit <alokad@codeaurora.org>
Signed-off-by: Aloka Dixit <alokad@codeaurora.org>
Co-developed-by: John Crispin <john@phrozen.org>
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Tested-by: Money Wang <money.wang@mediatek.com>
Link: https://lore.kernel.org/r/5322db3c303f431adaf191ab31c45e151dde5465.1645702516.git.lorenzo@kernel.org
[small cleanups]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/tx.c