]> git.ipfire.org Git - thirdparty/hostap.git/commit
mbssid: Functions for building Multiple BSSID elements
authorAloka Dixit <quic_alokad@quicinc.com>
Thu, 1 Dec 2022 03:18:36 +0000 (19:18 -0800)
committerJouni Malinen <j@w1.fi>
Fri, 2 Dec 2022 17:25:40 +0000 (19:25 +0200)
commit920b56322da984e5ecb344b571e3262d333c902e
tree373f7b5eb976b0f426c30d1e2c78615c49c0dbd0
parent931e5d4f9e2ea925692ff424e86f8cd6ee9eff8c
mbssid: Functions for building Multiple BSSID elements

Add Multiple BSSID element data per IEEE Std 802.11ax-2021, 9.4.2.45.
Split the BSSes into multiple elements if the data does not fit in
the 255 bytes allowed for a single element.

Store the total count of elements created and the offset to the start
of each element in the provided buffer.

Set the DTIM periods of non-transmitted profiles equal to the EMA
profile periodicity if those are not a multiple of the latter already as
recommended in IEEE Std 802.11ax-2021, Annex AA (Multiple BSSID
configuration examples).

Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
Co-developed-by: John Crispin <john@phrozen.org>
Signed-off-by: John Crispin <john@phrozen.org>
src/ap/ieee802_11.c
src/ap/ieee802_11.h
src/common/ieee802_11_defs.h