aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_new.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-09-04 18:10:54 (GMT)
committerJouni Malinen <j@w1.fi>2014-09-07 16:18:45 (GMT)
commit3bd3257a0ae1e11f6a845c6a1330ef29223e2955 (patch)
treed83ed7b71642307b51651eba9bec13e6d6850464 /wpa_supplicant/dbus/dbus_new.h
parent5c61d214ade604d1de8a56ff854c332c7406e737 (diff)
downloadhostap-3bd3257a0ae1e11f6a845c6a1330ef29223e2955.zip
hostap-3bd3257a0ae1e11f6a845c6a1330ef29223e2955.tar.gz
hostap-3bd3257a0ae1e11f6a845c6a1330ef29223e2955.tar.bz2
dbus: add BSS Age property to indicate last-seen time
"Age" is the age in seconds since the BSS was last seen, and is emitted as a PropertyChanged signal whenever the BSS is updated from a scan result. It also returns the correct age when queried directly. This property can be used to resolve issues where, if no other properties of the BSS changed from scan results (for example, if the BSS always had 100% signal) no D-Bus signals would be emitted to indicate that the BSS had just been seen in the scan. Signed-hostap: Dan Williams <dcbw@redhat.com>
Diffstat (limited to 'wpa_supplicant/dbus/dbus_new.h')
-rw-r--r--wpa_supplicant/dbus/dbus_new.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/dbus/dbus_new.h b/wpa_supplicant/dbus/dbus_new.h
index 881d351..5f32bbf 100644
--- a/wpa_supplicant/dbus/dbus_new.h
+++ b/wpa_supplicant/dbus/dbus_new.h
@@ -41,6 +41,7 @@ enum wpas_dbus_bss_prop {
WPAS_DBUS_BSS_PROP_RSN,
WPAS_DBUS_BSS_PROP_WPS,
WPAS_DBUS_BSS_PROP_IES,
+ WPAS_DBUS_BSS_PROP_AGE,
};
#define WPAS_DBUS_OBJECT_PATH_MAX 150