Home
last modified time | relevance | path

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

123

/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 && 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 …]
Dieee802_11.c351 u16 auth_alg, u16 auth_transaction, u16 resp, in send_auth_reply() argument
371 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply()
380 MAC2STR(dst), auth_alg, auth_transaction, in send_auth_reply()
385 auth_alg == WLAN_AUTH_SAE) { in send_auth_reply()
872 sta->auth_alg = WLAN_AUTH_SAE; in sae_accept_sta()
1655 const u8 *pos, size_t len, u16 auth_alg, in handle_auth_fils() argument
1678 if (auth_alg == WLAN_AUTH_FILS_SK_PFS) { in handle_auth_fils()
2110 u16 auth_alg; in handle_auth_fils_finish() local
2112 auth_alg = (pub || in handle_auth_fils_finish()
2115 send_auth_reply(hapd, sta, sta->addr, hapd->own_addr, auth_alg, 2, resp, in handle_auth_fils_finish()
[all …]
Ddrv_callbacks.c399 (sta->auth_alg != WLAN_AUTH_FT)) { in hostapd_notif_assoc()
425 if (sta->auth_alg == WLAN_AUTH_FT) { in hostapd_notif_assoc()
441 sta->auth_alg == WLAN_AUTH_SAE && in hostapd_notif_assoc()
521 sta->auth_alg, req_ies, req_ies_len, in hostapd_notif_assoc()
530 if (sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_notif_assoc()
531 sta->auth_alg == WLAN_AUTH_FILS_SK_PFS || in hostapd_notif_assoc()
532 sta->auth_alg == WLAN_AUTH_FILS_PK) { in hostapd_notif_assoc()
671 if (sta->auth_alg == WLAN_AUTH_FT || in hostapd_notif_assoc()
672 sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_notif_assoc()
673 sta->auth_alg == WLAN_AUTH_FILS_SK_PFS || in hostapd_notif_assoc()
[all …]
Dap_drv_ops.c282 sta->auth_alg == WLAN_AUTH_FT) && in hostapd_set_sta_flags()
351 u16 auth_alg) in hostapd_add_sta_node() argument
355 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node()
381 if (sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_sta_auth()
382 sta->auth_alg == WLAN_AUTH_FILS_SK_PFS || in hostapd_sta_auth()
383 sta->auth_alg == WLAN_AUTH_FILS_PK) { in hostapd_sta_auth()
Dwpa_auth_ie.c879 (sm->auth_alg == WLAN_AUTH_FILS_SK || in wpa_validate_wpa_ie()
880 sm->auth_alg == WLAN_AUTH_FILS_SK_PFS || in wpa_validate_wpa_ie()
881 sm->auth_alg == WLAN_AUTH_FILS_PK) && in wpa_validate_wpa_ie()
Dwpa_auth.h436 size_t max_len, int auth_alg,
512 void wpa_auth_set_auth_alg(struct wpa_state_machine *sm, u16 auth_alg);
Dwpa_auth_i.h25 u16 auth_alg; member
Dwpa_auth_ft.c2465 size_t max_len, int auth_alg, in wpa_sm_write_assoc_resp_ies() argument
2496 if (auth_alg == WLAN_AUTH_FT && in wpa_sm_write_assoc_resp_ies()
2521 if (auth_alg == WLAN_AUTH_FT || in wpa_sm_write_assoc_resp_ies()
2522 ((auth_alg == WLAN_AUTH_FILS_SK || in wpa_sm_write_assoc_resp_ies()
2523 auth_alg == WLAN_AUTH_FILS_SK_PFS || in wpa_sm_write_assoc_resp_ies()
2524 auth_alg == WLAN_AUTH_FILS_PK) && in wpa_sm_write_assoc_resp_ies()
2557 if (auth_alg == WLAN_AUTH_FT) { in wpa_sm_write_assoc_resp_ies()
2648 rsnxe_used = (auth_alg == WLAN_AUTH_FT) && in wpa_sm_write_assoc_resp_ies()
2679 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies()
2687 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies()
[all …]
Dsta_info.h126 u16 auth_alg; member
Dieee802_11.h180 const u8 *pos, size_t len, u16 auth_alg,
/external/wpa_supplicant_8/wpa_supplicant/
Dsme.c332 params.auth_alg = WPA_AUTH_ALG_OPEN; in sme_send_authentication()
337 params.auth_alg = WPA_AUTH_ALG_LEAP; in sme_send_authentication()
339 params.auth_alg |= WPA_AUTH_ALG_LEAP; in sme_send_authentication()
344 params.auth_alg); in sme_send_authentication()
345 if (ssid->auth_alg) { in sme_send_authentication()
346 params.auth_alg = ssid->auth_alg; in sme_send_authentication()
348 "0x%x", params.auth_alg); in sme_send_authentication()
369 params.auth_alg = WPA_AUTH_ALG_SAE; in sme_send_authentication()
530 params.auth_alg = WPA_AUTH_ALG_FT; in sme_send_authentication()
702 if (!skip_auth && params.auth_alg == WPA_AUTH_ALG_SAE && in sme_send_authentication()
[all …]
Dconfig_ssid.h280 int auth_alg; member
Dwpa_priv.c269 params.auth_alg = auth->auth_alg; in wpa_priv_cmd_authenticate()
333 params.auth_alg = assoc->auth_alg; in wpa_priv_cmd_associate()
Dwpa_supplicant.conf1845 auth_alg=SHARED
Dwps_supplicant.c304 if (ssid->auth_alg != new_ssid->auth_alg || in wpas_wps_remove_dup_network()
515 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
530 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
535 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
539 ssid->auth_alg = 0; in wpa_supplicant_wps_cred()
Dibss_rsn.c516 auth.u.auth.auth_alg = host_to_le16(WLAN_AUTH_OPEN); in ibss_rsn_send_auth()
927 if (le_to_host16(header->u.auth.auth_alg) != WLAN_AUTH_OPEN || in ibss_rsn_handle_auth()
/external/wpa_supplicant_8/src/common/
Dprivsep_commands.h48 int auth_alg; member
70 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.c260 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()
Ddriver_wext.c39 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg);
2091 if (params->auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_auth_alg_fallback()
2093 if (params->auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_auth_alg_fallback()
2132 if (wpa_driver_wext_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_wext_associate()
2229 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg) in wpa_driver_wext_set_auth_alg() argument
2234 if (auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_set_auth_alg()
2236 if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_set_auth_alg()
2238 if (auth_alg & WPA_AUTH_ALG_LEAP) in wpa_driver_wext_set_auth_alg()
Ddriver_bsd.c1066 wpa_driver_bsd_set_auth_alg(void *priv, int auth_alg) in wpa_driver_bsd_set_auth_alg() argument
1070 if ((auth_alg & WPA_AUTH_ALG_OPEN) && in wpa_driver_bsd_set_auth_alg()
1071 (auth_alg & WPA_AUTH_ALG_SHARED)) in wpa_driver_bsd_set_auth_alg()
1073 else if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_bsd_set_auth_alg()
1140 if (wpa_driver_bsd_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_bsd_associate()
Ddriver_nl80211.h206 int auth_alg; member
Ddriver_atheros.c930 if (le_to_host16(mgmt->u.auth.auth_alg) == WLAN_AUTH_SAE) { in atheros_raw_receive()
938 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in atheros_raw_receive()
2018 static int atheros_add_sta_node(void *priv, const u8 *addr, u16 auth_alg) in atheros_add_sta_node() argument
2027 addnode->auth_alg = auth_alg; in atheros_add_sta_node()
Ddriver.h663 int auth_alg; member
962 int auth_alg; member
3804 int (*add_sta_node)(void *priv, const u8 *addr, u16 auth_alg);
/external/tcpdump/
Dprint-802_11.c280 uint16_t auth_alg; member
1454 pbody.auth_alg = EXTRACT_LE_16BITS(p); in handle_auth()
1466 if ((pbody.auth_alg == 1) && in handle_auth()
1470 (pbody.auth_alg < NUM_AUTH_ALGS) in handle_auth()
1471 ? auth_alg_text[pbody.auth_alg] in handle_auth()
1481 (pbody.auth_alg < NUM_AUTH_ALGS) in handle_auth()
1482 ? auth_alg_text[pbody.auth_alg] in handle_auth()

123