Commit f871ce1d authored by Zeeshan Ali's avatar Zeeshan Ali

wpa_supplicant: Add Scanning API

We'll need this in a following patch to start WiFi scan to be able to get
the most accurate location.

Related: #91
parent 97969289
......@@ -26,6 +26,11 @@
<allow send_destination="fi.w1.wpa_supplicant1"
send_interface="org.freedesktop.DBus.Introspectable"/>
<allow send_destination="fi.w1.wpa_supplicant1"
send_interface="fi.w1.wpa_supplicant1.Interface"
send_type="method_call"
send_member="Scan"/>
</policy>
<policy user="root">
......
......@@ -16,6 +16,9 @@
</interface>
<interface name="fi.w1.wpa_supplicant1.Interface">
<method name="Scan">
<arg name="args" type="a{sv}" direction="in"/>
</method>
<signal name="BSSAdded">
<arg name="path" type="o"/>
<arg name="properties" type="a{sv}"/>
......@@ -23,6 +26,9 @@
<signal name="BSSRemoved">
<arg name="path" type="o"/>
</signal>
<signal name="ScanDone">
<arg name="success" type="b"/>
</signal>
<property name="State" type="s" access="read"/>
<property name="Ifname" type="s" access="read"/>
<property name="BSSs" type="ao" access="read"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment