Home
last modified time | relevance | path

Searched refs:auth_types (Results 1 – 6 of 6) sorted by relevance

/hostap-latest/src/wps/
Dwps_attr_build.c308 u16 auth_types = WPS_AUTH_TYPES; in wps_build_auth_type_flags() local
310 auth_types &= ~WPS_AUTH_WPA; in wps_build_auth_type_flags()
311 auth_types &= ~WPS_AUTH_WPA2; in wps_build_auth_type_flags()
312 auth_types &= ~WPS_AUTH_SHARED; in wps_build_auth_type_flags()
314 auth_types &= ~WPS_AUTH_WPAPSK; in wps_build_auth_type_flags()
320 auth_types, wps_force_auth_types); in wps_build_auth_type_flags()
321 auth_types = wps_force_auth_types; in wps_build_auth_type_flags()
325 auth_types); in wps_build_auth_type_flags()
328 wpabuf_put_be16(msg, auth_types); in wps_build_auth_type_flags()
Dwps_registrar.c1664 wps->wps->auth_types, wps->auth_type); in wps_build_cred()
2410 u16 auth_types; in wps_process_auth_type_flags() local
2418 auth_types = WPA_GET_BE16(auth); in wps_process_auth_type_flags()
2421 auth_types); in wps_process_auth_type_flags()
2431 if ((auth_types & in wps_process_auth_type_flags()
2436 auth_types |= WPS_AUTH_WPA2PSK; in wps_process_auth_type_flags()
2439 wps->auth_type = wps->wps->auth_types & auth_types; in wps_process_auth_type_flags()
2443 wps->wps->auth_types, auth_types); in wps_process_auth_type_flags()
2455 wps->auth_type = wps->wps->auth_types; in wps_process_auth_type_flags()
Dwps.h726 u16 auth_types; member
Dwps_common.c371 data.auth_type = wps->auth_types; in wps_get_oob_cred()
/hostap-latest/src/ap/
Dwps_hostapd.c505 hapd->wps->auth_types = cred->auth_type; in hapd_wps_cred_cb()
1173 wps->auth_types |= WPS_AUTH_WPA2PSK; in hostapd_init_wps()
1175 wps->auth_types |= WPS_AUTH_WPA2; in hostapd_init_wps()
1177 wps->auth_types |= WPS_AUTH_WPA2PSK; in hostapd_init_wps()
1205 wps->auth_types |= WPS_AUTH_WPAPSK; in hostapd_init_wps()
1207 wps->auth_types |= WPS_AUTH_WPA; in hostapd_init_wps()
1222 wps->auth_types |= WPS_AUTH_OPEN; in hostapd_init_wps()
1253 wps->ap_auth_type = wps->auth_types; in hostapd_init_wps()
1258 wps->auth_types = WPS_AUTH_WPA2PSK; in hostapd_init_wps()
1263 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in hostapd_init_wps()
/hostap-latest/wpa_supplicant/
Dwps_supplicant.c1650 wps->auth_types = WPS_AUTH_WPA2PSK; in wpas_wps_init()
1653 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in wpas_wps_init()