Lines Matching refs:wpa
331 if (wpa_sm_parse_own_wpa_ie(wpa_s->wpa, &ie) < 0 || in wpa_find_assoc_pmkid()
336 pmksa_set = pmksa_cache_set_current(wpa_s->wpa, in wpa_find_assoc_pmkid()
364 pmksa_candidate_add(wpa_s->wpa, data->pmkid_candidate.bssid, in wpa_supplicant_event_pmkid_candidate()
453 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard); in wpa_supplicant_scard_init()
967 int wpa; in wpa_scan_res_match() local
1048 wpa = wpa_ie_len > 0 || rsn_ie_len > 0; in wpa_scan_res_match()
1051 int check_ssid = wpa ? 1 : (ssid->ssid_len != 0); in wpa_scan_res_match()
1077 if (wpa && ssid->ssid_len == 0 && in wpa_scan_res_match()
1081 if (!wpa && (ssid->key_mgmt & WPA_KEY_MGMT_WPS)) { in wpa_scan_res_match()
1137 if (!osen && !wpa && in wpa_scan_res_match()
1147 if (wpa && !wpa_key_mgmt_wpa(ssid->key_mgmt) && in wpa_scan_res_match()
1310 !wpa_sm_pmksa_exists(wpa_s->wpa, bss->bssid, ssid) && in wpa_scan_res_match()
1576 if (rsn_preauth_scan_results(wpa_s->wpa) < 0) in wpa_supplicant_rsn_preauth_scan_results()
1590 rsn_preauth_scan_result(wpa_s->wpa, bss->bssid, ssid, rsn); in wpa_supplicant_rsn_preauth_scan_results()
2275 wpa_tdls_assoc_resp_ies(wpa_s->wpa, data->assoc_info.resp_ies, in wpa_supplicant_event_associnfo()
2311 if (wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, p, len)) in wpa_supplicant_event_associnfo()
2321 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_event_associnfo()
2328 fils_process_assoc_resp(wpa_s->wpa, in wpa_supplicant_event_associnfo()
2339 wpa_sm_set_reset_fils_completed(wpa_s->wpa, 1); in wpa_supplicant_event_associnfo()
2345 owe_process_assoc_resp(wpa_s->wpa, bssid, in wpa_supplicant_event_associnfo()
2357 wpa_ft_validate_reassoc_resp(wpa_s->wpa, in wpa_supplicant_event_associnfo()
2415 wpa_ft_is_completed(wpa_s->wpa)) { in wpa_supplicant_event_associnfo()
2417 wpa_ft_validate_reassoc_resp(wpa_s->wpa, in wpa_supplicant_event_associnfo()
2430 wpa_sm_set_ft_params(wpa_s->wpa, data->assoc_info.resp_ies, in wpa_supplicant_event_associnfo()
2452 wpa_sm_set_ap_wpa_ie(wpa_s->wpa, p, len); in wpa_supplicant_event_associnfo()
2458 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, p, len); in wpa_supplicant_event_associnfo()
2466 wpa_sm_set_ap_wpa_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_event_associnfo()
2468 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_event_associnfo()
2500 if (wpa_sm_set_ap_wpa_ie(wpa_s->wpa, bss_wpa, in wpa_supplicant_assoc_update_ie()
2502 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, bss_rsn, in wpa_supplicant_assoc_update_ie()
2571 ft_completed = wpa_ft_is_completed(wpa_s->wpa); in wpa_supplicant_event_assoc()
2580 ft_completed = wpa_fils_is_completed(wpa_s->wpa); in wpa_supplicant_event_assoc()
2632 wpa_sm_notify_assoc(wpa_s->wpa, bssid); in wpa_supplicant_event_assoc()
2774 wpa_sm_set_fils_cache_id(wpa_s->wpa, fils_cache_id); in wpa_supplicant_event_assoc()
2926 wpa_sm_notify_disassoc(wpa_s->wpa); in wpa_supplicant_event_disassoc_finish()
2983 wpa_sm_key_request(wpa_s->wpa, 1, wpa_s->pending_mic_error_pairwise); in wpa_supplicant_delayed_mic_error_report()
3008 wpa_sm_key_request(wpa_s->wpa, 1, in wpa_supplicant_event_michael_mic_failure()
3015 wpa_sm_key_request(wpa_s->wpa, 1, pairwise); in wpa_supplicant_event_michael_mic_failure()
3072 wpa_sm_key_request(wpa_s->wpa, 1, pairwise); in wpa_supplicant_event_michael_mic_failure()
3075 wpa_sm_key_request(wpa_s->wpa, 1, pairwise); in wpa_supplicant_event_michael_mic_failure()
3176 wpa_tdls_remove(wpa_s->wpa, data->tdls.peer); in wpa_supplicant_event_tdls()
3177 if (wpa_tdls_is_external_setup(wpa_s->wpa)) in wpa_supplicant_event_tdls()
3178 wpa_tdls_start(wpa_s->wpa, data->tdls.peer); in wpa_supplicant_event_tdls()
3183 if (wpa_tdls_is_external_setup(wpa_s->wpa)) in wpa_supplicant_event_tdls()
3184 wpa_tdls_teardown_link(wpa_s->wpa, data->tdls.peer, in wpa_supplicant_event_tdls()
3191 wpa_tdls_send_discovery_request(wpa_s->wpa, in wpa_supplicant_event_tdls()
3226 if (wpa_ft_process_response(wpa_s->wpa, data->ft_ies.ies, in wpa_supplicant_event_ft_response()
3309 if (wpa_ft_process_response(wpa_s->wpa, data + 1 + 2 * ETH_ALEN + 2, in ft_rx_action()
3483 wpa_reset_ft_completed(wpa_s->wpa); in wpas_event_deauth()
3758 wpa_sm_set_rx_replay_ctr(wpa_s->wpa, data->assoc_info.key_replay_ctr); in wpa_supplicant_event_assoc_auth()
3759 wpa_sm_set_ptk_kck_kek(wpa_s->wpa, data->assoc_info.ptk_kck, in wpa_supplicant_event_assoc_auth()
3774 wpa_sm_pmksa_cache_add(wpa_s->wpa, in wpa_supplicant_event_assoc_auth()
3781 pmksa_cache_set_current(wpa_s->wpa, in wpa_supplicant_event_assoc_auth()
3853 wpa_fils_is_completed(wpa_s->wpa)))) in wpa_supplicant_event()
4433 wpa_tdls_disable_unreachable_link(wpa_s->wpa, in wpa_supplicant_event()
4446 if (!wpa_s->wpa) in wpa_supplicant_event()
4448 wpa_sm_update_replay_ctr(wpa_s->wpa, in wpa_supplicant_event()