Home
last modified time | relevance | path

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

12

/NextBSD/contrib/wpa/src/ap/
HDap_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()
HDieee802_11.c255 u16 auth_alg, u16 auth_transaction, u16 resp, in send_auth_reply() argument
274 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply()
283 MAC2STR(dst), auth_alg, auth_transaction, in send_auth_reply()
663 sta->auth_alg = WLAN_AUTH_SAE; in sae_sm_step()
882 u16 auth_alg, auth_transaction, status_code; in handle_auth() local
913 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in handle_auth()
928 MAC2STR(mgmt->sa), auth_alg, auth_transaction, in handle_auth()
934 if (auth_alg == WLAN_AUTH_SHARED_KEY) { in handle_auth()
937 auth_alg); in handle_auth()
949 auth_alg == WLAN_AUTH_OPEN) || in handle_auth()
[all …]
HDdrv_callbacks.c248 (sta->auth_alg != WLAN_AUTH_FT)) { in hostapd_notif_assoc()
275 if (sta->auth_alg == WLAN_AUTH_FT) { in hostapd_notif_assoc()
347 sta->auth_alg, req_ies, req_ies_len); in hostapd_notif_assoc()
351 if (sta->auth_alg == WLAN_AUTH_FT) in hostapd_notif_assoc()
365 if (reassoc && (sta->auth_alg == WLAN_AUTH_FT)) in hostapd_notif_assoc()
696 sta->auth_alg = WLAN_AUTH_FT; in hostapd_notif_auth()
HDwpa_auth_glue.c232 if (sta && sta->auth_alg == WLAN_AUTH_SAE) { in hostapd_wpa_auth_get_psk()
541 sta->auth_alg = WLAN_AUTH_FT; in hostapd_wpa_auth_add_sta()
550 sta->auth_alg = WLAN_AUTH_FT; in hostapd_wpa_auth_add_sta()
HDwpa_auth_ft.c636 size_t max_len, int auth_alg, in wpa_sm_write_assoc_resp_ies() argument
658 if (auth_alg == WLAN_AUTH_FT) { in wpa_sm_write_assoc_resp_ies()
680 if (auth_alg == WLAN_AUTH_FT) { in wpa_sm_write_assoc_resp_ies()
729 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies()
736 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies()
744 if (auth_alg == WLAN_AUTH_FT && in wpa_sm_write_assoc_resp_ies()
HDsta_info.h90 u16 auth_alg; member
HDap_drv_ops.c288 sta->auth_alg == WLAN_AUTH_FT) && in hostapd_set_sta_flags()
359 u16 auth_alg) in hostapd_add_sta_node() argument
363 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node()
HDwpa_auth.h297 size_t max_len, int auth_alg,
HDap_drv_ops.h99 u16 auth_alg);
/NextBSD/contrib/wpa/wpa_supplicant/
HDsme.c240 params.auth_alg = WPA_AUTH_ALG_OPEN; in sme_send_authentication()
245 params.auth_alg = WPA_AUTH_ALG_LEAP; in sme_send_authentication()
247 params.auth_alg |= WPA_AUTH_ALG_LEAP; in sme_send_authentication()
252 params.auth_alg); in sme_send_authentication()
253 if (ssid->auth_alg) { in sme_send_authentication()
254 params.auth_alg = ssid->auth_alg; in sme_send_authentication()
256 "0x%x", params.auth_alg); in sme_send_authentication()
271 params.auth_alg = WPA_AUTH_ALG_SAE; in sme_send_authentication()
382 params.auth_alg = WPA_AUTH_ALG_FT; in sme_send_authentication()
486 if (!skip_auth && params.auth_alg == WPA_AUTH_ALG_SAE && in sme_send_authentication()
[all …]
HDconfig_ssid.h221 int auth_alg; member
HDwpa_priv.c226 params.auth_alg = auth->auth_alg; in wpa_priv_cmd_authenticate()
290 params.auth_alg = assoc->auth_alg; in wpa_priv_cmd_associate()
HDwpa_supplicant.conf1400 auth_alg=SHARED
HDibss_rsn.c493 auth.u.auth.auth_alg = host_to_le16(WLAN_AUTH_OPEN); in ibss_rsn_send_auth()
893 if (le_to_host16(header->u.auth.auth_alg) != WLAN_AUTH_OPEN || in ibss_rsn_handle_auth()
HDwps_supplicant.c297 if (ssid->auth_alg != new_ssid->auth_alg || in wpas_wps_remove_dup_network()
498 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
513 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
518 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
HDmesh_rsn.c90 if (sta && sta->auth_alg == WLAN_AUTH_SAE) { in auth_get_psk()
HDconfig.c1046 ssid->auth_alg = val; in wpa_config_parse_auth_alg()
1063 if (ssid->auth_alg & WPA_AUTH_ALG_OPEN) { in wpa_config_write_auth_alg()
1073 if (ssid->auth_alg & WPA_AUTH_ALG_SHARED) { in wpa_config_write_auth_alg()
1083 if (ssid->auth_alg & WPA_AUTH_ALG_LEAP) { in wpa_config_write_auth_alg()
1837 { FUNC(auth_alg) },
HDap.c252 if (ssid->auth_alg) in wpa_supplicant_conf_ap()
253 bss->auth_algs = ssid->auth_alg; in wpa_supplicant_conf_ap()
/NextBSD/contrib/wpa/src/common/
HDprivsep_commands.h38 int auth_alg; member
61 int auth_alg; member
/NextBSD/contrib/wpa/src/drivers/
HDdriver_privsep.c235 params->auth_alg, params->local_state_change, params->p2p); in wpa_driver_privsep_authenticate()
246 data->auth_alg = params->auth_alg; in wpa_driver_privsep_authenticate()
285 params->auth_alg, params->mode); in wpa_driver_privsep_associate()
302 data->auth_alg = params->auth_alg; in wpa_driver_privsep_associate()
HDdriver_bsd.c1011 wpa_driver_bsd_set_auth_alg(void *priv, int auth_alg) in wpa_driver_bsd_set_auth_alg() argument
1015 if ((auth_alg & WPA_AUTH_ALG_OPEN) && in wpa_driver_bsd_set_auth_alg()
1016 (auth_alg & WPA_AUTH_ALG_SHARED)) in wpa_driver_bsd_set_auth_alg()
1018 else if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_bsd_set_auth_alg()
1092 if (wpa_driver_bsd_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_bsd_associate()
HDdriver_nl80211.h177 int auth_alg; member
HDdriver.h426 int auth_alg; member
644 int auth_alg; member
2983 int (*add_sta_node)(void *priv, const u8 *addr, u16 auth_alg);
/NextBSD/contrib/tcpdump/
HDprint-802_11.c276 uint16_t auth_alg; member
1762 pbody.auth_alg = EXTRACT_LE_16BITS(p); in handle_auth()
1774 if ((pbody.auth_alg == 1) && in handle_auth()
1778 (pbody.auth_alg < NUM_AUTH_ALGS) in handle_auth()
1779 ? auth_alg_text[pbody.auth_alg] in handle_auth()
1789 (pbody.auth_alg < NUM_AUTH_ALGS) in handle_auth()
1790 ? auth_alg_text[pbody.auth_alg] in handle_auth()
/NextBSD/sbin/setkey/
HDparse.y290 : F_ENC enc_alg F_AUTH auth_alg
295 : F_AUTH auth_alg
430 auth_alg

12