Home
last modified time | relevance | path

Searched refs:WPS_AUTH_WPAPSK (Results 1 – 10 of 10) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_defs.h191 #define WPS_AUTH_WPAPSK 0x0002 macro
196 #define WPS_AUTH_TYPES (WPS_AUTH_OPEN | WPS_AUTH_WPAPSK | WPS_AUTH_SHARED | \
Dwps_attr_process.c212 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key()
234 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key()
Dwps_enrollee.c260 else if (auth_type & WPS_AUTH_WPAPSK) in wps_build_cred_auth_type()
261 auth_type = WPS_AUTH_WPAPSK; in wps_build_cred_auth_type()
282 if (wps->wps->ap_auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) { in wps_build_cred_encr_type()
299 if ((wps->wps->ap_auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) && in wps_build_cred_network_key()
854 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
855 WPS_AUTH_WPAPSK) { in wps_process_ap_settings_e()
872 if ((cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
873 WPS_AUTH_WPAPSK) { in wps_process_ap_settings_e()
Dwps_registrar.c1615 else if (wps->auth_type & WPS_AUTH_WPAPSK) in wps_build_cred()
1616 wps->auth_type = WPS_AUTH_WPAPSK; in wps_build_cred()
1632 else if (wps->wps->ap && wps->auth_type == WPS_AUTH_WPAPSK) in wps_build_cred()
1635 wps->auth_type == WPS_AUTH_WPAPSK) { in wps_build_cred()
1698 } else if (wps->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wps_build_cred()
2369 (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) == in wps_process_auth_type_flags()
2370 (WPS_AUTH_WPA2 | WPS_AUTH_WPAPSK)) { in wps_process_auth_type_flags()
2820 else if (wps->cred.auth_type & WPS_AUTH_WPAPSK) in wps_sta_cred_cb()
2821 wps->cred.auth_type = WPS_AUTH_WPAPSK; in wps_sta_cred_cb()
3266 cred.auth_type = WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK; in wps_process_wsc_done()
[all …]
Dwps_common.c393 cred.auth_type = WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK; in wps_get_oob_cred()
Dwps_validate.c678 val != (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK))) { in wps_validate_auth_type()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c328 (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK))) in hapd_wps_reconfig_in_memory()
332 else if (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory()
340 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory()
451 } else if ((cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) && in hapd_wps_cred_cb()
512 (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK))) in hapd_wps_cred_cb()
516 else if (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK)) in hapd_wps_cred_cb()
531 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) in hapd_wps_cred_cb()
1079 wps->auth_types |= WPS_AUTH_WPAPSK; in hostapd_init_wps()
1128 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in hostapd_init_wps()
1684 cred.auth_type = WPS_AUTH_WPAPSK; in hostapd_wps_config_ap()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c402 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_cred()
409 auth_type != WPS_AUTH_WPAPSK && in wpa_supplicant_wps_cred()
417 if (auth_type == WPS_AUTH_WPAPSK || auth_type == WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
512 case WPS_AUTH_WPAPSK: in wpa_supplicant_wps_cred()
793 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_event_er_ap_settings()
1582 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in wpas_wps_init()
1993 WPS_AUTH_WPA2PSK : WPS_AUTH_WPAPSK; in wpas_wps_network_to_cred()
2078 cred.auth_type = WPS_AUTH_WPAPSK; in wpas_wps_er_config()
/external/wpa_supplicant_8/src/eap_peer/
Deap_wsc.c90 cred->auth_type = WPS_AUTH_WPAPSK; in eap_wsc_new_ap_settings()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.c751 if (cred->auth_type & WPS_AUTH_WPAPSK) in wpas_dbus_signal_wps_cred()