mbox series

[0/2] RNR for EMA AP

Message ID 20221114230416.20192-1-quic_alokad@quicinc.com
Headers show
Series RNR for EMA AP | expand

Message

Aloka Dixit Nov. 14, 2022, 11:04 p.m. UTC
Prerequisite patch:
https://patchwork.kernel.org/project/linux-wireless/patch/20221114201912.22893-2-quic_alokad@quicinc.com/

As per IEEE Std 802.11ax-2021, 11.1.3.8.3 Discovery of a nontransmitted
BSSID profile, an EMA AP that transmits a Beacon frame carrying
a partial list of nontransmitted BSSID profiles should include in
the frame a Reduced Neighbor Report element carrying information for
at least the nontransmitted BSSIDs that are not present in
the Multiple BSSID element carried in that frame.

Add new attribute NL80211_ATTR_EMA_RNR_ELEMS to support the above.
Number of RNR elements must be more than or equal to the number of
MBSSID elements. This attribute can be used only when EMA is enabled.
Userspace is responsible for splitting the RNR into multiple elements
such that each element excludes the non-transmitting profiles already
included in the MBSSID element (%NL80211_ATTR_MBSSID_ELEMS) at
the same index.

MAC80211 will generate EMA beacons by adding MBSSID and RNR elements
at the same index. If the userspace provides more RNR elements than the
number of MBSSID elements then these will be added in every EMA beacon.

Aloka Dixit (2):
  cfg80211: support RNR for EMA AP
  mac80211: support RNR for EMA AP

 include/net/cfg80211.h       | 19 +++++++++++
 include/uapi/linux/nl80211.h | 13 ++++++++
 net/mac80211/cfg.c           | 63 +++++++++++++++++++++++++++++++++---
 net/mac80211/ieee80211_i.h   | 21 ++++++++++--
 net/mac80211/tx.c            | 10 ++++++
 net/wireless/nl80211.c       | 50 ++++++++++++++++++++++++++++
 6 files changed, 168 insertions(+), 8 deletions(-)


base-commit: 901c247f9687b5aecc950a931a3b0e1930d02bfd
prerequisite-patch-id: ee07532847cf9c473ca00649746ad1cf737c6bf6