]> git.ipfire.org Git - thirdparty/hostap.git/commit
RNR: Add elements by default for EMA AP
authorAloka Dixit <quic_alokad@quicinc.com>
Tue, 4 Apr 2023 17:58:59 +0000 (10:58 -0700)
committerJouni Malinen <j@w1.fi>
Tue, 18 Apr 2023 08:35:06 +0000 (11:35 +0300)
commit5d06acefdd4c0a4cc7bdb0f8df3c6f446f296ac6
treeea4dec2be461b7f384a08b8c7fd031a1cc227288
parent8f1d3841979f47cbe05846e132e1006c0e10034e
RNR: Add elements by default for EMA AP

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 this support by splitting the reduced neighbor report (RNR) in as
many elements as the number of multiple BSSID elements. Each RNR element
excludes the non-transmitting profiles already included in the MBSSID
element at the same index. If present, the last additional group will
have the data common for all EMA beacons such as neighbor AP information
gathered through neighbor reports.

The hwsim test case he_ap_ema demonstrates this support.

Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
src/ap/beacon.c
src/ap/ieee802_11.c
src/ap/ieee802_11.h
src/drivers/driver.h