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.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()
107 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.c262 u16 auth_alg, u16 auth_transaction, u16 resp, in send_auth_reply() argument
281 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply()
290 MAC2STR(dst), auth_alg, auth_transaction, in send_auth_reply()
512 sta->auth_alg = WLAN_AUTH_SAE; in handle_auth_sae()
532 sta->auth_alg = WLAN_AUTH_SAE; in handle_auth_sae()
546 u16 auth_alg, auth_transaction, status_code; in handle_auth() local
576 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in handle_auth()
589 MAC2STR(mgmt->sa), auth_alg, auth_transaction, in handle_auth()
599 auth_alg == WLAN_AUTH_OPEN) || in handle_auth()
602 auth_alg == WLAN_AUTH_FT) || in handle_auth()
[all …]
Ddrv_callbacks.c240 (sta->auth_alg != WLAN_AUTH_FT)) { in hostapd_notif_assoc()
269 if (sta->auth_alg == WLAN_AUTH_FT) { in hostapd_notif_assoc()
340 sta->auth_alg, req_ies, req_ies_len); in hostapd_notif_assoc()
344 if (sta->auth_alg == WLAN_AUTH_FT) in hostapd_notif_assoc()
358 if (reassoc && (sta->auth_alg == WLAN_AUTH_FT)) in hostapd_notif_assoc()
592 sta->auth_alg = WLAN_AUTH_FT; in hostapd_notif_auth()
Dwpa_auth_glue.c216 if (sta && sta->auth_alg == WLAN_AUTH_SAE) { in hostapd_wpa_auth_get_psk()
490 sta->auth_alg = WLAN_AUTH_FT; in hostapd_wpa_auth_add_sta()
499 sta->auth_alg = WLAN_AUTH_FT; in hostapd_wpa_auth_add_sta()
Dsta_info.h65 u16 auth_alg; member
Dap_drv_ops.c262 sta->auth_alg == WLAN_AUTH_FT) && in hostapd_set_sta_flags()
327 u16 auth_alg) in hostapd_add_sta_node() argument
331 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node()
Dwpa_auth_ft.c638 size_t max_len, int auth_alg, in wpa_sm_write_assoc_resp_ies() argument
660 if (auth_alg == WLAN_AUTH_FT) { in wpa_sm_write_assoc_resp_ies()
682 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()
738 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies()
746 if (auth_alg == WLAN_AUTH_FT && in wpa_sm_write_assoc_resp_ies()
Dwpa_auth.h287 size_t max_len, int auth_alg,
Dap_drv_ops.h98 u16 auth_alg);
/external/wpa_supplicant_8/wpa_supplicant/
Dsme.c183 params.auth_alg = WPA_AUTH_ALG_OPEN; in sme_send_authentication()
188 params.auth_alg = WPA_AUTH_ALG_LEAP; in sme_send_authentication()
190 params.auth_alg |= WPA_AUTH_ALG_LEAP; in sme_send_authentication()
195 params.auth_alg); in sme_send_authentication()
196 if (ssid->auth_alg) { in sme_send_authentication()
197 params.auth_alg = ssid->auth_alg; in sme_send_authentication()
199 "0x%x", params.auth_alg); in sme_send_authentication()
211 params.auth_alg = WPA_AUTH_ALG_SAE; in sme_send_authentication()
320 params.auth_alg = WPA_AUTH_ALG_FT; in sme_send_authentication()
394 if (params.auth_alg == WPA_AUTH_ALG_SAE) { in sme_send_authentication()
[all …]
Dconfig_ssid.h200 int auth_alg; member
Dwpa_supplicant.conf1285 auth_alg=SHARED
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()
Dwps_supplicant.c287 if (ssid->auth_alg != new_ssid->auth_alg || in wpas_wps_remove_dup_network()
479 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
494 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
499 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
Dap.c212 if (ssid->auth_alg) in wpa_supplicant_conf_ap()
213 bss->auth_algs = ssid->auth_alg; in wpa_supplicant_conf_ap()
/external/wpa_supplicant_8/src/common/
Dprivsep_commands.h38 int auth_alg; member
/external/tcpdump/
Dprint-802_11.c1127 pbody.auth_alg = EXTRACT_LE_16BITS(p); in handle_auth()
1139 if ((pbody.auth_alg == 1) && in handle_auth()
1143 (pbody.auth_alg < NUM_AUTH_ALGS) in handle_auth()
1144 ? auth_alg_text[pbody.auth_alg] in handle_auth()
1154 (pbody.auth_alg < NUM_AUTH_ALGS) in handle_auth()
1155 ? auth_alg_text[pbody.auth_alg] in handle_auth()
Dieee802_11.h232 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.c38 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg);
2000 if (params->auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_auth_alg_fallback()
2002 if (params->auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_auth_alg_fallback()
2040 if (wpa_driver_wext_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_wext_associate()
2139 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg) in wpa_driver_wext_set_auth_alg() argument
2144 if (auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_set_auth_alg()
2146 if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_set_auth_alg()
2148 if (auth_alg & WPA_AUTH_ALG_LEAP) in wpa_driver_wext_set_auth_alg()
Ddriver_bsd.c1002 wpa_driver_bsd_set_auth_alg(void *priv, int auth_alg) in wpa_driver_bsd_set_auth_alg() argument
1006 if ((auth_alg & WPA_AUTH_ALG_OPEN) && in wpa_driver_bsd_set_auth_alg()
1007 (auth_alg & WPA_AUTH_ALG_SHARED)) in wpa_driver_bsd_set_auth_alg()
1009 else if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_bsd_set_auth_alg()
1076 if (wpa_driver_bsd_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_bsd_associate()
Ddriver.h389 int auth_alg; member
546 int auth_alg; member
2684 int (*add_sta_node)(void *priv, const u8 *addr, u16 auth_alg);
Ddriver_nl80211.c345 int auth_alg; member
1482 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in mlme_event_auth()
6182 drv->auth_alg = params->auth_alg; in nl80211_copy_auth_params()
6302 if (params->auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_nl80211_authenticate()
6304 else if (params->auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_nl80211_authenticate()
6306 else if (params->auth_alg & WPA_AUTH_ALG_LEAP) in wpa_driver_nl80211_authenticate()
6308 else if (params->auth_alg & WPA_AUTH_ALG_FT) in wpa_driver_nl80211_authenticate()
6310 else if (params->auth_alg & WPA_AUTH_ALG_SAE) in wpa_driver_nl80211_authenticate()
6410 params.auth_alg = drv->auth_alg; in wpa_driver_nl80211_authenticate_retry()
7270 u16 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in wpa_driver_nl80211_send_mlme() local
[all …]
Ddriver_atheros.c861 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in atheros_raw_recv_11r()
1986 static int atheros_add_sta_node(void *priv, const u8 *addr, u16 auth_alg) in atheros_add_sta_node() argument
1995 addnode->auth_alg = auth_alg; in atheros_add_sta_node()

12