Home
last modified time | relevance | path

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

123

/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.c236 u16 auth_alg, u16 auth_transaction, u16 resp, in send_auth_reply() argument
255 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply()
264 MAC2STR(dst), auth_alg, auth_transaction, in send_auth_reply()
302 u16 auth_alg, auth_transaction, status_code; in handle_auth() local
323 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in handle_auth()
336 MAC2STR(mgmt->sa), auth_alg, auth_transaction, in handle_auth()
346 auth_alg == WLAN_AUTH_OPEN) || in handle_auth()
349 auth_alg == WLAN_AUTH_FT) || in handle_auth()
352 auth_alg == WLAN_AUTH_SHARED_KEY))) { in handle_auth()
354 auth_alg); in handle_auth()
[all …]
Ddrv_callbacks.c191 (sta->auth_alg != WLAN_AUTH_FT)) { in hostapd_notif_assoc()
220 if (sta->auth_alg == WLAN_AUTH_FT) { in hostapd_notif_assoc()
268 sta->auth_alg, req_ies, req_ies_len); in hostapd_notif_assoc()
280 if (reassoc && (sta->auth_alg == WLAN_AUTH_FT)) in hostapd_notif_assoc()
454 sta->auth_alg = WLAN_AUTH_FT; in hostapd_notif_auth()
Dsta_info.h61 u16 auth_alg; member
Dap_drv_ops.c244 sta->auth_alg == WLAN_AUTH_FT) && in hostapd_set_sta_flags()
308 u16 auth_alg) in hostapd_add_sta_node() argument
312 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node()
Dwpa_auth_ft.c618 size_t max_len, int auth_alg, in wpa_sm_write_assoc_resp_ies() argument
641 if (auth_alg == WLAN_AUTH_FT) { in wpa_sm_write_assoc_resp_ies()
663 if (auth_alg == WLAN_AUTH_FT) { in wpa_sm_write_assoc_resp_ies()
712 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies()
719 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies()
727 if (auth_alg == WLAN_AUTH_FT && in wpa_sm_write_assoc_resp_ies()
/external/wpa_supplicant_8/wpa_supplicant/
Dsme.c80 params.auth_alg = WPA_AUTH_ALG_OPEN; in sme_authenticate()
85 params.auth_alg = WPA_AUTH_ALG_LEAP; in sme_authenticate()
87 params.auth_alg |= WPA_AUTH_ALG_LEAP; in sme_authenticate()
92 params.auth_alg); in sme_authenticate()
93 if (ssid->auth_alg) { in sme_authenticate()
94 params.auth_alg = ssid->auth_alg; in sme_authenticate()
96 "0x%x", params.auth_alg); in sme_authenticate()
198 params.auth_alg = WPA_AUTH_ALG_FT; in sme_authenticate()
284 wpa_s->sme.auth_alg = params.auth_alg; in sme_authenticate()
341 wpa_s->sme.auth_alg == data->auth.auth_type || in sme_event_auth()
[all …]
Dconfig_ssid.h184 int auth_alg; member
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_ndiswrapper.c59 int auth_alg; member
238 wpa_assoc_info.auth_alg = params->auth_alg; in wpa_ndiswrapper_associate()
249 static int wpa_ndiswrapper_set_auth_alg(void *priv, int auth_alg) in wpa_ndiswrapper_set_auth_alg() argument
257 priv_req.u.param.value = auth_alg; in wpa_ndiswrapper_set_auth_alg()
Ddriver_ipw.c345 static int wpa_driver_ipw_set_auth_alg(void *priv, int auth_alg) in wpa_driver_ipw_set_auth_alg() argument
350 if (auth_alg & AUTH_ALG_OPEN_SYSTEM) in wpa_driver_ipw_set_auth_alg()
352 if (auth_alg & AUTH_ALG_SHARED_KEY) in wpa_driver_ipw_set_auth_alg()
354 if (auth_alg & AUTH_ALG_LEAP) in wpa_driver_ipw_set_auth_alg()
Ddriver_hostap.c402 static int wpa_driver_hostap_set_auth_alg(void *priv, int auth_alg) in wpa_driver_hostap_set_auth_alg() argument
407 if (auth_alg & AUTH_ALG_OPEN_SYSTEM) in wpa_driver_hostap_set_auth_alg()
409 if (auth_alg & AUTH_ALG_SHARED_KEY) in wpa_driver_hostap_set_auth_alg()
411 if (auth_alg & AUTH_ALG_LEAP) in wpa_driver_hostap_set_auth_alg()
Ddriver_madwifi.c409 wpa_driver_madwifi_set_auth_alg(void *priv, int auth_alg) in wpa_driver_madwifi_set_auth_alg() argument
414 if ((auth_alg & AUTH_ALG_OPEN_SYSTEM) && in wpa_driver_madwifi_set_auth_alg()
415 (auth_alg & AUTH_ALG_SHARED_KEY)) in wpa_driver_madwifi_set_auth_alg()
417 else if (auth_alg & AUTH_ALG_SHARED_KEY) in wpa_driver_madwifi_set_auth_alg()
Ddriver.h203 int auth_alg; member
663 int (*set_auth_alg)(void *priv, int auth_alg);
Ddriver_bsd.c417 wpa_driver_bsd_set_auth_alg(void *priv, int auth_alg) in wpa_driver_bsd_set_auth_alg() argument
422 if ((auth_alg & AUTH_ALG_OPEN_SYSTEM) && in wpa_driver_bsd_set_auth_alg()
423 (auth_alg & AUTH_ALG_SHARED_KEY)) in wpa_driver_bsd_set_auth_alg()
425 else if (auth_alg & AUTH_ALG_SHARED_KEY) in wpa_driver_bsd_set_auth_alg()
Ddriver_privsep.c244 params->auth_alg, params->mode); in wpa_driver_privsep_associate()
259 data->auth_alg = params->auth_alg; in wpa_driver_privsep_associate()
/external/wpa_supplicant_6/wpa_supplicant/
Dmlme.c257 mgmt->u.auth.auth_alg = host_to_le16(wpa_s->mlme.auth_alg); in ieee80211_send_auth()
312 wpa_s->mlme.auth_alg = WLAN_AUTH_FT; in ieee80211_authenticate()
422 if (wpa_s->mlme.extra_ie && wpa_s->mlme.auth_alg != WLAN_AUTH_FT) { in ieee80211_send_assoc()
431 wpa_s->mlme.auth_alg != WLAN_AUTH_FT && in ieee80211_send_assoc()
446 wpa_s->mlme.auth_alg == WLAN_AUTH_FT && wpa_s->mlme.ft_ies) { in ieee80211_send_assoc()
768 u16 auth_alg, auth_transaction, status_code; in ieee80211_rx_mgmt_auth() local
803 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in ieee80211_rx_mgmt_auth()
809 MAC2STR(mgmt->sa), auth_alg, auth_transaction, status_code); in ieee80211_rx_mgmt_auth()
817 if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1) { in ieee80211_rx_mgmt_auth()
821 auth_alg, auth_transaction); in ieee80211_rx_mgmt_auth()
[all …]
Dwps_supplicant.c312 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
317 ssid->auth_alg = WPA_AUTH_ALG_SHARED; in wpa_supplicant_wps_cred()
322 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
327 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
332 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
337 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
Dconfig_ssid.h166 int auth_alg; member
Dwpa_supplicant_i.h218 int auth_alg; /* currently used IEEE 802.11 authentication algorithm */ member
477 int auth_alg) in wpa_drv_set_auth_alg() argument
481 auth_alg); in wpa_drv_set_auth_alg()
/external/wpa_supplicant_8/src/common/
Dprivsep_commands.h38 int auth_alg; member
/external/wpa_supplicant_6/wpa_supplicant/src/common/
Dprivsep_commands.h46 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()
/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_bsd.c983 wpa_driver_bsd_set_auth_alg(void *priv, int auth_alg) in wpa_driver_bsd_set_auth_alg() argument
987 if ((auth_alg & WPA_AUTH_ALG_OPEN) && in wpa_driver_bsd_set_auth_alg()
988 (auth_alg & WPA_AUTH_ALG_SHARED)) in wpa_driver_bsd_set_auth_alg()
990 else if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_bsd_set_auth_alg()
1057 if (wpa_driver_bsd_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_bsd_associate()
Ddriver_wext.c42 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg);
2036 if (params->auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_auth_alg_fallback()
2038 if (params->auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_auth_alg_fallback()
2072 if (wpa_driver_wext_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_wext_associate()
2170 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg) in wpa_driver_wext_set_auth_alg() argument
2175 if (auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_set_auth_alg()
2177 if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_set_auth_alg()
2179 if (auth_alg & WPA_AUTH_ALG_LEAP) in wpa_driver_wext_set_auth_alg()

123