Home
last modified time | relevance | path

Searched refs:eapol_sm (Results 1 – 23 of 23) sorted by relevance

/external/wpa_supplicant_8/src/eapol_supp/
Deapol_supp_sm.h70 struct eapol_sm;
107 void (*cb)(struct eapol_sm *eapol, enum eapol_supp_result result,
311 struct eapol_sm *eapol_sm_init(struct eapol_ctx *ctx);
312 void eapol_sm_deinit(struct eapol_sm *sm);
313 void eapol_sm_step(struct eapol_sm *sm);
314 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen,
316 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen);
317 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod,
319 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf,
321 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm);
[all …]
Deapol_supp_sm.c23 #define STATE_MACHINE_DATA struct eapol_sm
32 struct eapol_sm { struct
152 static void eapol_sm_txLogoff(struct eapol_sm *sm); argument
153 static void eapol_sm_txStart(struct eapol_sm *sm);
154 static void eapol_sm_processKey(struct eapol_sm *sm);
155 static void eapol_sm_getSuppRsp(struct eapol_sm *sm);
156 static void eapol_sm_txSuppRsp(struct eapol_sm *sm);
157 static void eapol_sm_abortSupp(struct eapol_sm *sm);
158 static void eapol_sm_abort_cached(struct eapol_sm *sm);
160 static void eapol_sm_set_port_authorized(struct eapol_sm *sm);
[all …]
/external/wpa_supplicant_8/src/ap/
Dieee802_1x.c145 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_tx_key_one()
209 if (sta->eapol_sm) in ieee802_1x_tx_key_one()
210 sta->eapol_sm->dot1xAuthEapolFramesTx++; in ieee802_1x_tx_key_one()
218 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_tx_key()
465 sta->eapol_sm && sta->eapol_sm->acct_multi_session_id) { in add_common_radius_sta_attr()
468 sta->eapol_sm->acct_multi_session_id); in add_common_radius_sta_attr()
599 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_encapsulate_radius()
770 struct eapol_state_machine *sm = sta->eapol_sm; in handle_eap_response()
803 struct eapol_state_machine *sm = sta->eapol_sm; in handle_eap_initiate()
979 if (sta->eapol_sm) in ieee802_1x_receive()
[all …]
Dwpa_auth_glue.c196 ieee802_1x_notify_port_enabled(sta->eapol_sm, value); in hostapd_wpa_auth_set_eapol()
199 ieee802_1x_notify_port_valid(sta->eapol_sm, value); in hostapd_wpa_auth_set_eapol()
205 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
206 sta->eapol_sm->portControl = Auto; in hostapd_wpa_auth_set_eapol()
209 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
210 sta->eapol_sm->keyRun = value ? TRUE : FALSE; in hostapd_wpa_auth_set_eapol()
213 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
214 sta->eapol_sm->eap_if->eapKeyAvailable = in hostapd_wpa_auth_set_eapol()
218 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
219 sta->eapol_sm->keyDone = value ? TRUE : FALSE; in hostapd_wpa_auth_set_eapol()
[all …]
Dpreauth_auth.c80 if (sta->eapol_sm == NULL) { in rsn_preauth_receive()
84 sta->eapol_sm->radius_identifier = -1; in rsn_preauth_receive()
85 sta->eapol_sm->portValid = TRUE; in rsn_preauth_receive()
86 sta->eapol_sm->flags |= EAPOL_SM_PREAUTH; in rsn_preauth_receive()
204 key = ieee802_1x_get_key(sta->eapol_sm, &len); in rsn_preauth_finished()
211 sta->eapol_sm) == 0) { in rsn_preauth_finished()
Daccounting.c72 val = ieee802_1x_get_identity(sta->eapol_sm, &len); in accounting_msg()
102 val = ieee802_1x_get_radius_class(sta->eapol_sm, &len, in accounting_msg()
114 b = ieee802_1x_get_radius_cui(sta->eapol_sm); in accounting_msg()
Dsta_info.h134 struct eapol_state_machine *eapol_sm; member
Dauthsrv.c32 if (eapol_auth_eap_pending_cb(sta->eapol_sm, ctx) == 0) in hostapd_sim_db_cb_sta()
Ddrv_callbacks.c82 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1); in hostapd_notify_assoc_fils_finish()
634 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1); in hostapd_notif_assoc()
687 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in hostapd_notif_disassoc()
1078 ieee802_1x_notify_pre_auth(sta->eapol_sm, 0); in hostapd_notif_auth()
Dsta_info.c548 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in ap_handle_timer()
727 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in ap_sta_remove()
1315 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in ap_sta_disconnect()
Dwps_hostapd.c1542 if (sta->eapol_sm && (sta->flags & WLAN_STA_WPS)) in hostapd_rx_req_put_wlan_response()
1553 if (!sta->eapol_sm) { in hostapd_rx_req_put_wlan_response()
1572 return eapol_auth_eap_pending_cb(sta->eapol_sm, sta->eapol_sm->eap); in hostapd_rx_req_put_wlan_response()
Dctrl_iface_ap.c388 if (sta->eapol_sm == NULL) in hostapd_ctrl_iface_sta()
390 return eapol_auth_dump_state(sta->eapol_sm, buf, in hostapd_ctrl_iface_sta()
Dhostapd.c826 if (!sta->eapol_sm || in hostapd_das_find_sta()
827 !sta->eapol_sm->acct_multi_session_id) { in hostapd_das_find_sta()
833 sta->eapol_sm->acct_multi_session_id); in hostapd_das_find_sta()
859 cui = ieee802_1x_get_radius_cui(sta->eapol_sm); in hostapd_das_find_sta()
887 identity = ieee802_1x_get_identity(sta->eapol_sm, in hostapd_das_find_sta()
Dieee802_11.c1619 if (!sta->eapol_sm) { in handle_auth_fils()
1620 sta->eapol_sm = in handle_auth_fils()
2287 ieee802_1x_notify_pre_auth(sta->eapol_sm, 0); in handle_auth()
4130 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in handle_disassoc()
4198 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in handle_deauth()
4704 if (sta->eapol_sm == NULL) { in handle_assoc_cb()
4746 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1); in handle_assoc_cb()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.h18 struct eapol_sm;
133 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol);
234 static inline void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) in wpa_sm_set_eapol()
Dwpa_i.h39 struct eapol_sm *eapol; /* EAPOL state machine from upper level code */
51 struct eapol_sm *preauth_eapol;
Dpreauth.c73 static void rsn_preauth_eapol_cb(struct eapol_sm *eapol, in rsn_preauth_eapol_cb()
Dwpa.c2963 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) in wpa_sm_set_eapol()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpas_kay.c297 struct eapol_sm *sm; in ieee802_1x_auth_get_msk()
Dwpa_supplicant_i.h603 struct eapol_sm *eapol;
Dwpas_glue.c270 static void wpa_supplicant_eapol_cb(struct eapol_sm *eapol, in wpa_supplicant_eapol_cb()
Deapol_test.c420 static void eapol_sm_cb(struct eapol_sm *eapol, enum eapol_supp_result result, in eapol_sm_cb()
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c2432 if (!sta || !sta->eapol_sm) in hostapd_ctrl_iface_eapol_reauth()
2435 eapol_auth_reauthenticate(sta->eapol_sm); in hostapd_ctrl_iface_eapol_reauth()
2456 if (!sta || !sta->eapol_sm) in hostapd_ctrl_iface_eapol_set()
2459 return eapol_auth_set_conf(sta->eapol_sm, param, pos); in hostapd_ctrl_iface_eapol_set()