Lines Matching defs:wpa
63 int prev_wpa; /* wpa state to restore on deinit */
488 wpa_printf(MSG_DEBUG, "%s: enable WPA= 0x%x", __func__, params->wpa);
489 if (set80211param(priv, IEEE80211_IOC_WPA, params->wpa)) {
490 printf("Unable to set WPA to %u\n", params->wpa);
506 if (!params->wpa && !params->ieee802_1x) {
511 if (params->wpa && bsd_configure_wpa(priv, params) != 0) {
517 (params->wpa ? IEEE80211_AUTH_WPA : IEEE80211_AUTH_8021X))) {
979 wpa_driver_bsd_set_wpa_internal(void *priv, int wpa, int privacy)
983 wpa_printf(MSG_DEBUG, "%s: wpa=%d privacy=%d",
984 __FUNCTION__, wpa, privacy);
986 if (!wpa && wpa_driver_bsd_set_wpa_ie(priv, NULL, 0) < 0)
990 if (set80211param(priv, IEEE80211_IOC_WPA, wpa) < 0)
1060 "%s: ssid '%.*s' wpa ie len %u pairwise %u group %u key mgmt %u"
1157 wpa_printf(MSG_ERROR, "%s: failed to set wpa: %s", __func__,
1545 wpa_printf(MSG_DEBUG, "%s: failed to get wpa state: %s",