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,
304 struct eapol_sm *eapol_sm_init(struct eapol_ctx *ctx);
305 void eapol_sm_deinit(struct eapol_sm *sm);
306 void eapol_sm_step(struct eapol_sm *sm);
307 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen,
309 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen);
310 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod,
312 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf,
314 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm);
[all …]
Deapol_supp_sm.c22 #define STATE_MACHINE_DATA struct eapol_sm
31 struct eapol_sm { struct
151 static void eapol_sm_txLogoff(struct eapol_sm *sm); argument
152 static void eapol_sm_txStart(struct eapol_sm *sm);
153 static void eapol_sm_processKey(struct eapol_sm *sm);
154 static void eapol_sm_getSuppRsp(struct eapol_sm *sm);
155 static void eapol_sm_txSuppRsp(struct eapol_sm *sm);
156 static void eapol_sm_abortSupp(struct eapol_sm *sm);
157 static void eapol_sm_abort_cached(struct eapol_sm *sm);
159 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()
734 struct eapol_state_machine *sm = sta->eapol_sm; in handle_eap_response()
767 struct eapol_state_machine *sm = sta->eapol_sm; in handle_eap_initiate()
943 if (sta->eapol_sm) in ieee802_1x_receive()
[all …]
Dwpa_auth_glue.c176 ieee802_1x_notify_port_enabled(sta->eapol_sm, value); in hostapd_wpa_auth_set_eapol()
179 ieee802_1x_notify_port_valid(sta->eapol_sm, value); in hostapd_wpa_auth_set_eapol()
185 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
186 sta->eapol_sm->portControl = Auto; in hostapd_wpa_auth_set_eapol()
189 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
190 sta->eapol_sm->keyRun = value ? TRUE : FALSE; in hostapd_wpa_auth_set_eapol()
193 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
194 sta->eapol_sm->eap_if->eapKeyAvailable = in hostapd_wpa_auth_set_eapol()
198 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol()
199 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()
Dauthsrv.c32 if (eapol_auth_eap_pending_cb(sta->eapol_sm, ctx) == 0) in hostapd_sim_db_cb_sta()
Dsta_info.h131 struct eapol_state_machine *eapol_sm; member
Dctrl_iface_ap.c215 if (sta->eapol_sm == NULL) in hostapd_ctrl_iface_sta()
217 return eapol_auth_dump_state(sta->eapol_sm, buf, in hostapd_ctrl_iface_sta()
Dsta_info.c511 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in ap_handle_timer()
690 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in ap_sta_remove()
1245 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in ap_sta_disconnect()
Ddrv_callbacks.c405 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1); in hostapd_notif_assoc()
458 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in hostapd_notif_disassoc()
731 ieee802_1x_notify_pre_auth(sta->eapol_sm, 0); in hostapd_notif_auth()
Dieee802_11.c1132 if (!sta->eapol_sm) { in handle_auth_fils()
1133 sta->eapol_sm = in handle_auth_fils()
1619 ieee802_1x_notify_pre_auth(sta->eapol_sm, 0); in handle_auth()
2932 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in handle_disassoc()
3000 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in handle_deauth()
3474 if (sta->eapol_sm == NULL) { in handle_assoc_cb()
3516 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1); in handle_assoc_cb()
Dwps_hostapd.c1474 if (sta->eapol_sm && (sta->flags & WLAN_STA_WPS)) in hostapd_rx_req_put_wlan_response()
1485 if (!sta->eapol_sm) { in hostapd_rx_req_put_wlan_response()
1504 return eapol_auth_eap_pending_cb(sta->eapol_sm, sta->eapol_sm->eap); in hostapd_rx_req_put_wlan_response()
Dhostapd.c730 if (!sta->eapol_sm || in hostapd_das_find_sta()
731 !sta->eapol_sm->acct_multi_session_id) { in hostapd_das_find_sta()
737 sta->eapol_sm->acct_multi_session_id); in hostapd_das_find_sta()
763 cui = ieee802_1x_get_radius_cui(sta->eapol_sm); in hostapd_das_find_sta()
791 identity = ieee802_1x_get_identity(sta->eapol_sm, in hostapd_das_find_sta()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.h18 struct eapol_sm;
129 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol);
223 static inline void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) in wpa_sm_set_eapol()
Dwpa_i.h40 struct eapol_sm *eapol; /* EAPOL state machine from upper level code */
52 struct eapol_sm *preauth_eapol;
Dpreauth.c73 static void rsn_preauth_eapol_cb(struct eapol_sm *eapol, in rsn_preauth_eapol_cb()
Dwpa.c2772 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.c290 struct eapol_sm *sm; in ieee802_1x_auth_get_msk()
Dwpa_supplicant_i.h595 struct eapol_sm *eapol;
Dwpas_glue.c268 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.c2054 if (!sta || !sta->eapol_sm) in hostapd_ctrl_iface_eapol_reauth()
2057 eapol_auth_reauthenticate(sta->eapol_sm); in hostapd_ctrl_iface_eapol_reauth()
2078 if (!sta || !sta->eapol_sm) in hostapd_ctrl_iface_eapol_set()
2081 return eapol_auth_set_conf(sta->eapol_sm, param, pos); in hostapd_ctrl_iface_eapol_set()