Home
last modified time | relevance | path

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

/trueos/contrib/wpa/src/eapol_supp/
HDeapol_supp_sm.h58 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 …]
HDeapol_supp_sm.c21 #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/
HDieee802_1x.c119 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 …]
HDwpa_auth_glue.c131 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 …]
HDpreauth_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()
HDaccounting.c83 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()
HDsta_info.h72 struct eapol_state_machine *eapol_sm; member
HDdrv_callbacks.c296 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()
HDauthsrv.c32 if (eapol_auth_eap_pending_cb(sta->eapol_sm, ctx) == 0) in hostapd_sim_db_cb_sta()
HDsta_info.c393 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()
HDieee802_11.c588 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()
HDwps_hostapd.c1252 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()
HDhostapd.c555 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/
HDwpa.h17 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()
HDwpa_i.h33 struct eapol_sm *eapol; /* EAPOL state machine from upper level code */
45 struct eapol_sm *preauth_eapol;
HDpreauth.c73 static void rsn_preauth_eapol_cb(struct eapol_sm *eapol, int success, in rsn_preauth_eapol_cb()
HDwpa.c2257 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) in wpa_sm_set_eapol()
/trueos/contrib/wpa/hostapd/
HDdump_state.c36 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_dump_state()
/trueos/contrib/wpa/wpa_supplicant/
HDwpa_supplicant_i.h379 struct eapol_sm *eapol;
HDwpas_glue.c219 static void wpa_supplicant_eapol_cb(struct eapol_sm *eapol, int success, in wpa_supplicant_eapol_cb()
HDeapol_test.c371 static void eapol_sm_cb(struct eapol_sm *eapol, int success, void *ctx) in eapol_sm_cb()