diff options
author | Jouni Malinen <j@w1.fi> | 2013-10-19 14:32:05 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2013-10-20 10:12:04 (GMT) |
commit | a5d44ac0839358f25c4586de58b4125a21e2c7b6 (patch) | |
tree | c42e3878a445fd6fd0eabcba7a31642b8eb70707 /src/eapol_supp | |
parent | 7e8bc7d6fb322d7b3d37211462bf956edc910537 (diff) | |
download | hostap-a5d44ac0839358f25c4586de58b4125a21e2c7b6.zip hostap-a5d44ac0839358f25c4586de58b4125a21e2c7b6.tar.gz hostap-a5d44ac0839358f25c4586de58b4125a21e2c7b6.tar.bz2 |
EAP peer: Add framework for external SIM/USIM processing
The new configuration parameter external_sim=<0/1> can now be used to
configure wpa_supplicant to use external SIM/USIM processing (e.g., GSM
authentication for EAP-SIM or UMTS authentication for EAP-AKA). The
requests and responses for such operations are sent over the ctrl_iface
CTRL-REQ-SIM and CTRL-RSP-SIM commands similarly to the existing
password query mechanism.
Changes to the EAP methods to use this new mechanism will be added in
separate commits.
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/eapol_supp')
-rw-r--r-- | src/eapol_supp/eapol_supp_sm.c | 1 | ||||
-rw-r--r-- | src/eapol_supp/eapol_supp_sm.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/eapol_supp/eapol_supp_sm.c b/src/eapol_supp/eapol_supp_sm.c index c4475e5..03ec2cb 100644 --- a/src/eapol_supp/eapol_supp_sm.c +++ b/src/eapol_supp/eapol_supp_sm.c @@ -1479,6 +1479,7 @@ void eapol_sm_notify_config(struct eapol_sm *sm, eap_set_fast_reauth(sm->eap, conf->fast_reauth); eap_set_workaround(sm->eap, conf->workaround); eap_set_force_disabled(sm->eap, conf->eap_disabled); + eap_set_external_sim(sm->eap, conf->external_sim); } } diff --git a/src/eapol_supp/eapol_supp_sm.h b/src/eapol_supp/eapol_supp_sm.h index c4b87da..6faf816 100644 --- a/src/eapol_supp/eapol_supp_sm.h +++ b/src/eapol_supp/eapol_supp_sm.h @@ -53,6 +53,11 @@ struct eapol_config { * eap_disabled - Whether EAP is disabled */ int eap_disabled; + + /** + * external_sim - Use external processing for SIM/USIM operations + */ + int external_sim; }; struct eapol_sm; |