diff options
-rw-r--r-- | data/org.freedesktop.GeoClue2.conf.in | 5 | ||||
-rw-r--r-- | src/fi.w1.wpa_supplicant1.xml | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/data/org.freedesktop.GeoClue2.conf.in b/data/org.freedesktop.GeoClue2.conf.in index 94dfaab..ca23bed 100644 --- a/data/org.freedesktop.GeoClue2.conf.in +++ b/data/org.freedesktop.GeoClue2.conf.in @@ -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"> diff --git a/src/fi.w1.wpa_supplicant1.xml b/src/fi.w1.wpa_supplicant1.xml index 7bd7313..a559c89 100644 --- a/src/fi.w1.wpa_supplicant1.xml +++ b/src/fi.w1.wpa_supplicant1.xml @@ -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"/> |