wpa_supplicant: Add Multi-AP backhaul STA support

Advertise vendor specific Multi-AP IE in (Re)Association Request frames
and process Multi-AP IE from (Re)Association Response frames if the user
enables Multi-AP fuctionality. If the (Re)Association Response frame
does not contain the Multi-AP IE, disassociate.

This adds a new configuration parameter 'multi_ap_backhaul_sta' to
enable/disable Multi-AP functionality.

Enable 4-address mode after association (if the Association Response
frame contains the Multi-AP IE). Also enable the bridge in that case.
This is necessary because wpa_supplicant only enables the bridge in
wpa_drv_if_add(), which only gets called when an interface is added
through the control interface, not when it is configured from the
command line.

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>
This commit is contained in:
Venkateswara Naralasetty 2018-12-05 11:23:53 +01:00 committed by Jouni Malinen
parent 9c06f0f6ae
commit 5abc7823bd
10 changed files with 161 additions and 0 deletions

View file

@ -948,6 +948,13 @@ struct wpa_ssid {
* the selection attempts for OWE BSS exceed the configured threshold.
*/
int owe_transition_bss_select_count;
/**
* multi_ap_backhaul_sta - Multi-AP backhaul STA
* 0 = normal (non-Multi-AP) station
* 1 = Multi-AP backhaul station
*/
int multi_ap_backhaul_sta;
};
#endif /* CONFIG_SSID_H */