Home
last modified time | relevance | path

Searched refs:auth_alg (Results 1 – 25 of 42) sorted by relevance

12

/external/wpa_supplicant_8/src/ap/
Dap_mlme.c59 MAC2STR(sta->addr), mlme_auth_alg_str(sta->auth_alg)); in mlme_authenticate_indication()
60 if (sta->auth_alg != WLAN_AUTH_FT && !(sta->flags & WLAN_STA_MFP)) in mlme_authenticate_indication()
108 if (sta->auth_alg != WLAN_AUTH_FT) in mlme_associate_indication()
133 if (sta->auth_alg != WLAN_AUTH_FT) in mlme_reassociate_indication()
Dieee802_11.c257 u16 auth_alg, u16 auth_transaction, u16 resp, in send_auth_reply() argument
277 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply()
286 MAC2STR(dst), auth_alg, auth_transaction, in send_auth_reply()
560 sta->auth_alg = WLAN_AUTH_SAE; in sae_accept_sta()
928 u16 auth_alg, auth_transaction, status_code; in handle_auth() local
961 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in handle_auth()
976 MAC2STR(mgmt->sa), auth_alg, auth_transaction, in handle_auth()
982 if (auth_alg == WLAN_AUTH_SHARED_KEY) { in handle_auth()
985 auth_alg); in handle_auth()
997 auth_alg == WLAN_AUTH_OPEN) || in handle_auth()
[all …]
Ddrv_callbacks.c263 (sta->auth_alg != WLAN_AUTH_FT)) { in hostapd_notif_assoc()
290 if (sta->auth_alg == WLAN_AUTH_FT) { in hostapd_notif_assoc()
373 sta->auth_alg, req_ies, req_ies_len); in hostapd_notif_assoc()
377 if (sta->auth_alg == WLAN_AUTH_FT) in hostapd_notif_assoc()
391 if (reassoc && (sta->auth_alg == WLAN_AUTH_FT)) in hostapd_notif_assoc()
728 sta->auth_alg = WLAN_AUTH_FT; in hostapd_notif_auth()
Dwpa_auth_glue.c233 if (sta && sta->auth_alg == WLAN_AUTH_SAE) { in hostapd_wpa_auth_get_psk()
551 sta->auth_alg = WLAN_AUTH_FT; in hostapd_wpa_auth_add_sta()
560 sta->auth_alg = WLAN_AUTH_FT; in hostapd_wpa_auth_add_sta()
Dwpa_auth_ft.c636 size_t max_len, int auth_alg, in wpa_sm_write_assoc_resp_ies() argument
658 if (auth_alg == WLAN_AUTH_FT) { in wpa_sm_write_assoc_resp_ies()
680 if (auth_alg == WLAN_AUTH_FT) { in wpa_sm_write_assoc_resp_ies()
724 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies()
731 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies()
739 if (auth_alg == WLAN_AUTH_FT && in wpa_sm_write_assoc_resp_ies()
Dsta_info.h108 u16 auth_alg; member
Dap_drv_ops.c260 sta->auth_alg == WLAN_AUTH_FT) && in hostapd_set_sta_flags()
331 u16 auth_alg) in hostapd_add_sta_node() argument
335 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node()
Dwpa_auth.h316 size_t max_len, int auth_alg,
Dap_drv_ops.h102 u16 auth_alg);
/external/wpa_supplicant_8/wpa_supplicant/
Dsme.c243 params.auth_alg = WPA_AUTH_ALG_OPEN; in sme_send_authentication()
248 params.auth_alg = WPA_AUTH_ALG_LEAP; in sme_send_authentication()
250 params.auth_alg |= WPA_AUTH_ALG_LEAP; in sme_send_authentication()
255 params.auth_alg); in sme_send_authentication()
256 if (ssid->auth_alg) { in sme_send_authentication()
257 params.auth_alg = ssid->auth_alg; in sme_send_authentication()
259 "0x%x", params.auth_alg); in sme_send_authentication()
274 params.auth_alg = WPA_AUTH_ALG_SAE; in sme_send_authentication()
385 params.auth_alg = WPA_AUTH_ALG_FT; in sme_send_authentication()
518 if (!skip_auth && params.auth_alg == WPA_AUTH_ALG_SAE && in sme_send_authentication()
[all …]
Dconfig_ssid.h221 int auth_alg; member
Dwpa_priv.c233 params.auth_alg = auth->auth_alg; in wpa_priv_cmd_authenticate()
297 params.auth_alg = assoc->auth_alg; in wpa_priv_cmd_associate()
Dwpa_supplicant.conf1499 auth_alg=SHARED
Dibss_rsn.c493 auth.u.auth.auth_alg = host_to_le16(WLAN_AUTH_OPEN); in ibss_rsn_send_auth()
893 if (le_to_host16(header->u.auth.auth_alg) != WLAN_AUTH_OPEN || in ibss_rsn_handle_auth()
Dwps_supplicant.c297 if (ssid->auth_alg != new_ssid->auth_alg || in wpas_wps_remove_dup_network()
498 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
513 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
518 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
/external/wpa_supplicant_8/src/common/
Dprivsep_commands.h38 int auth_alg; member
61 int auth_alg; member
/external/autotest/server/site_tests/network_WiFi_SimpleConnect/
Dcontrol.wifi_checkHiddenWEP32 for auth_alg in auth_algs:
35 auth_algorithm=auth_alg)
/external/wpa_supplicant_8/src/drivers/
Ddriver_privsep.c235 params->auth_alg, params->local_state_change, params->p2p); in wpa_driver_privsep_authenticate()
246 data->auth_alg = params->auth_alg; in wpa_driver_privsep_authenticate()
285 params->auth_alg, params->mode); in wpa_driver_privsep_associate()
302 data->auth_alg = params->auth_alg; in wpa_driver_privsep_associate()
Ddriver_wext.c39 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg);
2103 if (params->auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_auth_alg_fallback()
2105 if (params->auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_auth_alg_fallback()
2144 if (wpa_driver_wext_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_wext_associate()
2243 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg) in wpa_driver_wext_set_auth_alg() argument
2248 if (auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_set_auth_alg()
2250 if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_set_auth_alg()
2252 if (auth_alg & WPA_AUTH_ALG_LEAP) in wpa_driver_wext_set_auth_alg()
Ddriver_bsd.c1036 wpa_driver_bsd_set_auth_alg(void *priv, int auth_alg) in wpa_driver_bsd_set_auth_alg() argument
1040 if ((auth_alg & WPA_AUTH_ALG_OPEN) && in wpa_driver_bsd_set_auth_alg()
1041 (auth_alg & WPA_AUTH_ALG_SHARED)) in wpa_driver_bsd_set_auth_alg()
1043 else if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_bsd_set_auth_alg()
1110 if (wpa_driver_bsd_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_bsd_associate()
Ddriver_nl80211.h188 int auth_alg; member
Ddriver.h467 int auth_alg; member
685 int auth_alg; member
3076 int (*add_sta_node)(void *priv, const u8 *addr, u16 auth_alg);
Ddriver_nl80211.c2906 drv->auth_alg = params->auth_alg; in nl80211_copy_auth_params()
3047 if (params->auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_nl80211_authenticate()
3049 else if (params->auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_nl80211_authenticate()
3051 else if (params->auth_alg & WPA_AUTH_ALG_LEAP) in wpa_driver_nl80211_authenticate()
3053 else if (params->auth_alg & WPA_AUTH_ALG_FT) in wpa_driver_nl80211_authenticate()
3055 else if (params->auth_alg & WPA_AUTH_ALG_SAE) in wpa_driver_nl80211_authenticate()
3154 params.auth_alg = drv->auth_alg; in wpa_driver_nl80211_authenticate_retry()
3299 u16 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in wpa_driver_nl80211_send_mlme() local
3301 if (auth_alg != WLAN_AUTH_SHARED_KEY || auth_trans != 3) in wpa_driver_nl80211_send_mlme()
4889 if (params->auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_nl80211_try_connect()
[all …]
Ddriver_atheros.c904 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in atheros_raw_receive()
1902 static int atheros_add_sta_node(void *priv, const u8 *addr, u16 auth_alg) in atheros_add_sta_node() argument
1911 addnode->auth_alg = auth_alg; in atheros_add_sta_node()
/external/tcpdump/
Dprint-802_11.c276 uint16_t auth_alg; member
1762 pbody.auth_alg = EXTRACT_LE_16BITS(p); in handle_auth()
1774 if ((pbody.auth_alg == 1) && in handle_auth()
1778 (pbody.auth_alg < NUM_AUTH_ALGS) in handle_auth()
1779 ? auth_alg_text[pbody.auth_alg] in handle_auth()
1789 (pbody.auth_alg < NUM_AUTH_ALGS) in handle_auth()
1790 ? auth_alg_text[pbody.auth_alg] in handle_auth()

12