aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.h
diff options
context:
space:
mode:
authorGary Morain <gmorain@chromium.org>2012-06-30 13:43:50 (GMT)
committerJouni Malinen <j@w1.fi>2012-06-30 13:43:50 (GMT)
commit0bb1e425b553f05adbc9df9e7ff92c0284e7e8f6 (patch)
treefcc749980727e54a181286439d32a98d98e071c2 /wpa_supplicant/notify.h
parent8350d0afd8f5a93c39c2569bd78b8f5c92f85348 (diff)
downloadhostap-0bb1e425b553f05adbc9df9e7ff92c0284e7e8f6.zip
hostap-0bb1e425b553f05adbc9df9e7ff92c0284e7e8f6.tar.gz
hostap-0bb1e425b553f05adbc9df9e7ff92c0284e7e8f6.tar.bz2
Export disconnect reason code to dbus
In the properties changed signal, added a new property "DisconnectReason", which carries the IEEE 802.11 reason code of the most recent disassociation or deauthentication event. The reason code is negative if it is locally generated. The property is sent to the DBUS immediately so as to prevent it from being coalesced with other disconnect events. Signed-off-by: Gary Morain <gmorain@chromium.org>
Diffstat (limited to 'wpa_supplicant/notify.h')
-rw-r--r--wpa_supplicant/notify.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/notify.h b/wpa_supplicant/notify.h
index e2bf788..58675ac 100644
--- a/wpa_supplicant/notify.h
+++ b/wpa_supplicant/notify.h
@@ -22,6 +22,7 @@ void wpas_notify_iface_removed(struct wpa_supplicant *wpa_s);
void wpas_notify_state_changed(struct wpa_supplicant *wpa_s,
enum wpa_states new_state,
enum wpa_states old_state);
+void wpas_notify_disconnect_reason(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);