aboutsummaryrefslogtreecommitdiffstats
path: root/src/eapol_auth/eapol_auth_sm.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-11-29 18:33:09 (GMT)
committerJouni Malinen <j@w1.fi>2014-12-04 10:08:56 (GMT)
commit2a5156a66c27dc36b155d0157798a81fe120efc9 (patch)
tree055208e8fad4ba23dede29df2f797cea5b900676 /src/eapol_auth/eapol_auth_sm.h
parent19e2b3b6bab817ba87c2cdde91bd1c59c5538b5f (diff)
downloadhostap-2a5156a66c27dc36b155d0157798a81fe120efc9.zip
hostap-2a5156a66c27dc36b155d0157798a81fe120efc9.tar.gz
hostap-2a5156a66c27dc36b155d0157798a81fe120efc9.tar.bz2
ERP: Add optional EAP-Initiate/Re-auth-Start transmission
hostapd can now be configured to transmit EAP-Initiate/Re-auth-Start before EAP-Request/Identity to try to initiate ERP. This is disabled by default and can be enabled with erp_send_reauth_start=1 and optional erp_reauth_start_domain=<domain>. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/eapol_auth/eapol_auth_sm.h')
-rw-r--r--src/eapol_auth/eapol_auth_sm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eapol_auth/eapol_auth_sm.h b/src/eapol_auth/eapol_auth_sm.h
index 320a0ad..90194d1 100644
--- a/src/eapol_auth/eapol_auth_sm.h
+++ b/src/eapol_auth/eapol_auth_sm.h
@@ -24,6 +24,8 @@ struct eapol_auth_config {
void *eap_sim_db_priv;
char *eap_req_id_text; /* a copy of this will be allocated */
size_t eap_req_id_text_len;
+ int erp_send_reauth_start;
+ char *erp_domain; /* a copy of this will be allocated */
u8 *pac_opaque_encr_key;
u8 *eap_fast_a_id;
size_t eap_fast_a_id_len;