From dd7fec1f2969c377ac895246edd34c13986ebb08 Mon Sep 17 00:00:00 2001 From: Paul Stewart Date: Mon, 4 Jun 2012 21:10:01 +0300 Subject: wpa_supplicant: Report EAP connection progress to DBus Send an "EAP" signal via the new DBus interface under various conditions during EAP authentication: - During method selection (ACK and NAK) - During certificate verification - While sending and receiving TLS alert messages - EAP success and failure messages This provides DBus callers a number of new tools: - The ability to probe an AP for available EAP methods (given an identity). - The ability to identify why the remote certificate was not verified. - The ability to identify why the remote peer refused a TLS connection. Signed-hostap: Paul Stewart --- src/eapol_supp/eapol_supp_sm.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/eapol_supp/eapol_supp_sm.h') diff --git a/src/eapol_supp/eapol_supp_sm.h b/src/eapol_supp/eapol_supp_sm.h index 3260c61..1a20e4b 100644 --- a/src/eapol_supp/eapol_supp_sm.h +++ b/src/eapol_supp/eapol_supp_sm.h @@ -230,6 +230,15 @@ struct eapol_ctx { * cert_in_cb - Include server certificates in callback */ int cert_in_cb; + + /** + * status_cb - Notification of a change in EAP status + * @ctx: Callback context (ctx) + * @status: Step in the process of EAP authentication + * @parameter: Step-specific parameter, e.g., EAP method name + */ + void (*status_cb)(void *ctx, const char *status, + const char *parameter); }; -- cgit v1.1