• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/wpa/src/ap/

Lines Matching refs:eapol_sm

153 	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;
1066 if (sta->eapol_sm)
1067 sta->eapol_sm->dot1xAuthEapLengthErrorFramesRx++;
1076 if (sta->eapol_sm) {
1077 sta->eapol_sm->dot1xAuthLastEapolFrameVersion = hdr->version;
1078 sta->eapol_sm->dot1xAuthEapolFramesRx++;
1107 if (!sta->eapol_sm) {
1108 sta->eapol_sm = ieee802_1x_alloc_eapol_sm(hapd, sta);
1109 if (!sta->eapol_sm)
1129 sta->eapol_sm->flags |= EAPOL_SM_WAIT_START;
1134 sta->eapol_sm->eap_if->portEnabled = TRUE;
1153 sta->eapol_sm->flags &= ~EAPOL_SM_WAIT_START;
1162 sta->eapol_sm->eapolStart = TRUE;
1163 sta->eapol_sm->dot1xAuthEapolStartFramesRx++;
1164 eap_server_clear_identity(sta->eapol_sm->eap);
1175 sta->eapol_sm->eapolLogoff = TRUE;
1176 sta->eapol_sm->dot1xAuthEapolLogoffFramesRx++;
1177 eap_server_clear_identity(sta->eapol_sm->eap);
1203 sta->eapol_sm->dot1xAuthInvalidEapolFramesRx++;
1207 eapol_auth_step(sta->eapol_sm);
1263 if (sta->eapol_sm == NULL) {
1266 sta->eapol_sm = ieee802_1x_alloc_eapol_sm(hapd, sta);
1267 if (sta->eapol_sm == NULL) {
1278 sta->eapol_sm->flags &= ~EAPOL_SM_WAIT_START;
1288 sta->eapol_sm->flags |= EAPOL_SM_WAIT_START;
1292 sta->eapol_sm->eap_if->portEnabled = TRUE;
1301 sta->eapol_sm->keyRun = TRUE;
1302 sta->eapol_sm->eap_if->eapKeyAvailable = TRUE;
1303 sta->eapol_sm->auth_pae_state = AUTH_PAE_AUTHENTICATING;
1304 sta->eapol_sm->be_auth_state = BE_AUTH_SUCCESS;
1305 sta->eapol_sm->authSuccess = TRUE;
1306 sta->eapol_sm->authFail = FALSE;
1307 sta->eapol_sm->portValid = TRUE;
1308 if (sta->eapol_sm->eap)
1309 eap_sm_notify_cached(sta->eapol_sm->eap);
1324 sta->eapol_sm->keyRun = TRUE;
1325 sta->eapol_sm->eap_if->eapKeyAvailable = TRUE;
1326 sta->eapol_sm->auth_pae_state = AUTH_PAE_AUTHENTICATING;
1327 sta->eapol_sm->be_auth_state = BE_AUTH_SUCCESS;
1328 sta->eapol_sm->authSuccess = TRUE;
1329 sta->eapol_sm->authFail = FALSE;
1330 sta->eapol_sm->portValid = TRUE;
1331 if (sta->eapol_sm->eap)
1332 eap_sm_notify_cached(sta->eapol_sm->eap);
1345 sta->eapol_sm->keyRun = TRUE;
1346 sta->eapol_sm->eap_if->eapKeyAvailable = TRUE;
1347 sta->eapol_sm->auth_pae_state = AUTH_PAE_AUTHENTICATING;
1348 sta->eapol_sm->be_auth_state = BE_AUTH_SUCCESS;
1349 sta->eapol_sm->authSuccess = TRUE;
1350 sta->eapol_sm->authFail = FALSE;
1351 if (sta->eapol_sm->eap)
1352 eap_sm_notify_cached(sta->eapol_sm->eap);
1353 pmksa_cache_to_eapol_data(hapd, pmksa, sta->eapol_sm);
1362 sta->eapol_sm->reAuthenticate = TRUE;
1364 eapol_auth_step(sta->eapol_sm);
1371 struct eapol_state_machine *sm = sta->eapol_sm;
1386 sta->eapol_sm = NULL;
1406 struct eapol_state_machine *sm = sta->eapol_sm;
1484 struct eapol_state_machine *sm = sta->eapol_sm;
1543 struct eapol_state_machine *sm = sta->eapol_sm;
1598 struct eapol_state_machine *sm = sta->eapol_sm;
1628 struct eapol_state_machine *sm = sta->eapol_sm;
1834 struct eapol_state_machine *sm = sta->eapol_sm;
1870 sta->eapol_sm->authFail = TRUE;
1883 sta->eapol_sm->authFail = TRUE;
2079 struct eapol_state_machine *sm = sta->eapol_sm;
2136 if (sta->eapol_sm) {
2137 sta->eapol_sm->eap_if->eapKeyAvailable = TRUE;
2138 eapol_auth_step(sta->eapol_sm);
2201 struct eapol_state_machine *sm = sta->eapol_sm;
2300 if (sta == NULL || sta->eapol_sm == NULL)
2721 struct eapol_state_machine *sm = sta->eapol_sm;
2967 key = ieee802_1x_get_key(sta->eapol_sm, &len);
2978 sta->eapol_sm) == 0) {