Lines Matching refs:auth_alg
257 mgmt->u.auth.auth_alg = host_to_le16(wpa_s->mlme.auth_alg);
312 wpa_s->mlme.auth_alg = WLAN_AUTH_FT;
422 if (wpa_s->mlme.extra_ie && wpa_s->mlme.auth_alg != WLAN_AUTH_FT) {
431 wpa_s->mlme.auth_alg != WLAN_AUTH_FT &&
446 wpa_s->mlme.auth_alg == WLAN_AUTH_FT && wpa_s->mlme.ft_ies) {
768 u16 auth_alg, auth_transaction, status_code;
803 auth_alg = le_to_host16(mgmt->u.auth.auth_alg);
809 MAC2STR(mgmt->sa), auth_alg, auth_transaction, status_code);
817 if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1) {
821 auth_alg, auth_transaction);
827 if (auth_alg != wpa_s->mlme.auth_alg ||
831 auth_alg, auth_transaction);
837 "(auth_alg=%d code=%d)", wpa_s->mlme.auth_alg,
851 if (wpa_s->mlme.auth_alg == WLAN_AUTH_OPEN)
853 else if (wpa_s->mlme.auth_alg == WLAN_AUTH_SHARED_KEY)
861 if (algs[pos] == wpa_s->mlme.auth_alg ||
867 wpa_s->mlme.auth_alg = algs[pos];
868 wpa_printf(MSG_DEBUG, "MLME: set auth_alg=%d "
870 wpa_s->mlme.auth_alg);
877 switch (wpa_s->mlme.auth_alg) {
1114 if (wpa_s->mlme.auth_alg == WLAN_AUTH_FT) {
1731 wpa_s->mlme.auth_alg = WLAN_AUTH_FT;
2017 wpa_s->mlme.auth_alg = WLAN_AUTH_OPEN;
2019 wpa_s->mlme.auth_alg = WLAN_AUTH_SHARED_KEY;
2021 wpa_s->mlme.auth_alg = WLAN_AUTH_LEAP;
2023 wpa_s->mlme.auth_alg = WLAN_AUTH_OPEN;
2024 wpa_printf(MSG_DEBUG, "MLME: Initial auth_alg=%d",
2025 wpa_s->mlme.auth_alg);