Home
last modified time | relevance | path

Searched refs:WPS_AUTH_WPA2PSK (Results 1 – 20 of 20) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwps_hostapd.c368 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()
377 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) 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()
512 } else if ((cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) && in hapd_wps_cred_cb()
573 if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK | in hapd_wps_cred_cb()
579 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_cred_cb()
582 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_cred_cb()
602 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) { in hapd_wps_cred_cb()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_defs.h196 #define WPS_AUTH_WPA2PSK 0x0020 macro
198 WPS_AUTH_WPA | WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)
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_enrollee.c262 if (auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred_auth_type()
263 auth_type = WPS_AUTH_WPA2PSK; 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()
876 if ((cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
880 cred.auth_type |= WPS_AUTH_WPA2PSK; in wps_process_ap_settings_e()
Dwps_registrar.c1643 wps->cred.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1666 if (wps->auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred()
1667 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1685 if (wps->wps->ap && wps->auth_type == WPS_AUTH_WPA2PSK) in wps_build_cred()
1689 if (wps->auth_type == WPS_AUTH_WPA2PSK || in wps_build_cred()
1763 } else if (wps->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wps_build_cred()
1798 stub.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
2433 (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) == in wps_process_auth_type_flags()
2437 auth_types |= WPS_AUTH_WPA2PSK; in wps_process_auth_type_flags()
2883 if (wps->cred.auth_type & WPS_AUTH_WPA2PSK) in wps_sta_cred_cb()
[all …]
Dwps_validate.c654 if ((val & ~WPS_AUTH_TYPES) || !(val & WPS_AUTH_WPA2PSK)) { in wps_validate_auth_type_flags()
678 val != (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK))) { in wps_validate_auth_type()
Dwps_common.c393 cred.auth_type = WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK; in wps_get_oob_cred()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_defs.h196 #define WPS_AUTH_WPA2PSK 0x0020 macro
198 WPS_AUTH_WPA | WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)
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.c262 if (auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred_auth_type()
263 auth_type = WPS_AUTH_WPA2PSK; 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()
876 if ((cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
880 cred.auth_type |= WPS_AUTH_WPA2PSK; in wps_process_ap_settings_e()
Dwps_registrar.c1663 wps->cred.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1686 if (wps->auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred()
1687 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1703 if (wps->wps->ap && wps->auth_type == WPS_AUTH_WPA2PSK) in wps_build_cred()
1707 if (wps->auth_type == WPS_AUTH_WPA2PSK || in wps_build_cred()
1771 } else if (wps->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wps_build_cred()
1807 dummy.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
2442 (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) == in wps_process_auth_type_flags()
2446 auth_types |= WPS_AUTH_WPA2PSK; in wps_process_auth_type_flags()
2892 if (wps->cred.auth_type & WPS_AUTH_WPA2PSK) in wps_sta_cred_cb()
[all …]
Dwps_validate.c654 if ((val & ~WPS_AUTH_TYPES) || !(val & WPS_AUTH_WPA2PSK)) { in wps_validate_auth_type_flags()
678 val != (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK))) { in wps_validate_auth_type()
Dwps_common.c393 cred.auth_type = WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK; in wps_get_oob_cred()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwps_hostapd.c327 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_reconfig_in_memory()
330 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_reconfig_in_memory()
340 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory()
358 (cred->auth_type & WPS_AUTH_WPA2PSK) && in hapd_wps_reconfig_in_memory()
464 } else if ((cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) && in hapd_wps_cred_cb()
524 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_cred_cb()
527 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_cred_cb()
548 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) { in hapd_wps_cred_cb()
553 (cred->auth_type & WPS_AUTH_WPA2PSK) && in hapd_wps_cred_cb()
1102 wps->auth_types |= WPS_AUTH_WPA2PSK; in hostapd_init_wps()
[all …]
/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()
413 auth_type = WPS_AUTH_WPA2PSK; in wpa_supplicant_wps_cred()
418 auth_type != WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
425 if (auth_type == WPS_AUTH_WPAPSK || auth_type == WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
535 case WPS_AUTH_WPA2PSK: in wpa_supplicant_wps_cred()
821 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_event_er_ap_settings()
1631 wps->auth_types = WPS_AUTH_WPA2PSK; in wpas_wps_init()
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()
2145 cred.auth_type = WPS_AUTH_WPA2PSK; 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()
408 auth_type = WPS_AUTH_WPA2PSK; in wpa_supplicant_wps_cred()
413 auth_type != WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
420 if (auth_type == WPS_AUTH_WPAPSK || auth_type == WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
530 case WPS_AUTH_WPA2PSK: 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()
2105 cred.auth_type = WPS_AUTH_WPA2PSK; in wpas_wps_er_config()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_wsc.c92 cred->auth_type = WPS_AUTH_WPA2PSK; in eap_wsc_new_ap_settings()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_wsc.c92 cred->auth_type = WPS_AUTH_WPA2PSK; in eap_wsc_new_ap_settings()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
Ddbus_new.c759 if (cred->auth_type & WPS_AUTH_WPA2PSK) in wpas_dbus_signal_wps_cred()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
Ddbus_new.c761 if (cred->auth_type & WPS_AUTH_WPA2PSK) in wpas_dbus_signal_wps_cred()