aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.h
diff options
context:
space:
mode:
authorMatthew Wang <matthewmwang@chromium.org>2018-06-20 23:42:45 (GMT)
committerJouni Malinen <j@w1.fi>2019-01-02 22:20:34 (GMT)
commit2bbad1c7c9cbedf16eea122c9376e65691213108 (patch)
tree93b981087042ab49958d5899868a94bc0edd6d82 /wpa_supplicant/notify.h
parentfef133e99cfdf7f55d5ef42cf733c8a05eaacb3d (diff)
downloadhostap-2bbad1c7c9cbedf16eea122c9376e65691213108.zip
hostap-2bbad1c7c9cbedf16eea122c9376e65691213108.tar.gz
hostap-2bbad1c7c9cbedf16eea122c9376e65691213108.tar.bz2
dbus: Export roam time, roam complete, and session length
Add new Interface properties "RoamTime", "RoamComplete", and "SessionLength". "RoamTime" carries the roam time of the most recent roam in milliseconds. "RoamComplete" carries True or False corresponding to the success status of the most recent roam. "SessionLength" carries the number of milliseconds corresponding to how long the connection to the last AP was before a roam or disconnect happened. Signed-off-by: Matthew Wang <matthewmwang@chromium.org>
Diffstat (limited to 'wpa_supplicant/notify.h')
-rw-r--r--wpa_supplicant/notify.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/notify.h b/wpa_supplicant/notify.h
index 3ca933c..bde20e8 100644
--- a/wpa_supplicant/notify.h
+++ b/wpa_supplicant/notify.h
@@ -24,6 +24,9 @@ void wpas_notify_state_changed(struct wpa_supplicant *wpa_s,
enum wpa_states old_state);
void wpas_notify_disconnect_reason(struct wpa_supplicant *wpa_s);
void wpas_notify_assoc_status_code(struct wpa_supplicant *wpa_s);
+void wpas_notify_roam_time(struct wpa_supplicant *wpa_s);
+void wpas_notify_roam_complete(struct wpa_supplicant *wpa_s);
+void wpas_notify_session_length(struct wpa_supplicant *wpa_s);
void wpas_notify_network_changed(struct wpa_supplicant *wpa_s);
void wpas_notify_ap_scan_changed(struct wpa_supplicant *wpa_s);
void wpas_notify_bssid_changed(struct wpa_supplicant *wpa_s);