Lines Matching refs:wpa
335 bss->wpa = 3; in hapd_wps_reconfig_in_memory()
337 bss->wpa = 2; in hapd_wps_reconfig_in_memory()
339 bss->wpa = 1; in hapd_wps_reconfig_in_memory()
341 bss->wpa = 0; in hapd_wps_reconfig_in_memory()
343 if (bss->wpa) { in hapd_wps_reconfig_in_memory()
359 bss->wpa_group = wpa_select_ap_group_cipher(bss->wpa, in hapd_wps_reconfig_in_memory()
409 int wpa; in hapd_wps_cred_cb() local
512 wpa = 3; in hapd_wps_cred_cb()
514 wpa = 2; in hapd_wps_cred_cb()
516 wpa = 1; in hapd_wps_cred_cb()
518 wpa = 0; in hapd_wps_cred_cb()
520 if (wpa) { in hapd_wps_cred_cb()
522 fprintf(nconf, "wpa=%d\n", wpa); in hapd_wps_cred_cb()
1059 if (conf->wpa & WPA_PROTO_RSN) { in hostapd_init_wps()
1071 if (conf->wpa & WPA_PROTO_WPA) { in hostapd_init_wps()