aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_new_handlers.h
diff options
context:
space:
mode:
authorAlex Khouderchah <akhouderchah@chromium.org>2018-07-05 23:29:09 (GMT)
committerJouni Malinen <j@w1.fi>2019-01-02 22:39:12 (GMT)
commit38b405c8f055fafd3117bee32c108de86f835f94 (patch)
treeac5d19e6b051e911bb1dc309a0c9960e39ad60c3 /wpa_supplicant/dbus/dbus_new_handlers.h
parent80d06d0ca9f3b2986e89c8169087b7a71487bf95 (diff)
downloadhostap-38b405c8f055fafd3117bee32c108de86f835f94.zip
hostap-38b405c8f055fafd3117bee32c108de86f835f94.tar.gz
hostap-38b405c8f055fafd3117bee32c108de86f835f94.tar.bz2
dbus: Expose authentication status to D-Bus
wpa_supplicant currently logs CTRL-EVENT-AUTH-FAILED errors when authentication fails, but doesn't expose any property to the D-Bus interface related to this. This change adds the "AuthStatusCode" property to the interface, which contains the IEEE 802.11 status code of the last authentication. Signed-off-by: Alex Khouderchah <akhouderchah@chromium.org>
Diffstat (limited to 'wpa_supplicant/dbus/dbus_new_handlers.h')
-rw-r--r--wpa_supplicant/dbus/dbus_new_handlers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/dbus/dbus_new_handlers.h b/wpa_supplicant/dbus/dbus_new_handlers.h
index f14df3e..d922ce1 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.h
+++ b/wpa_supplicant/dbus/dbus_new_handlers.h
@@ -150,6 +150,7 @@ DECLARE_ACCESSOR(wpas_dbus_getter_fast_reauth);
DECLARE_ACCESSOR(wpas_dbus_setter_fast_reauth);
DECLARE_ACCESSOR(wpas_dbus_getter_disconnect_reason);
DECLARE_ACCESSOR(wpas_dbus_getter_disassociate_reason);
+DECLARE_ACCESSOR(wpas_dbus_getter_auth_status_code);
DECLARE_ACCESSOR(wpas_dbus_getter_assoc_status_code);
DECLARE_ACCESSOR(wpas_dbus_getter_roam_time);
DECLARE_ACCESSOR(wpas_dbus_getter_roam_complete);