hostapd/wpa_supplicant/dbus
Jintao Lin 4bd1efe073 dbus: Do not bring down primary interface when removing created AP interface
If the CreateInterface command was used to create a virtual AP
interface, deleting this interface using the RemoveInterface command was
also bringing down the primary interface.

wpa_supplicant never uses hostapd style multi-BSS setup with
type=WPA_IF_AP_BSS and setup_ap=1 to if_add() when creating an AP
interface in wpa_driver_nl80211_if_add(), so it should not go through
the multi-BSS tear down procedure in wpa_driver_nl80211_if_remove(). The
virtual AP resources init and deinit are well handled in
wpa_driver_nl80211_init() and wpa_driver_nl80211_deinit().

Collapse the interface type to WPA_IF_STATION for the D-Bus interface to
skip the multi-BSS cleanup procedure. This is inline with the control
interface design. Add comments before the code to avoid confusion.

Signed-off-by: Jintao Lin <jintaolin@chromium.org>
2022-12-18 11:04:18 +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: Emit more information over D-Bus 2022-12-03 10:59:44 +02:00
dbus_dict_helpers.h dbus: Emit more information over D-Bus 2022-12-03 10:59:44 +02:00
dbus_new.c dbus: Emit more information over D-Bus 2022-12-03 10:59:44 +02:00
dbus_new.h dbus: Emit more information over D-Bus 2022-12-03 10:59:44 +02:00
dbus_new_handlers.c dbus: Do not bring down primary interface when removing created AP interface 2022-12-18 11:04:18 +02:00
dbus_new_handlers.h dbus: Emit more information over D-Bus 2022-12-03 10:59:44 +02:00
dbus_new_handlers_p2p.c D-Bus: Capture group ifname before switching to global P2P instance 2021-12-11 13:17:47 +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: Emit more information over D-Bus 2022-12-03 10:59:44 +02:00
dbus_new_helpers.h dbus: Emit more information over D-Bus 2022-12-03 10:59:44 +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