Searched refs:security_policy (Results 1 – 4 of 4) sorted by relevance
788 bss->ssid.security_policy == SECURITY_STATIC_WEP) { in hostapd_config_check_bss()932 bss->ssid.security_policy = SECURITY_WPA; in hostapd_set_security_params()934 bss->ssid.security_policy = SECURITY_WPA_PSK; in hostapd_set_security_params()937 bss->ssid.security_policy = SECURITY_IEEE_802_1X; in hostapd_set_security_params()957 bss->ssid.security_policy = SECURITY_STATIC_WEP; in hostapd_set_security_params()964 bss->ssid.security_policy = SECURITY_OSEN; in hostapd_set_security_params()969 bss->ssid.security_policy = SECURITY_PLAINTEXT; in hostapd_set_security_params()
88 secpolicy security_policy; member
1083 if (conf->ssid.security_policy == SECURITY_PLAINTEXT) { in hostapd_init_wps()1136 if (conf->ssid.security_policy == SECURITY_STATIC_WEP) in hostapd_init_wps()
293 bss->ssid.security_policy = SECURITY_WPA; in wpa_supplicant_conf_ap()295 bss->ssid.security_policy = SECURITY_WPA_PSK; in wpa_supplicant_conf_ap()298 bss->ssid.security_policy = SECURITY_IEEE_802_1X; in wpa_supplicant_conf_ap()310 bss->ssid.security_policy = SECURITY_STATIC_WEP; in wpa_supplicant_conf_ap()315 bss->ssid.security_policy = SECURITY_PLAINTEXT; in wpa_supplicant_conf_ap()344 if (bss->ssid.security_policy != SECURITY_WPA_PSK && in wpa_supplicant_conf_ap()345 bss->ssid.security_policy != SECURITY_PLAINTEXT) in wpa_supplicant_conf_ap()347 if (bss->ssid.security_policy == SECURITY_WPA_PSK && in wpa_supplicant_conf_ap()