hostap/wpa_supplicant/dbus
Matthew Wang 5ac977758d Reject authentication start during explicit roam requests
The roam D-Bus and ROAM control itnerface commands flip the reassociate
bit before calling wpa_supplicant_connect(). wpa_supplicant connect
eventually aborts ongoing scans (if any), which causes scan results to
be reported. Since the reassociate bit is set, this will trigger a
connection attempt based on the aborted scan's scan results and cancel
the initial connetion request. This often causes wpa_supplicant to
reassociate to the same AP it is currently associated to instead of the
explicitly requested roaming target.

Add a roam_in_progress flag to indicate that we're currently attempting
to roam via an explicitly request to a specific BSS so that we don't
initiate another connection attempt based on the possibly received scan
results from a scan that was in progress at the time the roam command
was received.

Signed-off-by: Matthew Wang <matthewmwang@chromium.org>
2021-03-06 10:59:05 +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 wpa_supplicant: Drop the old D-Bus interface support 2019-03-09 18:33:26 +02:00
dbus_common.c dbus: Check eloop registration failure in add_watch handler 2020-11-04 19:39:08 +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 wpa_supplicant: Fix typos 2020-10-20 00:37:01 +03:00
dbus_new.h dbus: Expose authentication status to D-Bus 2019-01-03 00:39:12 +02:00
dbus_new_handlers.c Reject authentication start during explicit roam requests 2021-03-06 10:59:05 +02:00
dbus_new_handlers.h DBus: Add "Roam" command support 2020-10-10 19:59:17 +03:00
dbus_new_handlers_p2p.c P2P: Add support for EDMG channels 2019-12-20 00:13:08 +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 D-Bus: Demote timeout/flush messages to MSG_MSGDUMP 2019-07-31 22:06:33 +03: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 D-Bus: Increase introspection buffer size 2020-05-16 21:46:24 +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 wpa_supplicant: Drop the old D-Bus interface support 2019-03-09 18:33:26 +02:00