Skip to content
Commit dc1e3cb8 authored by John Crispin's avatar John Crispin Committed by Johannes Berg
Browse files

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: default avatarJohn Crispin <john@phrozen.org>
Co-developed-by: default avatarAloka Dixit <alokad@codeaurora.org>
Signed-off-by: default avatarAloka 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: default avatarJohannes Berg <johannes.berg@intel.com>
parent 05075fe7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment