]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: MBSSID and EMA support in AP mode
authorJohn Crispin <john@phrozen.org>
Thu, 16 Sep 2021 02:54:34 +0000 (19:54 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 27 Sep 2021 13:33:03 +0000 (15:33 +0200)
commit17aa56c89b32866f477e4e666f72270cfaf63664
tree9dbfa9ed546e3a0bc72f906466b22450cdc22317
parent147137817fbfeb5b03be1f2472c8d6ecf8d5839f
nl80211: MBSSID and EMA support in AP mode

Add new attributes to configure support for multiple BSSID
and advanced multi-BSSID advertisements (EMA) in AP mode.

- NL80211_ATTR_MBSSID_CONFIG used for per interface configuration.
- NL80211_ATTR_MBSSID_ELEMS used to MBSSID elements for beacons.

Memory for the elements is allocated dynamically. This change frees
the memory in existing functions which call nl80211_parse_beacon(),
a comment is added to indicate the new references to do the same.

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-2-alokad@codeaurora.org
[don't leave ERR_PTR hanging around]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c