Lines Matching refs:wpa
195 wpa_sm_notify_disassoc(wpa_s->wpa); in wpa_supplicant_timeout()
350 wpa_sm_set_ap_wpa_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy()
351 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy()
352 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy()
369 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_RSN_ENABLED, 0); in wpa_supplicant_set_non_wpa_policy()
370 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_KEY_MGMT, wpa_s->key_mgmt); in wpa_supplicant_set_non_wpa_policy()
371 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_PAIRWISE, in wpa_supplicant_set_non_wpa_policy()
373 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_GROUP, wpa_s->group_cipher); in wpa_supplicant_set_non_wpa_policy()
375 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_MGMT_GROUP, in wpa_supplicant_set_non_wpa_policy()
379 pmksa_cache_clear_current(wpa_s->wpa); in wpa_supplicant_set_non_wpa_policy()
407 wpa_sm_set_scard_ctx(wpa_s->wpa, NULL); in wpa_supplicant_cleanup()
432 wpa_sm_set_eapol(wpa_s->wpa, NULL); in wpa_supplicant_cleanup()
436 rsn_preauth_deinit(wpa_s->wpa); in wpa_supplicant_cleanup()
439 wpa_tdls_deinit(wpa_s->wpa); in wpa_supplicant_cleanup()
443 pmksa_candidate_free(wpa_s->wpa); in wpa_supplicant_cleanup()
444 wpa_sm_deinit(wpa_s->wpa); in wpa_supplicant_cleanup()
445 wpa_s->wpa = NULL; in wpa_supplicant_cleanup()
928 wpa_sm_set_config(wpa_s->wpa, NULL); in wpa_supplicant_reload_configuration()
929 wpa_sm_pmksa_cache_flush(wpa_s->wpa, NULL); in wpa_supplicant_reload_configuration()
930 wpa_sm_set_fast_reauth(wpa_s->wpa, wpa_s->conf->fast_reauth); in wpa_supplicant_reload_configuration()
931 rsn_preauth_deinit(wpa_s->wpa); in wpa_supplicant_reload_configuration()
972 int ret = wpa_sm_parse_own_wpa_ie(wpa_s->wpa, ie); in wpa_supplicant_suites_from_ai()
1140 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_PROTO, proto); in wpa_supplicant_set_suites()
1141 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_RSN_ENABLED, in wpa_supplicant_set_suites()
1145 if (wpa_sm_set_ap_wpa_ie(wpa_s->wpa, bss_wpa, in wpa_supplicant_set_suites()
1147 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, bss_rsn, in wpa_supplicant_set_suites()
1236 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_KEY_MGMT, wpa_s->key_mgmt); in wpa_supplicant_set_suites()
1237 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_PAIRWISE, in wpa_supplicant_set_suites()
1239 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_GROUP, wpa_s->group_cipher); in wpa_supplicant_set_suites()
1266 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_MGMT_GROUP, in wpa_supplicant_set_suites()
1268 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_MFP, in wpa_supplicant_set_suites()
1272 if (wpa_sm_set_assoc_wpa_ie_default(wpa_s->wpa, wpa_ie, wpa_ie_len)) { in wpa_supplicant_set_suites()
1281 wpa_sm_set_pmk(wpa_s->wpa, ssid->psk, PMK_LEN, NULL); in wpa_supplicant_set_suites()
1292 wpa_sm_set_pmk(wpa_s->wpa, psk, PMK_LEN, NULL); in wpa_supplicant_set_suites()
1330 wpa_sm_set_pmk(wpa_s->wpa, psk, PMK_LEN, NULL); in wpa_supplicant_set_suites()
1343 wpa_sm_set_pmk(wpa_s->wpa, psk, PMK_LEN, NULL); in wpa_supplicant_set_suites()
1365 wpa_sm_set_pmk_from_pmksa(wpa_s->wpa); in wpa_supplicant_set_suites()
1605 wpa_sm_pmksa_cache_flush(wpa_s->wpa, ssid); in wpa_supplicant_associate()
1676 wpa_tdls_ap_ies(wpa_s->wpa, (const u8 *) (bss + 1), in wpa_supplicant_associate()
1995 wpa_sm_set_ft_params(wpa_s->wpa, ie, ie ? 2 + ie[1] : 0); in wpas_start_assoc_cb()
1998 wpa_ft_prepare_auth_request(wpa_s->wpa, ie); in wpas_start_assoc_cb()
2023 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0); in wpas_start_assoc_cb()
2050 if (pmksa_cache_set_current(wpa_s->wpa, NULL, bss->bssid, in wpas_start_assoc_cb()
2456 wpa_sm_set_config(wpa_s->wpa, NULL); in wpa_supplicant_clear_connection()
2502 wpa_tdls_teardown_peers(wpa_s->wpa); in wpa_supplicant_deauthenticate()
2741 wpa_sm_set_eapol(wpa_s->wpa, NULL); in wpas_set_pkcs11_engine_and_module_path()
2752 wpa_sm_set_eapol(wpa_s->wpa, wpa_s->eapol); in wpas_set_pkcs11_engine_and_module_path()
3056 wpa_sm_rx_eapol_peerkey(wpa_s->wpa, src_addr, buf, len) == 1) { in wpa_supplicant_rx_eapol()
3176 wpa_sm_rx_eapol(wpa_s->wpa, src_addr, buf, len); in wpa_supplicant_rx_eapol()
3212 wpa_sm_set_own_addr(wpa_s->wpa, wpa_s->own_addr); in wpa_supplicant_update_mac_addr()
3262 wpa_sm_set_own_addr(wpa_s->wpa, wpa_s->own_addr); in wpa_supplicant_driver_init()
3663 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard); in pcsc_reader_init()
4130 wpa_sm_set_ifname(wpa_s->wpa, wpa_s->ifname, in wpa_supplicant_init_iface()
4133 wpa_sm_set_fast_reauth(wpa_s->wpa, wpa_s->conf->fast_reauth); in wpa_supplicant_init_iface()
4136 wpa_sm_set_param(wpa_s->wpa, RSNA_PMK_LIFETIME, in wpa_supplicant_init_iface()
4144 wpa_sm_set_param(wpa_s->wpa, RSNA_PMK_REAUTH_THRESHOLD, in wpa_supplicant_init_iface()
4152 wpa_sm_set_param(wpa_s->wpa, RSNA_SA_TIMEOUT, in wpa_supplicant_init_iface()
4231 wpa_tdls_init(wpa_s->wpa)) in wpa_supplicant_init_iface()
4246 wpa_sm_set_eapol(wpa_s->wpa, wpa_s->eapol); in wpa_supplicant_init_iface()