Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_enrollee.c264 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()
286 if (wps->wps->ap_auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) { in wps_build_cred_encr_type()
303 if ((wps->wps->ap_auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) && in wps_build_cred_network_key()
858 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
859 WPS_AUTH_WPAPSK) { in wps_process_ap_settings_e()
876 if ((cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
877 WPS_AUTH_WPAPSK) { in wps_process_ap_settings_e()
888 if (cred.auth_type & WPS_AUTH_WPAPSK) { in wps_process_ap_settings_e()
890 cred.auth_type &= ~WPS_AUTH_WPAPSK; in wps_process_ap_settings_e()
Dwps_defs.h192 #define WPS_AUTH_WPAPSK 0x0002 macro
197 #define WPS_AUTH_TYPES (WPS_AUTH_OPEN | WPS_AUTH_WPAPSK | WPS_AUTH_SHARED | \
Dwps_attr_process.c213 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()
Dwps_registrar.c1669 else if (wps->auth_type & WPS_AUTH_WPAPSK) in wps_build_cred()
1670 wps->auth_type = WPS_AUTH_WPAPSK; in wps_build_cred()
1687 else if (wps->wps->ap && wps->auth_type == WPS_AUTH_WPAPSK) in wps_build_cred()
1690 wps->auth_type == WPS_AUTH_WPAPSK) { in wps_build_cred()
1763 } else if (wps->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wps_build_cred()
2433 (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) == in wps_process_auth_type_flags()
2434 (WPS_AUTH_WPA2 | WPS_AUTH_WPAPSK)) { in wps_process_auth_type_flags()
2885 else if (wps->cred.auth_type & WPS_AUTH_WPAPSK) in wps_sta_cred_cb()
2886 wps->cred.auth_type = WPS_AUTH_WPAPSK; in wps_sta_cred_cb()
3331 cred.auth_type = WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK; in wps_process_wsc_done()
[all …]
Dwps_attr_build.c314 auth_types &= ~WPS_AUTH_WPAPSK; in wps_build_auth_type_flags()
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_defs.h192 #define WPS_AUTH_WPAPSK 0x0002 macro
197 #define WPS_AUTH_TYPES (WPS_AUTH_OPEN | WPS_AUTH_WPAPSK | WPS_AUTH_SHARED | \
Dwps_enrollee.c264 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()
286 if (wps->wps->ap_auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) { in wps_build_cred_encr_type()
303 if ((wps->wps->ap_auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) && in wps_build_cred_network_key()
858 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
859 WPS_AUTH_WPAPSK) { in wps_process_ap_settings_e()
876 if ((cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
877 WPS_AUTH_WPAPSK) { in wps_process_ap_settings_e()
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_registrar.c1688 else if (wps->auth_type & WPS_AUTH_WPAPSK) in wps_build_cred()
1689 wps->auth_type = WPS_AUTH_WPAPSK; in wps_build_cred()
1705 else if (wps->wps->ap && wps->auth_type == WPS_AUTH_WPAPSK) in wps_build_cred()
1708 wps->auth_type == WPS_AUTH_WPAPSK) { in wps_build_cred()
1771 } else if (wps->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wps_build_cred()
2442 (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) == in wps_process_auth_type_flags()
2443 (WPS_AUTH_WPA2 | WPS_AUTH_WPAPSK)) { in wps_process_auth_type_flags()
2894 else if (wps->cred.auth_type & WPS_AUTH_WPAPSK) in wps_sta_cred_cb()
2895 wps->cred.auth_type = WPS_AUTH_WPAPSK; in wps_sta_cred_cb()
3340 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwps_hostapd.c369 WPS_AUTH_WPA | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory()
375 (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK))) in hapd_wps_reconfig_in_memory()
379 else if (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory()
388 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory()
512 } else if ((cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) && in hapd_wps_cred_cb()
574 WPS_AUTH_WPA | WPS_AUTH_WPAPSK)) in hapd_wps_cred_cb()
580 (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK))) in hapd_wps_cred_cb()
584 else if (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK)) in hapd_wps_cred_cb()
602 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) { in hapd_wps_cred_cb()
1204 wps->auth_types |= WPS_AUTH_WPAPSK; in hostapd_init_wps()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
464 } else if ((cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) && in hapd_wps_cred_cb()
525 (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK))) in hapd_wps_cred_cb()
529 else if (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK)) in hapd_wps_cred_cb()
548 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) { in hapd_wps_cred_cb()
1120 wps->auth_types |= WPS_AUTH_WPAPSK; in hostapd_init_wps()
1169 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in hostapd_init_wps()
1752 cred.auth_type = WPS_AUTH_WPAPSK; in hostapd_wps_config_ap()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwps_supplicant.c410 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_cred()
417 auth_type != WPS_AUTH_WPAPSK && in wpa_supplicant_wps_cred()
425 if (auth_type == WPS_AUTH_WPAPSK || auth_type == WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
530 case WPS_AUTH_WPAPSK: in wpa_supplicant_wps_cred()
821 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_event_er_ap_settings()
1634 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in wpas_wps_init()
2058 WPS_AUTH_WPA2PSK : WPS_AUTH_WPAPSK; in wpas_wps_network_to_cred()
2143 cred.auth_type = WPS_AUTH_WPAPSK; in wpas_wps_er_config()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwps_supplicant.c405 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_cred()
412 auth_type != WPS_AUTH_WPAPSK && in wpa_supplicant_wps_cred()
420 if (auth_type == WPS_AUTH_WPAPSK || auth_type == WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
525 case WPS_AUTH_WPAPSK: in wpa_supplicant_wps_cred()
813 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_event_er_ap_settings()
1607 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in wpas_wps_init()
2018 WPS_AUTH_WPA2PSK : WPS_AUTH_WPAPSK; in wpas_wps_network_to_cred()
2103 cred.auth_type = WPS_AUTH_WPAPSK; in wpas_wps_er_config()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_wsc.c90 cred->auth_type = WPS_AUTH_WPAPSK; in eap_wsc_new_ap_settings()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_wsc.c90 cred->auth_type = WPS_AUTH_WPAPSK; in eap_wsc_new_ap_settings()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
Ddbus_new.c753 if (cred->auth_type & WPS_AUTH_WPAPSK) in wpas_dbus_signal_wps_cred()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
Ddbus_new.c754 if (cred->auth_type & WPS_AUTH_WPAPSK) in wpas_dbus_signal_wps_cred()