From 069cb5c3a525ebcc19cc2927964258acaca87b13 Mon Sep 17 00:00:00 2001
From: Michael Biebl
+
+gint64
+
+
+nm_device_wifi_get_last_scan ()
+
+
+
gboolean
@@ -180,6 +188,11 @@
Read
+
+gint64
+last-scan
+Read
+
NM80211Mode
mode
Read
@@ -257,6 +270,10 @@
NM_DEVICE_WIFI_ACCESS_POINTS
+
+#define
+NM_DEVICE_WIFI_LAST_SCAN
+
@@ -509,6 +526,36 @@ The returned array is owned by the client and should not be modified.
NMDeviceWifi
gint64
+nm_device_wifi_get_last_scan (NMDeviceWifi *device);
+Returns the timestamp (in CLOCK_BOOTTIME milliseconds) for the last finished +network scan. A value of -1 means the device never scanned for access points.
+Use nm_utils_get_timestamp_msec() to obtain current time value suitable for
+comparing to this value.
Since: 1.12
+gboolean
nm_device_wifi_request_scan (NMDeviceWifi *device,
@@ -806,6 +853,12 @@ set.
“last-scan” property“last-scan” gint64+
The timestamp (in CLOCK_BOOTTIME seconds) for the last finished +network scan. A value of -1 means the device never scanned for +access points.
+Flags: Read
+Allowed values: >= -1
+Default value: -1
+Since: 1.12
+