Lines Matching defs:wpa
2 * WPA Supplicant - Driver event processing
13 #include "rsn_supp/wpa.h"
226 wpa_dbg(wpa_s, MSG_DEBUG, "Could not set WPA suites");
254 wpa_msg(wpa_s, MSG_INFO, "WPA: TKIP countermeasures stopped");
318 if (wpa_sm_parse_own_wpa_ie(wpa_s->wpa, &ie) < 0 ||
323 pmksa_set = pmksa_cache_set_current(wpa_s->wpa,
351 pmksa_candidate_add(wpa_s->wpa, data->pmkid_candidate.bssid,
440 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard);
513 /* Allow TSN if local configuration accepts WEP use without WPA/WPA2 */
597 wpa_dbg(wpa_s, MSG_DEBUG, " skip WPA IE - parse "
606 "in WPA IE");
611 wpa_dbg(wpa_s, MSG_DEBUG, " skip WPA IE - proto "
617 wpa_dbg(wpa_s, MSG_DEBUG, " skip WPA IE - PTK "
623 wpa_dbg(wpa_s, MSG_DEBUG, " skip WPA IE - GTK "
629 wpa_dbg(wpa_s, MSG_DEBUG, " skip WPA IE - key mgmt "
634 wpa_dbg(wpa_s, MSG_DEBUG, " selected based on WPA IE");
640 WPA IEEE 802.1X");
646 wpa_dbg(wpa_s, MSG_DEBUG, " skip - no WPA/RSN proto match");
657 wpa_dbg(wpa_s, MSG_DEBUG, " allow in non-WPA/WPA2");
662 "WPA/WPA2");
835 int wpa;
899 wpa = wpa_ie_len > 0 || rsn_ie_len > 0;
902 int check_ssid = wpa ? 1 : (ssid->ssid_len != 0);
924 if (wpa && ssid->ssid_len == 0 &&
928 if (!wpa && (ssid->key_mgmt & WPA_KEY_MGMT_WPS)) {
977 if (!osen && !wpa &&
981 wpa_dbg(wpa_s, MSG_DEBUG, " skip - non-WPA network "
986 if (wpa && !wpa_key_mgmt_wpa(ssid->key_mgmt) &&
988 wpa_dbg(wpa_s, MSG_DEBUG, " skip - ignore WPA/WPA2 AP for WEP network block");
1322 if (rsn_preauth_scan_results(wpa_s->wpa) < 0)
1336 rsn_preauth_scan_result(wpa_s->wpa, bss->bssid, ssid, rsn);
1965 wpa_tdls_assoc_resp_ies(wpa_s->wpa, data->assoc_info.resp_ies,
1988 /* Go through the IEs and make a copy of the WPA/RSN IE, if present. */
2001 if (wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, p, len))
2011 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0);
2017 wpa_ft_validate_reassoc_resp(wpa_s->wpa,
2075 wpa_ft_is_completed(wpa_s->wpa)) {
2077 wpa_ft_validate_reassoc_resp(wpa_s->wpa,
2090 wpa_sm_set_ft_params(wpa_s->wpa, data->assoc_info.resp_ies,
2094 /* WPA/RSN IE from Beacon/ProbeResp */
2098 /* Go through the IEs and make a copy of the WPA/RSN IEs, if present.
2112 wpa_sm_set_ap_wpa_ie(wpa_s->wpa, p, len);
2118 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, p, len);
2126 wpa_sm_set_ap_wpa_ie(wpa_s->wpa, NULL, 0);
2128 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, NULL, 0);
2160 if (wpa_sm_set_ap_wpa_ie(wpa_s->wpa, bss_wpa,
2162 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, bss_rsn,
2231 ft_completed = wpa_ft_is_completed(wpa_s->wpa);
2270 "WPA/RSN IEs not updated");
2289 wpa_sm_notify_assoc(wpa_s->wpa, bssid);
2348 * waiting for WPA supplicant.
2440 * IBSS for WPA-None. Ignore them for now.
2499 * IBSS for WPA-None. Ignore them for now.
2502 "IBSS/WPA-None mode");
2507 wpa_msg(wpa_s, MSG_INFO, "WPA: 4-Way Handshake failed - "
2554 wpa_sm_notify_disassoc(wpa_s->wpa);
2607 wpa_dbg(wpa_s, MSG_DEBUG, "WPA: Sending pending MIC error report");
2608 wpa_sm_key_request(wpa_s->wpa, 1, wpa_s->pending_mic_error_pairwise);
2633 wpa_sm_key_request(wpa_s->wpa, 1,
2640 wpa_sm_key_request(wpa_s->wpa, 1, pairwise);
2685 wpa_dbg(wpa_s, MSG_DEBUG, "WPA: Delay MIC error "
2697 wpa_sm_key_request(wpa_s->wpa, 1, pairwise);
2700 wpa_sm_key_request(wpa_s->wpa, 1, pairwise);
2800 wpa_sm_stkstart(wpa_s->wpa, data->stkstart.peer);
2813 wpa_tdls_remove(wpa_s->wpa, data->tdls.peer);
2814 if (wpa_tdls_is_external_setup(wpa_s->wpa))
2815 wpa_tdls_start(wpa_s->wpa, data->tdls.peer);
2820 if (wpa_tdls_is_external_setup(wpa_s->wpa))
2821 wpa_tdls_teardown_link(wpa_s->wpa, data->tdls.peer,
2828 wpa_tdls_send_discovery_request(wpa_s->wpa,
2863 if (wpa_ft_process_response(wpa_s->wpa, data->ft_ies.ies,
2946 if (wpa_ft_process_response(wpa_s->wpa, data + 1 + 2 * ETH_ALEN + 2,
3120 wpa_reset_ft_completed(wpa_s->wpa);
3353 wpa_sm_set_rx_replay_ctr(wpa_s->wpa, data->assoc_info.key_replay_ctr);
3354 wpa_sm_set_ptk_kck_kek(wpa_s->wpa, data->assoc_info.ptk_kck,
3947 wpa_tdls_disable_unreachable_link(wpa_s->wpa,
3960 if (!wpa_s->wpa)
3962 wpa_sm_update_replay_ctr(wpa_s->wpa,