dbus: add BSS Age property to indicate last-seen time
authorDan Williams <dcbw@redhat.com>
Thu, 4 Sep 2014 18:10:54 +0000 (13:10 -0500)
committerJouni Malinen <j@w1.fi>
Sun, 7 Sep 2014 16:18:45 +0000 (19:18 +0300)
commit3bd3257a0ae1e11f6a845c6a1330ef29223e2955
treed83ed7b71642307b51651eba9bec13e6d6850464
parent5c61d214ade604d1de8a56ff854c332c7406e737
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>
wpa_supplicant/bss.c
wpa_supplicant/dbus/dbus_new.c
wpa_supplicant/dbus/dbus_new.h
wpa_supplicant/dbus/dbus_new_handlers.c
wpa_supplicant/dbus/dbus_new_handlers.h
wpa_supplicant/notify.c
wpa_supplicant/notify.h