| /trueos/contrib/wpa/src/eapol_supp/ |
| HD | eapol_supp_sm.h | 58 struct eapol_sm; 89 void (*cb)(struct eapol_sm *eapol, int success, void *ctx); 257 struct eapol_sm *eapol_sm_init(struct eapol_ctx *ctx); 258 void eapol_sm_deinit(struct eapol_sm *sm); 259 void eapol_sm_step(struct eapol_sm *sm); 260 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, 262 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen); 263 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, 265 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, 267 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm); [all …]
|
| HD | eapol_supp_sm.c | 21 #define STATE_MACHINE_DATA struct eapol_sm 30 struct eapol_sm { struct 142 static void eapol_sm_txLogoff(struct eapol_sm *sm); argument 143 static void eapol_sm_txStart(struct eapol_sm *sm); 144 static void eapol_sm_processKey(struct eapol_sm *sm); 145 static void eapol_sm_getSuppRsp(struct eapol_sm *sm); 146 static void eapol_sm_txSuppRsp(struct eapol_sm *sm); 147 static void eapol_sm_abortSupp(struct eapol_sm *sm); 148 static void eapol_sm_abort_cached(struct eapol_sm *sm); 150 static void eapol_sm_set_port_authorized(struct eapol_sm *sm); [all …]
|
| /trueos/contrib/wpa/src/ap/ |
| HD | ieee802_1x.c | 119 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_tx_key_one() 183 if (sta->eapol_sm) in ieee802_1x_tx_key_one() 184 sta->eapol_sm->dot1xAuthEapolFramesTx++; in ieee802_1x_tx_key_one() 292 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_tx_key() 553 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_encapsulate_radius() 651 struct eapol_state_machine *sm = sta->eapol_sm; in handle_eap_response() 790 if (sta->eapol_sm) in ieee802_1x_receive() 791 sta->eapol_sm->dot1xAuthEapLengthErrorFramesRx++; in ieee802_1x_receive() 800 if (sta->eapol_sm) { in ieee802_1x_receive() 801 sta->eapol_sm->dot1xAuthLastEapolFrameVersion = hdr->version; in ieee802_1x_receive() [all …]
|
| HD | wpa_auth_glue.c | 131 ieee802_1x_notify_port_enabled(sta->eapol_sm, value); in hostapd_wpa_auth_set_eapol() 134 ieee802_1x_notify_port_valid(sta->eapol_sm, value); in hostapd_wpa_auth_set_eapol() 140 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol() 141 sta->eapol_sm->portControl = Auto; in hostapd_wpa_auth_set_eapol() 144 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol() 145 sta->eapol_sm->keyRun = value ? TRUE : FALSE; in hostapd_wpa_auth_set_eapol() 148 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol() 149 sta->eapol_sm->eap_if->eapKeyAvailable = in hostapd_wpa_auth_set_eapol() 153 if (sta->eapol_sm) in hostapd_wpa_auth_set_eapol() 154 sta->eapol_sm->keyDone = value ? TRUE : FALSE; in hostapd_wpa_auth_set_eapol() [all …]
|
| HD | preauth_auth.c | 80 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()
|
| HD | accounting.c | 83 val = ieee802_1x_get_identity(sta->eapol_sm, &len); in accounting_msg() 113 val = ieee802_1x_get_radius_class(sta->eapol_sm, &len, in accounting_msg() 125 b = ieee802_1x_get_radius_cui(sta->eapol_sm); in accounting_msg()
|
| HD | sta_info.h | 72 struct eapol_state_machine *eapol_sm; member
|
| HD | drv_callbacks.c | 296 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1); in hostapd_notif_assoc() 348 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in hostapd_notif_disassoc() 460 ieee802_1x_notify_pre_auth(sta->eapol_sm, 0); in hostapd_notif_auth()
|
| HD | authsrv.c | 32 if (eapol_auth_eap_pending_cb(sta->eapol_sm, ctx) == 0) in hostapd_sim_db_cb_sta()
|
| HD | sta_info.c | 393 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in ap_handle_timer() 519 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in ap_sta_remove() 929 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in ap_sta_disconnect()
|
| HD | ieee802_11.c | 588 ieee802_1x_notify_pre_auth(sta->eapol_sm, 0); in handle_auth() 1330 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in handle_disassoc() 1382 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0); in handle_deauth() 1802 if (sta->eapol_sm == NULL) { in handle_assoc_cb() 1824 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1); in handle_assoc_cb()
|
| HD | wps_hostapd.c | 1252 if (sta->eapol_sm && (sta->flags & WLAN_STA_WPS)) in hostapd_rx_req_put_wlan_response() 1272 return eapol_auth_eap_pending_cb(sta->eapol_sm, sta->eapol_sm->eap); in hostapd_rx_req_put_wlan_response()
|
| HD | hostapd.c | 555 cui = ieee802_1x_get_radius_cui(sta->eapol_sm); in hostapd_das_find_sta() 567 identity = ieee802_1x_get_identity(sta->eapol_sm, in hostapd_das_find_sta()
|
| /trueos/contrib/wpa/src/rsn_supp/ |
| HD | wpa.h | 17 struct eapol_sm; 106 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol); 189 static inline void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) in wpa_sm_set_eapol()
|
| HD | wpa_i.h | 33 struct eapol_sm *eapol; /* EAPOL state machine from upper level code */ 45 struct eapol_sm *preauth_eapol;
|
| HD | preauth.c | 73 static void rsn_preauth_eapol_cb(struct eapol_sm *eapol, int success, in rsn_preauth_eapol_cb()
|
| HD | wpa.c | 2257 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) in wpa_sm_set_eapol()
|
| /trueos/contrib/wpa/hostapd/ |
| HD | dump_state.c | 36 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_dump_state()
|
| /trueos/contrib/wpa/wpa_supplicant/ |
| HD | wpa_supplicant_i.h | 379 struct eapol_sm *eapol;
|
| HD | wpas_glue.c | 219 static void wpa_supplicant_eapol_cb(struct eapol_sm *eapol, int success, in wpa_supplicant_eapol_cb()
|
| HD | eapol_test.c | 371 static void eapol_sm_cb(struct eapol_sm *eapol, int success, void *ctx) in eapol_sm_cb()
|