| /hostap-latest/src/ap/ |
| D | ap_mlme.c | 59 MAC2STR(sta->addr), mlme_auth_alg_str(sta->auth_alg)); in mlme_authenticate_indication() 60 if (sta->auth_alg != WLAN_AUTH_FT && in mlme_authenticate_indication() 61 sta->auth_alg != WLAN_AUTH_FILS_SK && in mlme_authenticate_indication() 62 sta->auth_alg != WLAN_AUTH_FILS_SK_PFS && in mlme_authenticate_indication() 63 sta->auth_alg != WLAN_AUTH_FILS_PK && in mlme_authenticate_indication() 112 if (sta->auth_alg != WLAN_AUTH_FT && in mlme_associate_indication() 113 sta->auth_alg != WLAN_AUTH_FILS_SK && in mlme_associate_indication() 114 sta->auth_alg != WLAN_AUTH_FILS_SK_PFS && in mlme_associate_indication() 115 sta->auth_alg != WLAN_AUTH_FILS_PK) in mlme_associate_indication() 140 if (sta->auth_alg != WLAN_AUTH_FT && in mlme_reassociate_indication() [all …]
|
| D | ieee802_11.c | 408 u16 auth_alg, u16 auth_transaction, u16 resp, in send_auth_reply() argument 442 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply() 459 MAC2STR(dst), auth_alg, auth_transaction, in send_auth_reply() 464 auth_alg == WLAN_AUTH_SAE) { in send_auth_reply() 966 sta->auth_alg = WLAN_AUTH_SAE; in sae_accept_sta() 1816 const u8 *pos, size_t len, u16 auth_alg, in handle_auth_fils() argument 1839 if (auth_alg == WLAN_AUTH_FILS_SK_PFS) { in handle_auth_fils() 2272 u16 auth_alg; in handle_auth_fils_finish() local 2274 auth_alg = (pub || in handle_auth_fils_finish() 2277 send_auth_reply(hapd, sta, sta->addr, auth_alg, 2, resp, in handle_auth_fils_finish() [all …]
|
| D | drv_callbacks.c | 123 if (!sta->sa_query_timed_out && (sta->auth_alg != WLAN_AUTH_FT)) { in check_sa_query_need() 604 if (sta->auth_alg == WLAN_AUTH_FT) { in hostapd_notif_assoc() 620 sta->auth_alg == WLAN_AUTH_SAE && in hostapd_notif_assoc() 700 sta->auth_alg, req_ies, req_ies_len, in hostapd_notif_assoc() 709 if (sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_notif_assoc() 710 sta->auth_alg == WLAN_AUTH_FILS_SK_PFS || in hostapd_notif_assoc() 711 sta->auth_alg == WLAN_AUTH_FILS_PK) { in hostapd_notif_assoc() 851 if (sta->auth_alg == WLAN_AUTH_FT || in hostapd_notif_assoc() 852 sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_notif_assoc() 853 sta->auth_alg == WLAN_AUTH_FILS_SK_PFS || in hostapd_notif_assoc() [all …]
|
| D | ap_drv_ops.c | 401 u16 auth_alg) in hostapd_add_sta_node() argument 405 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node() 431 if (sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_sta_auth() 432 sta->auth_alg == WLAN_AUTH_FILS_SK_PFS || in hostapd_sta_auth() 433 sta->auth_alg == WLAN_AUTH_FILS_PK) { in hostapd_sta_auth()
|
| D | ieee802_11_eht.c | 950 u16 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in auth_skip_fixed_fields() local 959 switch (auth_alg) { in auth_skip_fixed_fields() 995 auth_alg); in auth_skip_fixed_fields()
|
| D | wpa_auth_ft.c | 2559 size_t max_len, int auth_alg, in wpa_sm_write_assoc_resp_ies() argument 2589 if (auth_alg == WLAN_AUTH_FT && in wpa_sm_write_assoc_resp_ies() 2614 if (auth_alg == WLAN_AUTH_FT || in wpa_sm_write_assoc_resp_ies() 2615 ((auth_alg == WLAN_AUTH_FILS_SK || in wpa_sm_write_assoc_resp_ies() 2616 auth_alg == WLAN_AUTH_FILS_SK_PFS || in wpa_sm_write_assoc_resp_ies() 2617 auth_alg == WLAN_AUTH_FILS_PK) && in wpa_sm_write_assoc_resp_ies() 2650 if (auth_alg == WLAN_AUTH_FT) { in wpa_sm_write_assoc_resp_ies() 2750 rsnxe_used = (auth_alg == WLAN_AUTH_FT) && in wpa_sm_write_assoc_resp_ies() 2804 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies() 2812 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies() [all …]
|
| D | wpa_auth_i.h | 25 u16 auth_alg; member
|
| D | wpa_auth.h | 543 size_t max_len, int auth_alg, 630 void wpa_auth_set_auth_alg(struct wpa_state_machine *sm, u16 auth_alg);
|
| D | wpa_auth_ie.c | 1232 (sm->auth_alg == WLAN_AUTH_FILS_SK || in wpa_validate_wpa_ie() 1233 sm->auth_alg == WLAN_AUTH_FILS_SK_PFS || in wpa_validate_wpa_ie() 1234 sm->auth_alg == WLAN_AUTH_FILS_PK) && in wpa_validate_wpa_ie()
|
| /hostap-latest/tests/hwsim/ |
| D | test_wep.py | 45 dev[0].connect("wep-shared-key", key_mgmt="NONE", auth_alg="SHARED", 49 dev[1].connect("wep-shared-key", key_mgmt="NONE", auth_alg="OPEN SHARED", 61 dev[0].connect("wep-shared-key", key_mgmt="NONE", auth_alg="SHARED", 78 dev[0].connect("wep-shared-key", key_mgmt="NONE", auth_alg="SHARED", 81 dev[1].connect("wep-shared-key", key_mgmt="NONE", auth_alg="SHARED", 86 id = dev[2].connect("wep-shared-key", key_mgmt="NONE", auth_alg="SHARED",
|
| D | test_connect_cmd.py | 61 auth_alg="SHARED", wep_key0='"hello"') 67 auth_alg="OPEN SHARED", wep_key0='"hello"')
|
| D | test_wext.py | 173 wpas.connect("wep-shared-key", key_mgmt="NONE", auth_alg="SHARED", 178 wpas.connect("wep-shared-key", key_mgmt="NONE", auth_alg="OPEN SHARED",
|
| D | test_cfg80211.py | 113 id = dev[0].connect("wep-shared-key", key_mgmt="NONE", auth_alg="SHARED",
|
| /hostap-latest/wpa_supplicant/ |
| D | sme.c | 625 params.auth_alg = WPA_AUTH_ALG_OPEN; in sme_send_authentication() 630 params.auth_alg = WPA_AUTH_ALG_LEAP; in sme_send_authentication() 632 params.auth_alg |= WPA_AUTH_ALG_LEAP; in sme_send_authentication() 637 params.auth_alg); in sme_send_authentication() 638 if (ssid->auth_alg) { in sme_send_authentication() 639 params.auth_alg = ssid->auth_alg; in sme_send_authentication() 641 "0x%x", params.auth_alg); in sme_send_authentication() 666 params.auth_alg = WPA_AUTH_ALG_SAE; in sme_send_authentication() 833 params.auth_alg = WPA_AUTH_ALG_FT; in sme_send_authentication() 1019 if (!skip_auth && params.auth_alg == WPA_AUTH_ALG_SAE && in sme_send_authentication() [all …]
|
| D | wpa_priv.c | 272 params.auth_alg = auth->auth_alg; in wpa_priv_cmd_authenticate() 336 params.auth_alg = assoc->auth_alg; in wpa_priv_cmd_associate()
|
| D | config_ssid.h | 327 int auth_alg; member
|
| D | wpa_supplicant.conf | 2018 auth_alg=SHARED
|
| D | wps_supplicant.c | 314 if (ssid->auth_alg != new_ssid->auth_alg || in wpas_wps_remove_dup_network() 524 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred() 539 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred() 544 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred() 552 ssid->auth_alg = 0; in wpa_supplicant_wps_cred()
|
| D | ibss_rsn.c | 517 auth.u.auth.auth_alg = host_to_le16(WLAN_AUTH_OPEN); in ibss_rsn_send_auth() 931 if (le_to_host16(header->u.auth.auth_alg) != WLAN_AUTH_OPEN || in ibss_rsn_handle_auth()
|
| /hostap-latest/src/common/ |
| D | privsep_commands.h | 48 int auth_alg; member 70 int auth_alg; member
|
| /hostap-latest/src/drivers/ |
| D | driver_privsep.c | 260 params->auth_alg, params->local_state_change, params->p2p); in wpa_driver_privsep_authenticate() 271 data->auth_alg = params->auth_alg; in wpa_driver_privsep_authenticate() 310 params->auth_alg, params->mode); in wpa_driver_privsep_associate() 327 data->auth_alg = params->auth_alg; in wpa_driver_privsep_associate()
|
| D | driver_wext.c | 39 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg); 2092 if (params->auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_auth_alg_fallback() 2094 if (params->auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_auth_alg_fallback() 2133 if (wpa_driver_wext_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_wext_associate() 2230 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg) in wpa_driver_wext_set_auth_alg() argument 2235 if (auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_set_auth_alg() 2237 if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_set_auth_alg() 2239 if (auth_alg & WPA_AUTH_ALG_LEAP) in wpa_driver_wext_set_auth_alg()
|
| D | driver_bsd.c | 1178 wpa_driver_bsd_set_auth_alg(void *priv, int auth_alg) in wpa_driver_bsd_set_auth_alg() argument 1182 if ((auth_alg & WPA_AUTH_ALG_OPEN) && in wpa_driver_bsd_set_auth_alg() 1183 (auth_alg & WPA_AUTH_ALG_SHARED)) in wpa_driver_bsd_set_auth_alg() 1185 else if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_bsd_set_auth_alg() 1252 if (wpa_driver_bsd_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_bsd_associate()
|
| D | driver_atheros.c | 931 if (le_to_host16(mgmt->u.auth.auth_alg) == WLAN_AUTH_SAE) { in atheros_raw_receive() 939 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in atheros_raw_receive() 2019 static int atheros_add_sta_node(void *priv, const u8 *addr, u16 auth_alg) in atheros_add_sta_node() argument 2028 addnode->auth_alg = auth_alg; in atheros_add_sta_node()
|
| /hostap-latest/wlantest/ |
| D | rx_mgmt.c | 673 if (sta->auth_alg != WLAN_AUTH_FILS_SK || in process_fils_auth() 731 if (sta->auth_alg != WLAN_AUTH_FT || in process_ft_auth() 832 if (sta->auth_alg != WLAN_AUTH_SAE || in process_sae_auth() 878 alg = le_to_host16(mgmt->u.auth.auth_alg); in rx_mgmt_auth() 879 sta->auth_alg = alg; in rx_mgmt_auth() 1195 if (sta->auth_alg == WLAN_AUTH_FILS_SK) { in rx_mgmt_assoc_req() 1363 if (sta->auth_alg == WLAN_AUTH_FILS_SK) { in rx_mgmt_assoc_resp() 1511 if (sta->auth_alg == WLAN_AUTH_FILS_SK) { in rx_mgmt_reassoc_req() 2123 if (sta->auth_alg == WLAN_AUTH_FILS_SK) { in rx_mgmt_reassoc_resp()
|