Lines Matching refs:auth
917 u.auth.variable));
924 resp->u.auth.auth_alg = host_to_le16(WLAN_AUTH_SAE);
926 resp->u.auth.auth_transaction = host_to_le16(auth_transaction);
927 resp->u.auth.status_code = host_to_le16(WLAN_STATUS_SUCCESS);
1207 auth_length = IEEE80211_HDRLEN + sizeof(header->u.auth);
1216 if (le_to_host16(header->u.auth.auth_alg) == WLAN_AUTH_SAE) {
1220 wpa_s, le_to_host16(header->u.auth.auth_transaction),
1221 le_to_host16(header->u.auth.status_code),
1222 header->u.auth.variable,
1259 if (os_memcmp(wpa_s->pending_bssid, data->auth.peer, ETH_ALEN) != 0) {
1262 MAC2STR(data->auth.peer));
1268 MAC2STR(data->auth.peer), data->auth.auth_type,
1269 data->auth.auth_transaction, data->auth.status_code);
1271 data->auth.ies, data->auth.ies_len);
1276 if (data->auth.auth_type == WLAN_AUTH_SAE) {
1278 res = sme_sae_auth(wpa_s, data->auth.auth_transaction,
1279 data->auth.status_code, data->auth.ies,
1280 data->auth.ies_len, 0, NULL);
1296 if (data->auth.status_code != WLAN_STATUS_SUCCESS) {
1299 if (data->auth.ies && data->auth.ies_len) {
1300 size_t buflen = 2 * data->auth.ies_len + 1;
1303 wpa_snprintf_hex(ie_txt, buflen, data->auth.ies,
1304 data->auth.ies_len);
1309 MAC2STR(data->auth.peer), data->auth.auth_type,
1310 data->auth.auth_transaction, data->auth.status_code,
1321 if (data->auth.status_code !=
1323 wpa_s->sme.auth_alg == data->auth.auth_type ||
1332 switch (data->auth.auth_type) {
1336 wpa_dbg(wpa_s, MSG_DEBUG, "SME: Trying SHARED auth");
1344 wpa_dbg(wpa_s, MSG_DEBUG, "SME: Trying LEAP auth");
1355 if (data->auth.auth_type == WLAN_AUTH_FT) {
1363 if (wpa_ft_process_response(wpa_s->wpa, data->auth.ies,
1364 data->auth.ies_len, 0,
1365 data->auth.peer,
1382 if (data->auth.auth_type == WLAN_AUTH_FILS_SK ||
1383 data->auth.auth_type == WLAN_AUTH_FILS_SK_PFS) {
1389 if (data->auth.auth_type != expect_auth_type) {
1391 "SME: FILS Authentication response used different auth alg (%u; expected %u)",
1392 data->auth.auth_type, expect_auth_type);
1404 data->auth.ies, data->auth.ies_len) < 0) {
1419 sme_associate(wpa_s, ssid->mode, data->auth.peer,
1420 data->auth.auth_type);
1968 * mac80211-workaround to force deauth on failed auth cmd,
1978 * Re-arm authentication timer in case auth fails for whatever reason.