Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/wpa/src/ap/
H A Dap_mlme.c60 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()
141 sta->auth_alg != WLAN_AUTH_FILS_SK && in mlme_reassociate_indication()
[all …]
H A Dieee802_11.c321 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply()
753 sta->auth_alg = WLAN_AUTH_SAE; in sae_accept_sta()
1885 u16 auth_alg; in handle_auth_fils_finish() local
1887 auth_alg = (pub || in handle_auth_fils_finish()
2063 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in handle_auth()
2088 auth_alg); in handle_auth()
2121 auth_alg); in handle_auth()
2345 switch (auth_alg) { in handle_auth()
2352 sta->auth_alg = WLAN_AUTH_OPEN; in handle_auth()
2375 sta->auth_alg = WLAN_AUTH_FT; in handle_auth()
[all …]
H A Ddrv_callbacks.c352 (sta->auth_alg != WLAN_AUTH_FT)) { in hostapd_notif_assoc()
379 if (sta->auth_alg == WLAN_AUTH_FT) { in hostapd_notif_assoc()
462 sta->auth_alg, req_ies, req_ies_len); in hostapd_notif_assoc()
470 if (sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_notif_assoc()
472 sta->auth_alg == WLAN_AUTH_FILS_PK) { in hostapd_notif_assoc()
604 if (sta->auth_alg == WLAN_AUTH_FT || in hostapd_notif_assoc()
607 sta->auth_alg == WLAN_AUTH_FILS_PK) in hostapd_notif_assoc()
626 sta->auth_alg == WLAN_AUTH_FILS_PK) in hostapd_notif_assoc()
1059 sta->auth_alg = WLAN_AUTH_FILS_SK; in hostapd_notify_auth_fils_finish()
1095 sta->auth_alg = WLAN_AUTH_FT; in hostapd_notif_auth()
[all …]
H A Dap_drv_ops.c277 sta->auth_alg == WLAN_AUTH_FT) && in hostapd_set_sta_flags()
348 u16 auth_alg) in hostapd_add_sta_node() argument
352 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node()
378 if (sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_sta_auth()
379 sta->auth_alg == WLAN_AUTH_FILS_SK_PFS || in hostapd_sta_auth()
380 sta->auth_alg == WLAN_AUTH_FILS_PK) { in hostapd_sta_auth()
H A Dwpa_auth.h407 size_t max_len, int auth_alg,
481 void wpa_auth_set_auth_alg(struct wpa_state_machine *sm, u16 auth_alg);
H A Dwpa_auth_i.h25 u16 auth_alg; member
H A Dwpa_auth_ie.c864 (sm->auth_alg == WLAN_AUTH_FILS_SK || in wpa_validate_wpa_ie()
865 sm->auth_alg == WLAN_AUTH_FILS_SK_PFS || in wpa_validate_wpa_ie()
866 sm->auth_alg == WLAN_AUTH_FILS_PK) && in wpa_validate_wpa_ie()
H A Dsta_info.h125 u16 auth_alg; member
H A Dieee802_11.h175 const u8 *pos, size_t len, u16 auth_alg,
H A Dwpa_auth_glue.c266 if (sta && sta->auth_alg == WLAN_AUTH_SAE) { in hostapd_wpa_auth_get_psk()
913 sta->auth_alg = WLAN_AUTH_FT; in hostapd_wpa_auth_add_sta()
922 sta->auth_alg = WLAN_AUTH_FT; in hostapd_wpa_auth_add_sta()
/freebsd-12.1/contrib/wpa/wpa_supplicant/
H A Dsme.c291 params.auth_alg = WPA_AUTH_ALG_OPEN; in sme_send_authentication()
303 params.auth_alg); in sme_send_authentication()
304 if (ssid->auth_alg) { in sme_send_authentication()
305 params.auth_alg = ssid->auth_alg; in sme_send_authentication()
307 "0x%x", params.auth_alg); in sme_send_authentication()
488 params.auth_alg = WPA_AUTH_ALG_FT; in sme_send_authentication()
737 int auth_alg; in sme_send_authentication() local
746 auth_alg = ssid->fils_dh_group ? in sme_send_authentication()
748 params.auth_alg = auth_alg; in sme_send_authentication()
751 wpa_s->sme.auth_alg = auth_alg; in sme_send_authentication()
[all …]
H A Dconfig_ssid.h274 int auth_alg; member
H A 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()
H A Dwpa_supplicant.conf1755 auth_alg=SHARED
H A Dibss_rsn.c500 auth.u.auth.auth_alg = host_to_le16(WLAN_AUTH_OPEN); in ibss_rsn_send_auth()
912 if (le_to_host16(header->u.auth.auth_alg) != WLAN_AUTH_OPEN || in ibss_rsn_handle_auth()
H A Dwpa_supplicant.c914 wpa_auth_alg_fils(wpa_s->sme.auth_alg)) in wpa_supplicant_set_state()
918 wpa_auth_alg_fils(wpa_s->auth_alg)) in wpa_supplicant_set_state()
2087 wpa_s->sme.auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_associate()
2685 if (ssid->auth_alg) { in wpas_populate_assoc_ies()
2686 algs = ssid->auth_alg; in wpas_populate_assoc_ies()
2950 params->auth_alg = algs; in wpas_populate_assoc_ies()
2965 if (wpa_s->auth_alg != WPA_AUTH_ALG_OPEN) in wpas_update_fils_connect_params()
2974 if (params.auth_alg != WPA_AUTH_ALG_FILS) { in wpas_update_fils_connect_params()
2979 wpa_s->auth_alg = params.auth_alg; in wpas_update_fils_connect_params()
3209 wpa_s->auth_alg = params.auth_alg; in wpas_start_assoc_cb()
/freebsd-12.1/contrib/wpa/src/common/
H A Dprivsep_commands.h48 int auth_alg; member
70 int auth_alg; member
/freebsd-12.1/contrib/wpa/src/drivers/
H A Ddriver_privsep.c254 params->auth_alg, params->local_state_change, params->p2p); in wpa_driver_privsep_authenticate()
265 data->auth_alg = params->auth_alg; in wpa_driver_privsep_authenticate()
304 params->auth_alg, params->mode); in wpa_driver_privsep_associate()
321 data->auth_alg = params->auth_alg; in wpa_driver_privsep_associate()
H A Ddriver_bsd.c1035 wpa_driver_bsd_set_auth_alg(void *priv, int auth_alg) in wpa_driver_bsd_set_auth_alg() argument
1039 if ((auth_alg & WPA_AUTH_ALG_OPEN) && in wpa_driver_bsd_set_auth_alg()
1040 (auth_alg & WPA_AUTH_ALG_SHARED)) in wpa_driver_bsd_set_auth_alg()
1042 else if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_bsd_set_auth_alg()
1116 if (wpa_driver_bsd_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_bsd_associate()
H A Ddriver_nl80211.h205 int auth_alg; member
H A Ddriver_atheros.c934 if (le_to_host16(mgmt->u.auth.auth_alg) == WLAN_AUTH_SAE) { in atheros_raw_receive()
942 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in atheros_raw_receive()
2031 static int atheros_add_sta_node(void *priv, const u8 *addr, u16 auth_alg) in atheros_add_sta_node() argument
2040 addnode->auth_alg = auth_alg; in atheros_add_sta_node()
H A Ddriver.h638 int auth_alg; member
931 int auth_alg; member
3612 int (*add_sta_node)(void *priv, const u8 *addr, u16 auth_alg);
/freebsd-12.1/contrib/tcpdump/
H A 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()
/freebsd-12.1/sbin/setkey/
H A Dparse.y293 : F_ENC enc_alg F_AUTH auth_alg
298 : F_AUTH auth_alg
433 auth_alg
/freebsd-12.1/sys/dev/mlx5/mlx5_fpga/
H A Dmlx5_ifc_fpga.h402 u8 auth_alg[0x20]; member

12