Searched refs:eapol_sm (Results 1 - 24 of 24) sorted by relevance

/netbsd-current/external/bsd/wpa/dist/src/eapol_supp/
H A Deapol_supp_sm.h72 struct eapol_sm;
109 void (*cb)(struct eapol_sm *eapol, enum eapol_supp_result result,
308 struct eapol_sm *eapol_sm_init(struct eapol_ctx *ctx);
309 void eapol_sm_deinit(struct eapol_sm *sm);
310 void eapol_sm_step(struct eapol_sm *sm);
311 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen,
313 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen);
314 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod,
316 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf,
318 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *s
[all...]
H A Deapol_supp_sm.c23 #define STATE_MACHINE_DATA struct eapol_sm
30 * struct eapol_sm - Internal data for EAPOL state machines
32 struct eapol_sm { struct
152 static void eapol_sm_txLogoff(struct eapol_sm *sm);
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 *s
[all...]
/netbsd-current/external/bsd/wpa/dist/src/ap/
H A Dieee802_1x.c153 struct eapol_state_machine *sm = sta->eapol_sm;
236 if (sta->eapol_sm)
237 sta->eapol_sm->dot1xAuthEapolFramesTx++;
245 struct eapol_state_machine *sm = sta->eapol_sm;
492 sta->eapol_sm && sta->eapol_sm->acct_multi_session_id) {
495 sta->eapol_sm->acct_multi_session_id);
683 struct eapol_state_machine *sm = sta->eapol_sm;
857 struct eapol_state_machine *sm = sta->eapol_sm;
890 struct eapol_state_machine *sm = sta->eapol_sm;
[all...]
H A Dwpa_auth_glue.c200 ieee802_1x_notify_port_enabled(sta->eapol_sm, value);
203 ieee802_1x_notify_port_valid(sta->eapol_sm, value);
209 if (sta->eapol_sm)
210 sta->eapol_sm->portControl = Auto;
213 if (sta->eapol_sm)
214 sta->eapol_sm->keyRun = value ? TRUE : FALSE;
217 if (sta->eapol_sm)
218 sta->eapol_sm->eap_if->eapKeyAvailable =
222 if (sta->eapol_sm)
223 sta->eapol_sm
[all...]
H A Dpreauth_auth.c80 if (sta->eapol_sm == NULL) {
84 sta->eapol_sm->radius_identifier = -1;
85 sta->eapol_sm->portValid = TRUE;
86 sta->eapol_sm->flags |= EAPOL_SM_PREAUTH;
204 key = ieee802_1x_get_key(sta->eapol_sm, &len);
211 sta->eapol_sm) == 0) {
H A Dwpa_auth_kay.c361 session_id = ieee802_1x_get_session_id(sta->eapol_sm, &id_len);
387 if (!sta->eapol_sm)
390 key = ieee802_1x_get_key(sta->eapol_sm, &keylen);
H A Daccounting.c72 val = ieee802_1x_get_identity(sta->eapol_sm, &len);
105 val = ieee802_1x_get_radius_class(sta->eapol_sm, &len,
117 b = ieee802_1x_get_radius_cui(sta->eapol_sm);
H A Dauthsrv.c32 if (eapol_auth_eap_pending_cb(sta->eapol_sm, ctx) == 0)
H A Dsta_info.h136 struct eapol_state_machine *eapol_sm; member in struct:sta_info
H A Dsta_info.c549 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0);
738 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0);
1328 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0);
H A Ddrv_callbacks.c82 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1);
647 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1);
700 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0);
1105 ieee802_1x_notify_pre_auth(sta->eapol_sm, 0);
H A Dctrl_iface_ap.c388 if (sta->eapol_sm == NULL)
390 return eapol_auth_dump_state(sta->eapol_sm, buf,
H A Dwps_hostapd.c1542 if (sta->eapol_sm && (sta->flags & WLAN_STA_WPS))
1553 if (!sta->eapol_sm) {
1572 return eapol_auth_eap_pending_cb(sta->eapol_sm, sta->eapol_sm->eap);
H A Dieee802_11.c1622 if (!sta->eapol_sm) {
1623 sta->eapol_sm =
2292 ieee802_1x_notify_pre_auth(sta->eapol_sm, 0);
4295 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0);
4363 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0);
4875 if (sta->eapol_sm == NULL) {
4917 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1);
H A Dhostapd.c836 if (!sta->eapol_sm ||
837 !sta->eapol_sm->acct_multi_session_id) {
843 sta->eapol_sm->acct_multi_session_id);
869 cui = ieee802_1x_get_radius_cui(sta->eapol_sm);
897 identity = ieee802_1x_get_identity(sta->eapol_sm,
/netbsd-current/external/bsd/wpa/dist/src/rsn_supp/
H A 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)
H A Dwpa_i.h39 struct eapol_sm *eapol; /* EAPOL state machine from upper level code */
51 struct eapol_sm *preauth_eapol;
H A Dpreauth.c73 static void rsn_preauth_eapol_cb(struct eapol_sm *eapol,
H A Dwpa.c2993 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol)
/netbsd-current/external/bsd/wpa/dist/wpa_supplicant/
H A Dwpas_kay.c297 struct eapol_sm *sm;
H A Dwpa_supplicant_i.h614 struct eapol_sm *eapol;
H A Dwpas_glue.c270 static void wpa_supplicant_eapol_cb(struct eapol_sm *eapol,
H A Deapol_test.c421 static void eapol_sm_cb(struct eapol_sm *eapol, enum eapol_supp_result result,
819 /* sta->eapol_sm->be_auth.idFromServer = hdr->identifier; */
/netbsd-current/external/bsd/wpa/dist/hostapd/
H A Dctrl_iface.c2455 if (!sta || !sta->eapol_sm)
2458 eapol_auth_reauthenticate(sta->eapol_sm);
2479 if (!sta || !sta->eapol_sm)
2482 return eapol_auth_set_conf(sta->eapol_sm, param, pos);

Completed in 472 milliseconds