Lines Matching defs:auth_alg
257 u16 auth_alg, u16 auth_transaction, u16 resp,
277 reply->u.auth.auth_alg = host_to_le16(auth_alg);
285 " auth_alg=%d auth_transaction=%d resp=%d (IE len=%lu)",
286 MAC2STR(dst), auth_alg, auth_transaction,
560 sta->auth_alg = WLAN_AUTH_SAE;
928 u16 auth_alg, auth_transaction, status_code;
961 auth_alg = le_to_host16(mgmt->u.auth.auth_alg);
973 wpa_printf(MSG_DEBUG, "authentication: STA=" MACSTR " auth_alg=%d "
976 MAC2STR(mgmt->sa), auth_alg, auth_transaction,
982 if (auth_alg == WLAN_AUTH_SHARED_KEY) {
985 auth_alg);
997 auth_alg == WLAN_AUTH_OPEN) ||
1000 auth_alg == WLAN_AUTH_FT) ||
1004 auth_alg == WLAN_AUTH_SAE) ||
1007 auth_alg == WLAN_AUTH_SHARED_KEY))) {
1009 auth_alg);
1014 if (!(auth_transaction == 1 || auth_alg == WLAN_AUTH_SAE ||
1015 (auth_alg == WLAN_AUTH_SHARED_KEY && auth_transaction == 3))) {
1236 switch (auth_alg) {
1243 sta->auth_alg = WLAN_AUTH_OPEN;
1250 sta->auth_alg = WLAN_AUTH_SHARED_KEY;
1263 sta->auth_alg = WLAN_AUTH_FT;
1309 reply_res = send_auth_reply(hapd, mgmt->sa, mgmt->bssid, auth_alg,
1612 (!reassoc || sta->auth_alg != WLAN_AUTH_FT)) {
1633 if (sta->auth_alg == WLAN_AUTH_FT) {
1637 "re-association) with FT auth_alg",
1651 sta->auth_alg == WLAN_AUTH_OPEN) {
1663 sta->auth_alg != WLAN_AUTH_SAE &&
1664 !(sta->auth_alg == WLAN_AUTH_FT &&
1667 "SAE AKM after non-SAE auth_alg %u",
1668 MAC2STR(sta->addr), sta->auth_alg);
1864 sta->auth_alg, ies, ies_len);
2029 if (sta && sta->auth_alg == WLAN_AUTH_FT &&
2622 u16 auth_alg, auth_transaction, status_code;
2632 auth_alg = le_to_host16(mgmt->u.auth.auth_alg);
2650 ((auth_alg == WLAN_AUTH_OPEN && auth_transaction == 2) ||
2651 (auth_alg == WLAN_AUTH_SHARED_KEY && auth_transaction == 4))) {
2750 sta->auth_alg == WLAN_AUTH_FT) {
2793 if (sta->auth_alg == WLAN_AUTH_FT)