Lines Matching refs:eapol_sm
218 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_tx_key_one()
301 if (sta->eapol_sm) in ieee802_1x_tx_key_one()
302 sta->eapol_sm->dot1xAuthEapolFramesTx++; in ieee802_1x_tx_key_one()
310 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_tx_key()
558 sta->eapol_sm && sta->eapol_sm->acct_multi_session_id) { in add_common_radius_sta_attr()
561 sta->eapol_sm->acct_multi_session_id); in add_common_radius_sta_attr()
748 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_encapsulate_radius()
925 struct eapol_state_machine *sm = sta->eapol_sm; in handle_eap_response()
959 struct eapol_state_machine *sm = sta->eapol_sm; in handle_eap_initiate()
1163 if (sta->eapol_sm) in ieee802_1x_receive()
1164 sta->eapol_sm->dot1xAuthEapLengthErrorFramesRx++; in ieee802_1x_receive()
1173 if (sta->eapol_sm) { in ieee802_1x_receive()
1174 sta->eapol_sm->dot1xAuthLastEapolFrameVersion = hdr->version; in ieee802_1x_receive()
1175 sta->eapol_sm->dot1xAuthEapolFramesRx++; in ieee802_1x_receive()
1210 if (!sta->eapol_sm) { in ieee802_1x_receive()
1211 sta->eapol_sm = ieee802_1x_alloc_eapol_sm(hapd, sta); in ieee802_1x_receive()
1212 if (!sta->eapol_sm) in ieee802_1x_receive()
1231 sta->eapol_sm->flags |= EAPOL_SM_WAIT_START; in ieee802_1x_receive()
1236 sta->eapol_sm->eap_if->portEnabled = true; in ieee802_1x_receive()
1255 sta->eapol_sm->flags &= ~EAPOL_SM_WAIT_START; in ieee802_1x_receive()
1263 sta->eapol_sm->eapolStart = true; in ieee802_1x_receive()
1264 sta->eapol_sm->dot1xAuthEapolStartFramesRx++; in ieee802_1x_receive()
1265 eap_server_clear_identity(sta->eapol_sm->eap); in ieee802_1x_receive()
1276 sta->eapol_sm->eapolLogoff = true; in ieee802_1x_receive()
1277 sta->eapol_sm->dot1xAuthEapolLogoffFramesRx++; in ieee802_1x_receive()
1278 eap_server_clear_identity(sta->eapol_sm->eap); in ieee802_1x_receive()
1304 sta->eapol_sm->dot1xAuthInvalidEapolFramesRx++; in ieee802_1x_receive()
1308 eapol_auth_step(sta->eapol_sm); in ieee802_1x_receive()
1364 if (!sta->eapol_sm) { in ieee802_1x_new_station()
1367 sta->eapol_sm = ieee802_1x_alloc_eapol_sm(hapd, sta); in ieee802_1x_new_station()
1368 if (!sta->eapol_sm) { in ieee802_1x_new_station()
1379 sta->eapol_sm->flags &= ~EAPOL_SM_WAIT_START; in ieee802_1x_new_station()
1389 sta->eapol_sm->flags |= EAPOL_SM_WAIT_START; in ieee802_1x_new_station()
1393 sta->eapol_sm->eap_if->portEnabled = true; in ieee802_1x_new_station()
1402 sta->eapol_sm->keyRun = true; in ieee802_1x_new_station()
1403 sta->eapol_sm->eap_if->eapKeyAvailable = true; in ieee802_1x_new_station()
1404 sta->eapol_sm->auth_pae_state = AUTH_PAE_AUTHENTICATING; in ieee802_1x_new_station()
1405 sta->eapol_sm->be_auth_state = BE_AUTH_SUCCESS; in ieee802_1x_new_station()
1406 sta->eapol_sm->authSuccess = true; in ieee802_1x_new_station()
1407 sta->eapol_sm->authFail = false; in ieee802_1x_new_station()
1408 sta->eapol_sm->portValid = true; in ieee802_1x_new_station()
1409 if (sta->eapol_sm->eap) in ieee802_1x_new_station()
1410 eap_sm_notify_cached(sta->eapol_sm->eap); in ieee802_1x_new_station()
1425 sta->eapol_sm->keyRun = true; in ieee802_1x_new_station()
1426 sta->eapol_sm->eap_if->eapKeyAvailable = true; in ieee802_1x_new_station()
1427 sta->eapol_sm->auth_pae_state = AUTH_PAE_AUTHENTICATING; in ieee802_1x_new_station()
1428 sta->eapol_sm->be_auth_state = BE_AUTH_SUCCESS; in ieee802_1x_new_station()
1429 sta->eapol_sm->authSuccess = true; in ieee802_1x_new_station()
1430 sta->eapol_sm->authFail = false; in ieee802_1x_new_station()
1431 sta->eapol_sm->portValid = true; in ieee802_1x_new_station()
1432 if (sta->eapol_sm->eap) in ieee802_1x_new_station()
1433 eap_sm_notify_cached(sta->eapol_sm->eap); in ieee802_1x_new_station()
1446 sta->eapol_sm->keyRun = true; in ieee802_1x_new_station()
1447 sta->eapol_sm->eap_if->eapKeyAvailable = true; in ieee802_1x_new_station()
1448 sta->eapol_sm->auth_pae_state = AUTH_PAE_AUTHENTICATING; in ieee802_1x_new_station()
1449 sta->eapol_sm->be_auth_state = BE_AUTH_SUCCESS; in ieee802_1x_new_station()
1450 sta->eapol_sm->authSuccess = true; in ieee802_1x_new_station()
1451 sta->eapol_sm->authFail = false; in ieee802_1x_new_station()
1452 if (sta->eapol_sm->eap) in ieee802_1x_new_station()
1453 eap_sm_notify_cached(sta->eapol_sm->eap); in ieee802_1x_new_station()
1454 pmksa_cache_to_eapol_data(hapd, pmksa, sta->eapol_sm); in ieee802_1x_new_station()
1463 sta->eapol_sm->reAuthenticate = true; in ieee802_1x_new_station()
1465 eapol_auth_step(sta->eapol_sm); in ieee802_1x_new_station()
1472 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_free_station()
1487 sta->eapol_sm = NULL; in ieee802_1x_free_station()
1507 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_decapsulate_radius()
1585 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_get_keys()
1645 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_store_radius_class()
1700 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_update_sta_identity()
1730 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_update_sta_cui()
1952 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_select_radius_identifier()
1989 sta->eapol_sm->authFail = true; in ieee802_1x_update_vlan()
2002 sta->eapol_sm->authFail = true; in ieee802_1x_update_vlan()
2188 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_abort_auth()
2248 if (sta->eapol_sm) { in ieee802_1x_sta_key_available()
2249 sta->eapol_sm->eap_if->eapKeyAvailable = true; in ieee802_1x_sta_key_available()
2250 eapol_auth_step(sta->eapol_sm); in ieee802_1x_sta_key_available()
2316 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_eapol_send()
2419 if (!sta || !sta->eapol_sm) in ieee802_1x_sta_entry_alive()
2863 struct eapol_state_machine *sm = sta->eapol_sm; in ieee802_1x_get_mib_sta()
3109 key = ieee802_1x_get_key(sta->eapol_sm, &len); in ieee802_1x_finished()
3120 sta->eapol_sm) == 0) { in ieee802_1x_finished()