]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Add Multi-AP protocol support
authorVenkateswara Naralasetty <vnaralas@codeaurora.org>
Wed, 5 Dec 2018 10:23:51 +0000 (11:23 +0100)
committerJouni Malinen <j@w1.fi>
Wed, 19 Dec 2018 23:04:14 +0000 (01:04 +0200)
commit9c06f0f6aed26c1628acaa74df0232dd7b345e9a
tree9368fb91c5edca602508de572bdf64ded808e62a
parent3006241e434fd40be2d9bce264fc0f98905e8216
hostapd: Add Multi-AP protocol support

The purpose of Multi-AP specification is to enable inter-operability
across Wi-Fi access points (APs) from different vendors.

This patch introduces one new configuration parameter 'multi_ap' to
enable Multi-AP functionality and to configure the BSS as a backhaul
and/or fronthaul BSS.

Advertise vendor specific Multi-AP capabilities in (Re)Association
Response frame, if Multi-AP functionality is enabled through the
configuration parameter.

A backhaul AP must support receiving both 3addr and 4addr frames from a
backhaul STA, so create a VLAN for it just like is done for WDS, i.e.,
by calling hostapd_set_wds_sta(). Since Multi-AP requires WPA2 (never
WEP), we can safely call hostapd_set_wds_encryption() as well and we can
reuse the entire WDS condition.

To parse the Multi-AP Extension subelement, we use get_ie(): even though
that function is meant for parsing IEs, it works for subelements.

Signed-off-by: Venkateswara Naralasetty <vnaralas@codeaurora.org>
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/ap_config.h
src/ap/ieee802_11.c
src/ap/sta_info.c
src/ap/sta_info.h
src/common/ieee802_11_common.c
src/common/ieee802_11_common.h
src/common/ieee802_11_defs.h