Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/ap/
Dap_mlme.c58 MAC2STR(sta->addr), mlme_auth_alg_str(sta->auth_alg)); in mlme_authenticate_indication()
59 if (sta->auth_alg != WLAN_AUTH_FT && !(sta->flags & WLAN_STA_MFP)) in mlme_authenticate_indication()
105 if (sta->auth_alg != WLAN_AUTH_FT) in mlme_associate_indication()
131 if (sta->auth_alg != WLAN_AUTH_FT) in mlme_reassociate_indication()
Dieee802_11.c258 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()
507 sta->auth_alg = WLAN_AUTH_SAE; in handle_auth_sae()
526 sta->auth_alg = WLAN_AUTH_SAE; in handle_auth_sae()
540 u16 auth_alg, auth_transaction, status_code; in handle_auth() local
570 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in handle_auth()
583 MAC2STR(mgmt->sa), auth_alg, auth_transaction, in handle_auth()
593 auth_alg == WLAN_AUTH_OPEN) || in handle_auth()
596 auth_alg == WLAN_AUTH_FT) || in handle_auth()
[all …]
Ddrv_callbacks.c206 (sta->auth_alg != WLAN_AUTH_FT)) { in hostapd_notif_assoc()
235 if (sta->auth_alg == WLAN_AUTH_FT) { in hostapd_notif_assoc()
283 sta->auth_alg, req_ies, req_ies_len); in hostapd_notif_assoc()
295 if (reassoc && (sta->auth_alg == WLAN_AUTH_FT)) in hostapd_notif_assoc()
485 sta->auth_alg = WLAN_AUTH_FT; in hostapd_notif_auth()
Dwpa_auth_glue.c197 if (sta && sta->auth_alg == WLAN_AUTH_SAE) { in hostapd_wpa_auth_get_psk()
471 sta->auth_alg = WLAN_AUTH_FT; in hostapd_wpa_auth_add_sta()
480 sta->auth_alg = WLAN_AUTH_FT; in hostapd_wpa_auth_add_sta()
Dsta_info.h61 u16 auth_alg; member
Dap_drv_ops.c252 sta->auth_alg == WLAN_AUTH_FT) && in hostapd_set_sta_flags()
316 u16 auth_alg) in hostapd_add_sta_node() argument
320 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node()
Dwpa_auth_ft.c619 size_t max_len, int auth_alg, in wpa_sm_write_assoc_resp_ies() argument
642 if (auth_alg == WLAN_AUTH_FT) { in wpa_sm_write_assoc_resp_ies()
664 if (auth_alg == WLAN_AUTH_FT) { in wpa_sm_write_assoc_resp_ies()
713 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies()
720 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies()
728 if (auth_alg == WLAN_AUTH_FT && in wpa_sm_write_assoc_resp_ies()
Dap_drv_ops.h97 u16 auth_alg);
Dwpa_auth.h276 size_t max_len, int auth_alg,
/external/wpa_supplicant_8/wpa_supplicant/
Dsme.c182 params.auth_alg = WPA_AUTH_ALG_OPEN; in sme_send_authentication()
187 params.auth_alg = WPA_AUTH_ALG_LEAP; in sme_send_authentication()
189 params.auth_alg |= WPA_AUTH_ALG_LEAP; in sme_send_authentication()
194 params.auth_alg); in sme_send_authentication()
195 if (ssid->auth_alg) { in sme_send_authentication()
196 params.auth_alg = ssid->auth_alg; in sme_send_authentication()
198 "0x%x", params.auth_alg); in sme_send_authentication()
210 params.auth_alg = WPA_AUTH_ALG_SAE; in sme_send_authentication()
317 params.auth_alg = WPA_AUTH_ALG_FT; in sme_send_authentication()
383 if (params.auth_alg == WPA_AUTH_ALG_SAE) { in sme_send_authentication()
[all …]
Dconfig_ssid.h193 int auth_alg; member
Dwpa_supplicant.conf1156 auth_alg=SHARED
Dwps_supplicant.c256 if (ssid->auth_alg != new_ssid->auth_alg || in wpas_wps_remove_dup_network()
277 if (ssid->auth_alg == WPA_ALG_WEP) { in wpas_wps_remove_dup_network()
452 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
467 ssid->auth_alg = WPA_AUTH_ALG_SHARED; in wpa_supplicant_wps_cred()
472 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
477 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
Dibss_rsn.c493 auth.u.auth.auth_alg = host_to_le16(WLAN_AUTH_OPEN); in ibss_rsn_send_auth()
889 if (le_to_host16(header->u.auth.auth_alg) != WLAN_AUTH_OPEN || in ibss_rsn_handle_auth()
Dwpa_priv.c213 params.auth_alg = assoc->auth_alg; in wpa_priv_cmd_associate()
Dconfig.c774 ssid->auth_alg = val; in wpa_config_parse_auth_alg()
791 if (ssid->auth_alg & WPA_AUTH_ALG_OPEN) { in wpa_config_write_auth_alg()
801 if (ssid->auth_alg & WPA_AUTH_ALG_SHARED) { in wpa_config_write_auth_alg()
811 if (ssid->auth_alg & WPA_AUTH_ALG_LEAP) { in wpa_config_write_auth_alg()
1528 { FUNC(auth_alg) },
/external/wpa_supplicant_8/src/common/
Dprivsep_commands.h38 int auth_alg; member
/external/tcpdump/
Dprint-802_11.c489 pbody.auth_alg = EXTRACT_LE_16BITS(p); in handle_auth()
498 if ((pbody.auth_alg == 1) && in handle_auth()
502 (pbody.auth_alg < NUM_AUTH_ALGS) in handle_auth()
503 ? auth_alg_text[pbody.auth_alg] in handle_auth()
513 (pbody.auth_alg < NUM_AUTH_ALGS) in handle_auth()
514 ? auth_alg_text[pbody.auth_alg] in handle_auth()
Dieee802_11.h234 u_int16_t auth_alg; member
/external/wpa_supplicant_8/src/drivers/
Ddriver_privsep.c233 params->auth_alg, params->mode); in wpa_driver_privsep_associate()
248 data->auth_alg = params->auth_alg; in wpa_driver_privsep_associate()
Ddriver_wext.c42 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg);
2022 if (params->auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_auth_alg_fallback()
2024 if (params->auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_auth_alg_fallback()
2058 if (wpa_driver_wext_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_wext_associate()
2156 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg) in wpa_driver_wext_set_auth_alg() argument
2161 if (auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_set_auth_alg()
2163 if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_set_auth_alg()
2165 if (auth_alg & WPA_AUTH_ALG_LEAP) in wpa_driver_wext_set_auth_alg()
Ddriver_bsd.c1027 wpa_driver_bsd_set_auth_alg(void *priv, int auth_alg) in wpa_driver_bsd_set_auth_alg() argument
1031 if ((auth_alg & WPA_AUTH_ALG_OPEN) && in wpa_driver_bsd_set_auth_alg()
1032 (auth_alg & WPA_AUTH_ALG_SHARED)) in wpa_driver_bsd_set_auth_alg()
1034 else if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_bsd_set_auth_alg()
1101 if (wpa_driver_bsd_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_bsd_associate()
Ddriver.h342 int auth_alg; member
457 int auth_alg; member
2677 int (*add_sta_node)(void *priv, const u8 *addr, u16 auth_alg);
Ddriver_nl80211.c287 int auth_alg; member
1266 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in mlme_event_auth()
5259 drv->auth_alg = params->auth_alg; in nl80211_copy_auth_params()
5378 if (params->auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_nl80211_authenticate()
5380 else if (params->auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_nl80211_authenticate()
5382 else if (params->auth_alg & WPA_AUTH_ALG_LEAP) in wpa_driver_nl80211_authenticate()
5384 else if (params->auth_alg & WPA_AUTH_ALG_FT) in wpa_driver_nl80211_authenticate()
5386 else if (params->auth_alg & WPA_AUTH_ALG_SAE) in wpa_driver_nl80211_authenticate()
5485 params.auth_alg = drv->auth_alg; in wpa_driver_nl80211_authenticate_retry()
6186 u16 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in wpa_driver_nl80211_send_mlme() local
[all …]
Ddriver_atheros.c829 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in atheros_raw_recv_11r()
1890 static int atheros_add_sta_node(void *priv, const u8 *addr, u16 auth_alg) in atheros_add_sta_node() argument
1899 addnode->auth_alg = auth_alg; in atheros_add_sta_node()

12