]> git.ipfire.org Git - thirdparty/hostap.git/commit
dbus: Add virtual interface create/remove logic to be inline with ctrl_iface
authorJintao Lin <jintaolin@chromium.org>
Mon, 7 Nov 2022 19:25:26 +0000 (19:25 +0000)
committerJouni Malinen <j@w1.fi>
Fri, 25 Nov 2022 16:57:51 +0000 (18:57 +0200)
commit0ba266d86c903e398bf93ff74de7c071b50c93d5
treed69bdd69015fd315fd6d9f18488653ece163be04
parent5102d7411f0115f35558c2d836e26303eb2d205b
dbus: Add virtual interface create/remove logic to be inline with ctrl_iface

There is no way to create or remove a virtual interface with
wpa_supplicant dbus methods. The platform has to use out-of-band methods
to manage the virtual interfaces.

This change adds virtual interface create/remove logic to the dbus
methods CreateInterface and RemoveInterface to achieve similar
functionalities as wpa_cli commands interface_add and interface_remove.

Signed-off-by: Jintao Lin <jintaolin@chromium.org>
doc/dbus.doxygen
wpa_supplicant/dbus/dbus_new_handlers.c
wpa_supplicant/wpa_supplicant_i.h