3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:39:25 +01:00

station: Expose Scan, Disconnect, GetOrderedNetworks

These methods will temporarily be exposed on both interfaces until tools
such as test runner, iwctl and NetworkManager/ConnMan are ported over.
This commit is contained in:
Denis Kenzior 2018-09-05 10:45:34 -05:00
parent b650a5d492
commit 2f2ec71a6c

View File

@ -2196,6 +2196,13 @@ static void station_setup_interface(struct l_dbus_interface *interface)
l_dbus_interface_method(interface, "ConnectHiddenNetwork", 0, l_dbus_interface_method(interface, "ConnectHiddenNetwork", 0,
station_dbus_connect_hidden_network, station_dbus_connect_hidden_network,
"", "s", "name"); "", "s", "name");
l_dbus_interface_method(interface, "Disconnect", 0,
station_dbus_disconnect, "", "");
l_dbus_interface_method(interface, "GetOrderedNetworks", 0,
station_dbus_get_networks, "a(osns)", "",
"networks");
l_dbus_interface_method(interface, "Scan", 0,
station_dbus_scan, "", "");
l_dbus_interface_method(interface, "RegisterSignalLevelAgent", 0, l_dbus_interface_method(interface, "RegisterSignalLevelAgent", 0,
station_dbus_signal_agent_register, station_dbus_signal_agent_register,
"", "oan", "path", "levels"); "", "oan", "path", "levels");