diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-02-25 14:53:44 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2018-06-13 14:44:06 +0200 |
commit | c00e17578f727b34c41ad54c8348a49f894969c2 (patch) | |
tree | ce29773ded2e7a8a2a143da0189538d56da1c121 /tools | |
parent | c2932dd7dbb8997b7c46b49506efbd16cd3f56ca (diff) | |
download | NetworkManager-c00e17578f727b34c41ad54c8348a49f894969c2.tar.gz |
wifi: expose the LastScan property
This is the time when the last Wi-Fi scan finished. It will help clients
decide whether the AP list is fresh enough.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/test-networkmanager-service.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test-networkmanager-service.py b/tools/test-networkmanager-service.py index af8dc27534..bc3c828b35 100755 --- a/tools/test-networkmanager-service.py +++ b/tools/test-networkmanager-service.py @@ -908,6 +908,7 @@ PRP_WIFI_BITRATE = "Bitrate" PRP_WIFI_ACCESS_POINTS = "AccessPoints" PRP_WIFI_ACTIVE_ACCESS_POINT = "ActiveAccessPoint" PRP_WIFI_WIRELESS_CAPABILITIES = "WirelessCapabilities" +PRP_WIFI_LAST_SCAN = "LastScan" class WifiDevice(Device): def __init__(self, iface, mac = None, ident = None): @@ -926,6 +927,7 @@ class WifiDevice(Device): PRP_WIFI_WIRELESS_CAPABILITIES: dbus.UInt32(0xFF), PRP_WIFI_ACCESS_POINTS: ExportedObj.to_path_array(self.aps), PRP_WIFI_ACTIVE_ACCESS_POINT: ExportedObj.to_path(None), + PRP_WIFI_LAST_SCAN: dbus.Int32(0x70000000), } self.dbus_interface_add(IFACE_WIFI, props, WifiDevice.PropertiesChanged) |