hostap/wpa_supplicant/dbus
Davina Lu 83ebf55865 wpa_supplicant: Support Multi-AP backhaul STA onboarding with WPS
The Wi-Fi Alliance Multi-AP Specification v1.0 allows onboarding of a
backhaul STA through WPS. To enable this, the backhaul STA needs to add
a Multi-AP IE to the WFA vendor extension element in the WSC M1 message
that indicates it supports the Multi-AP backhaul STA role. The Registrar
(if it support Multi-AP onboarding) will respond to that with a WSC M8
message that also contains the Multi-AP IE, and that contains the
credentials for the backhaul SSID (which may be different from the SSID
on which WPS is performed).

Introduce a new parameter to wpas_wps_start_pbc() and allow it to be
set via control interface's new multi_ap=1 parameter of WPS_PBC call.
multi_ap_backhaul_sta is set to 1 in the automatically created SSID.
Thus, if the AP does not support Multi-AP, association will fail and
WPS will be terminated.

Only wps_pbc is supported.

This commit adds the multi_ap argument only to the control socket
interface, not to the D-Bus interface.

Since WPS associates with the fronthaul BSS instead of the backhaul BSS,
we should not drop association if the AP announces fronthaul-only BSS.
Still, we should only do that in the specific case of WPS. Therefore,
add a check to multi_ap_process_assoc_resp() to allow association with a
fronthaul-only BSS if and only if key_mgmt contains WPS.

Signed-off-by: Davina Lu <ylu@quantenna.com>
Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Cc: Marianna Carrera <marianna.carrera.so@quantenna.com>
2019-02-18 22:35:41 +02:00
..
.gitignore dbus: Clean dbus build files on wpa_supplicant 'make clean' 2009-12-20 20:29:09 +02:00
dbus-wpa_supplicant.conf D-Bus: Don't do <deny send_interface="..." /> in dbus service file 2016-02-07 11:55:09 +02:00
dbus_common.c D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_common.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_common_i.h dbus: Expose interface globals via D-Bus properties 2015-10-28 23:41:32 +02:00
dbus_dict_helpers.c dbus: Remove unused dict helper functions 2015-11-01 00:16:57 +02:00
dbus_dict_helpers.h dbus: Remove unused dict helper functions 2015-11-01 00:16:57 +02:00
dbus_new.c dbus: Expose authentication status to D-Bus 2019-01-03 00:39:12 +02:00
dbus_new.h dbus: Expose authentication status to D-Bus 2019-01-03 00:39:12 +02:00
dbus_new_handlers.c dbus: Document more possible BSS/RSA/KeyMgmt values 2019-01-24 00:24:09 +02:00
dbus_new_handlers.h dbus: Expose authentication status to D-Bus 2019-01-03 00:39:12 +02:00
dbus_new_handlers_p2p.c D-Bus: Fix P2P DeleteService dict iteration 2019-02-04 17:13:54 +02:00
dbus_new_handlers_p2p.h dbus: Add vendor specific information element in peer properties 2019-01-02 13:00:57 +02:00
dbus_new_handlers_wps.c wpa_supplicant: Support Multi-AP backhaul STA onboarding with WPS 2019-02-18 22:35:41 +02:00
dbus_new_helpers.c dbus: Pass property description to getters/setters 2015-10-28 23:40:49 +02:00
dbus_new_helpers.h dbus: Expose interface globals via D-Bus properties 2015-10-28 23:41:32 +02:00
dbus_new_introspect.c dbus: Expose interface globals via D-Bus properties 2015-10-28 23:41:32 +02:00
dbus_old.c D-Bus: Fix operations when P2P management interface is used 2015-04-29 20:42:25 +03:00
dbus_old.h D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_old_handlers.c Move network add/remove operations to a common function 2016-08-18 20:46:18 +03:00
dbus_old_handlers.h D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_old_handlers_wps.c wpa_supplicant: Support Multi-AP backhaul STA onboarding with WPS 2019-02-18 22:35:41 +02:00
fi.epitest.hostap.WPASupplicant.service.in wpa_supplicant: Edit BINDIR in dbus and systemd service files 2011-07-15 12:25:02 +03:00
fi.w1.wpa_supplicant1.service.in wpa_supplicant: Edit BINDIR in dbus and systemd service files 2011-07-15 12:25:02 +03:00
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00