/hostap-latest/src/wps/ |
D | wps_attr_process.c | 123 const u8 *auth_type) in wps_process_cred_auth_type() argument 125 if (auth_type == NULL) { in wps_process_cred_auth_type() 131 cred->auth_type = WPA_GET_BE16(auth_type); in wps_process_cred_auth_type() 133 cred->auth_type); in wps_process_cred_auth_type() 175 if (cred->auth_type == WPS_AUTH_OPEN && in wps_process_cred_network_key() 213 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key() 235 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key() 255 wps_process_cred_auth_type(cred, attr->auth_type) || in wps_process_cred() 274 wps_process_cred_auth_type(cred, attr->auth_type) || in wps_process_ap_settings()
|
D | wps_enrollee.c | 255 u16 auth_type = wps->wps->ap_auth_type; in wps_build_cred_auth_type() local 262 if (auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred_auth_type() 263 auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred_auth_type() 264 else if (auth_type & WPS_AUTH_WPAPSK) in wps_build_cred_auth_type() 265 auth_type = WPS_AUTH_WPAPSK; in wps_build_cred_auth_type() 266 else if (auth_type & WPS_AUTH_OPEN) in wps_build_cred_auth_type() 267 auth_type = WPS_AUTH_OPEN; in wps_build_cred_auth_type() 269 wpa_printf(MSG_DEBUG, "WPS: * Authentication Type (0x%x)", auth_type); in wps_build_cred_auth_type() 272 wpabuf_put_be16(msg, auth_type); in wps_build_cred_auth_type() 856 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e() [all …]
|
D | wps_registrar.c | 1551 cred->auth_type); in wps_build_cred_auth_type() 1554 wpabuf_put_be16(msg, cred->auth_type); in wps_build_cred_auth_type() 1642 wps->cred.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred() 1664 wps->wps->auth_types, wps->auth_type); in wps_build_cred() 1665 if (wps->auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred() 1666 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred() 1668 else if (wps->auth_type & WPS_AUTH_WPAPSK) in wps_build_cred() 1669 wps->auth_type = WPS_AUTH_WPAPSK; in wps_build_cred() 1671 else if (wps->auth_type & WPS_AUTH_OPEN) in wps_build_cred() 1672 wps->auth_type = WPS_AUTH_OPEN; in wps_build_cred() [all …]
|
D | wps_attr_parse.h | 45 const u8 *auth_type; /* 2 octets */ member
|
D | wps_i.h | 94 u16 auth_type; member
|
D | wps_validate.c | 1043 wps_validate_auth_type(attr.auth_type, 1) || in wps_validate_cred() 1742 wps_validate_auth_type(attr.auth_type, !ap) || in wps_validate_m7_encr() 1814 wps_validate_auth_type(attr.auth_type, ap) || in wps_validate_m8_encr()
|
D | wps_common.c | 371 data.auth_type = wps->auth_types; in wps_get_oob_cred() 393 cred.auth_type = WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK; in wps_get_oob_cred()
|
D | wps_attr_parse.c | 401 attr->auth_type = pos; in wps_set_attr()
|
D | wps.h | 50 u16 auth_type; member
|
/hostap-latest/src/ap/ |
D | wps_hostapd.c | 368 if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK | in hapd_wps_reconfig_in_memory() 374 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_reconfig_in_memory() 375 (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK))) in hapd_wps_reconfig_in_memory() 377 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_reconfig_in_memory() 379 else if (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory() 386 if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA)) in hapd_wps_reconfig_in_memory() 388 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory() 408 (cred->auth_type & WPS_AUTH_WPA2PSK) && in hapd_wps_reconfig_in_memory() 475 cred->auth_type); in hapd_wps_cred_cb() 505 hapd->wps->auth_types = cred->auth_type; in hapd_wps_cred_cb() [all …]
|
D | drv_callbacks.c | 1606 if (rx_auth->auth_type == WLAN_AUTH_FT && hapd->wpa_auth) { in hostapd_notif_auth() 1626 if (rx_auth->auth_type == WLAN_AUTH_FILS_SK) { in hostapd_notif_auth() 1629 rx_auth->auth_type, rx_auth->auth_transaction, in hostapd_notif_auth()
|
/hostap-latest/wpa_supplicant/ |
D | wps_supplicant.c | 379 u16 auth_type; in wpa_supplicant_wps_cred() local 409 cred->auth_type); in wpa_supplicant_wps_cred() 417 auth_type = cred->auth_type; in wpa_supplicant_wps_cred() 418 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_cred() 421 auth_type = WPS_AUTH_WPA2PSK; in wpa_supplicant_wps_cred() 424 if (auth_type != WPS_AUTH_OPEN && in wpa_supplicant_wps_cred() 425 auth_type != WPS_AUTH_WPAPSK && in wpa_supplicant_wps_cred() 426 auth_type != WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred() 429 auth_type); in wpa_supplicant_wps_cred() 433 if (auth_type == WPS_AUTH_WPAPSK || auth_type == WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred() [all …]
|
D | sme.c | 2019 MAC2STR(data->auth.peer), data->auth.auth_type, in sme_event_auth() 2027 if (data->auth.auth_type == WLAN_AUTH_SAE) { in sme_event_auth() 2071 MAC2STR(data->auth.peer), data->auth.auth_type, in sme_event_auth() 2085 wpa_s->sme.auth_alg == data->auth.auth_type || in sme_event_auth() 2095 switch (data->auth.auth_type) { in sme_event_auth() 2118 if (data->auth.auth_type == WLAN_AUTH_FT) { in sme_event_auth() 2146 if (data->auth.auth_type == WLAN_AUTH_FILS_SK || in sme_event_auth() 2147 data->auth.auth_type == WLAN_AUTH_FILS_SK_PFS) { in sme_event_auth() 2153 if (data->auth.auth_type != expect_auth_type) { in sme_event_auth() 2156 data->auth.auth_type, expect_auth_type); in sme_event_auth() [all …]
|
D | sme.h | 17 const u8 *bssid, u16 auth_type);
|
D | wpa_priv.c | 910 auth->auth_type = data->auth.auth_type; in wpa_priv_send_auth()
|
D | README-WPS | 308 WPS-ER-AP-SETTINGS uuid=fd91b4ec-e3fa-5891-a57d-8c59efeed1d2 ssid=test-wps auth_type=0x0020 encr_ty…
|
/hostap-latest/src/eap_peer/ |
D | eap_wsc.c | 88 cred->auth_type = WPS_AUTH_OPEN; in eap_wsc_new_ap_settings() 90 cred->auth_type = WPS_AUTH_WPAPSK; in eap_wsc_new_ap_settings() 92 cred->auth_type = WPS_AUTH_WPA2PSK; in eap_wsc_new_ap_settings()
|
/hostap-latest/src/common/ |
D | privsep_commands.h | 105 u16 auth_type; member
|
/hostap-latest/wpa_supplicant/dbus/ |
D | dbus_new.c | 730 char *auth_type[5]; /* we have five possible authentication types */ in wpas_dbus_signal_wps_cred() local 751 if (cred->auth_type & WPS_AUTH_OPEN) in wpas_dbus_signal_wps_cred() 752 auth_type[at_num++] = "open"; in wpas_dbus_signal_wps_cred() 754 if (cred->auth_type & WPS_AUTH_WPAPSK) in wpas_dbus_signal_wps_cred() 755 auth_type[at_num++] = "wpa-psk"; in wpas_dbus_signal_wps_cred() 756 if (cred->auth_type & WPS_AUTH_WPA) in wpas_dbus_signal_wps_cred() 757 auth_type[at_num++] = "wpa-eap"; in wpas_dbus_signal_wps_cred() 759 if (cred->auth_type & WPS_AUTH_WPA2) in wpas_dbus_signal_wps_cred() 760 auth_type[at_num++] = "wpa2-eap"; in wpas_dbus_signal_wps_cred() 761 if (cred->auth_type & WPS_AUTH_WPA2PSK) in wpas_dbus_signal_wps_cred() [all …]
|
/hostap-latest/src/drivers/ |
D | driver_privsep.c | 401 data.auth.auth_type = auth->auth_type; in wpa_driver_privsep_event_auth()
|
D | driver_nl80211_event.c | 226 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in mlme_event_auth() 1653 u16 stype = 0, auth_type = 0; in mlme_event() local 1706 auth_type = le_to_host16(mgmt->u.auth.auth_alg); in mlme_event() 1710 auth_type == host_to_le16(WLAN_AUTH_PASN)) { in mlme_event()
|
D | driver.h | 6298 u16 auth_type; member
|
D | driver_atheros.c | 939 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in atheros_raw_receive()
|
/hostap-latest/hostapd/ |
D | config_file.c | 4268 u8 auth_type; in hostapd_config_fill() local 4270 if (hexstr2bin(pos, &auth_type, 1)) { in hostapd_config_fill() 4276 if (auth_type == 0 || auth_type == 2) in hostapd_config_fill() 4284 *bss->network_auth_type = auth_type; in hostapd_config_fill()
|
/hostap-latest/tests/hwsim/ |
D | test_ap_wps.py | 7168 def build_cred(nw_idx='\x01', ssid='test-wps-conf', auth_type='\x00\x20', argument 7176 if auth_type is not None: 7177 attrs += build_wsc_attr(ATTR_AUTH_TYPE, auth_type) 7219 m8_cred = build_cred(mac_addr=mac_addr, auth_type=None) 7237 m8_cred = build_cred(mac_addr=mac_addr, auth_type='\x00\x01',
|