Lines Matching defs:wpa
13 #include "rsn_supp/wpa.h"
204 if (wpa_sm_parse_own_wpa_ie(wpa_s->wpa, &ie) < 0 ||
209 pmksa_set = pmksa_cache_set_current(wpa_s->wpa,
237 pmksa_candidate_add(wpa_s->wpa, data->pmkid_candidate.bssid,
326 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard);
709 int wpa;
762 wpa = wpa_ie_len > 0 || rsn_ie_len > 0;
765 int check_ssid = wpa ? 1 : (ssid->ssid_len != 0);
787 if (wpa && ssid->ssid_len == 0 &&
791 if (!wpa && (ssid->key_mgmt & WPA_KEY_MGMT_WPS)) {
822 if (!wpa &&
831 if (wpa && !wpa_key_mgmt_wpa(ssid->key_mgmt) &&
1043 if (rsn_preauth_scan_results(wpa_s->wpa) < 0)
1057 rsn_preauth_scan_result(wpa_s->wpa, bss->bssid, ssid, rsn);
1516 wpa_tdls_assoc_resp_ies(wpa_s->wpa, data->assoc_info.resp_ies,
1546 if (wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, p, len))
1556 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0);
1562 wpa_ft_validate_reassoc_resp(wpa_s->wpa,
1620 wpa_ft_is_completed(wpa_s->wpa)) {
1622 wpa_ft_validate_reassoc_resp(wpa_s->wpa,
1635 wpa_sm_set_ft_params(wpa_s->wpa, data->assoc_info.resp_ies,
1657 wpa_sm_set_ap_wpa_ie(wpa_s->wpa, p, len);
1663 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, p, len);
1671 wpa_sm_set_ap_wpa_ie(wpa_s->wpa, NULL, 0);
1673 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, NULL, 0);
1720 if (wpa_sm_set_ap_wpa_ie(wpa_s->wpa, bss_wpa,
1722 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, bss_rsn,
1747 ft_completed = wpa_ft_is_completed(wpa_s->wpa);
1815 wpa_sm_notify_assoc(wpa_s->wpa, bssid);
2074 wpa_sm_notify_disassoc(wpa_s->wpa);
2115 wpa_sm_key_request(wpa_s->wpa, 1, wpa_s->pending_mic_error_pairwise);
2140 wpa_sm_key_request(wpa_s->wpa, 1,
2147 wpa_sm_key_request(wpa_s->wpa, 1, pairwise);
2204 wpa_sm_key_request(wpa_s->wpa, 1, pairwise);
2207 wpa_sm_key_request(wpa_s->wpa, 1, pairwise);
2275 wpa_sm_stkstart(wpa_s->wpa, data->stkstart.peer);
2288 wpa_tdls_remove(wpa_s->wpa, data->tdls.peer);
2289 if (wpa_tdls_is_external_setup(wpa_s->wpa))
2290 wpa_tdls_start(wpa_s->wpa, data->tdls.peer);
2295 if (wpa_tdls_is_external_setup(wpa_s->wpa))
2296 wpa_tdls_teardown_link(wpa_s->wpa, data->tdls.peer,
2334 if (wpa_ft_process_response(wpa_s->wpa, data->ft_ies.ies,
2417 if (wpa_ft_process_response(wpa_s->wpa, data + 1 + 2 * ETH_ALEN + 2,
2587 wpa_reset_ft_completed(wpa_s->wpa);
2717 wpa_sm_notify_disassoc(wpa_s->wpa);
3154 wpa_tdls_disable_link(wpa_s->wpa, data->low_ack.addr);
3166 if (!wpa_s->wpa)
3168 wpa_sm_update_replay_ctr(wpa_s->wpa,