Home | History | Annotate | Download | only in drivers

Lines Matching refs:wpa

2  * WPA Supplicant - driver interaction with BSD net80211 layer
74 int prev_wpa; /* wpa state to restore on deinit */
411 * swap it to match with the byte order used in WPA.
509 wpa_printf(MSG_DEBUG, "%s: enable WPA= 0x%x", __func__, params->wpa);
510 if (set80211param(priv, IEEE80211_IOC_WPA, params->wpa)) {
511 wpa_printf(MSG_INFO, "Unable to set WPA to %u", params->wpa);
527 if (!params->wpa && !params->ieee802_1x) {
528 wpa_printf(MSG_ERROR, "%s: No 802.1X or WPA enabled",
532 if (params->wpa && bsd_configure_wpa(priv, params) != 0) {
533 wpa_printf(MSG_ERROR, "%s: Failed to configure WPA state",
538 (params->wpa ? IEEE80211_AUTH_WPA : IEEE80211_AUTH_8021X))) {
539 wpa_printf(MSG_ERROR, "%s: Failed to enable WPA/802.1X",
554 * Fetch and validate any negotiated WPA/RSN parameters.
560 "Failed to get WPA/RSN information element");
631 wpa_printf(MSG_DEBUG, "%s: set WPA+RSN ie (len %lu)", __func__,
713 * swap it to match with the byte order used in WPA.
988 wpa_driver_bsd_set_wpa_internal(void *priv, int wpa, int privacy)
992 wpa_printf(MSG_DEBUG, "%s: wpa=%d privacy=%d",
993 __func__, wpa, privacy);
995 if (!wpa && wpa_driver_bsd_set_wpa_ie(priv, NULL, 0) < 0)
999 if (set80211param(priv, IEEE80211_IOC_WPA, wpa) < 0)
1069 "%s: ssid '%.*s' wpa ie len %u pairwise %u group %u key mgmt %u"
1166 wpa_printf(MSG_ERROR, "%s: failed to set wpa: %s", __func__,
1513 /* For now, assume TKIP, CCMP, WPA, WPA2 are supported */
1601 wpa_printf(MSG_DEBUG, "%s: failed to get wpa state: %s",