Lines Matching refs:wpa
312 if (wpa_sm_set_param(wpa_s->wpa, RSNA_PMK_LIFETIME, in wpa_supplicant_ctrl_iface_set()
317 if (wpa_sm_set_param(wpa_s->wpa, RSNA_PMK_REAUTH_THRESHOLD, in wpa_supplicant_ctrl_iface_set()
321 if (wpa_sm_set_param(wpa_s->wpa, RSNA_SA_TIMEOUT, atoi(value))) in wpa_supplicant_ctrl_iface_set()
367 wpa_tdls_enable(wpa_s->wpa, !disabled); in wpa_supplicant_ctrl_iface_set()
527 rsn_preauth_deinit(wpa_s->wpa); in wpa_supplicant_ctrl_iface_preauth()
528 if (rsn_preauth_init(wpa_s->wpa, bssid, ssid ? &ssid->eap : NULL)) in wpa_supplicant_ctrl_iface_preauth()
552 return wpa_sm_stkstart(wpa_s->wpa, peer); in wpa_supplicant_ctrl_iface_stkstart()
574 if (wpa_tdls_is_external_setup(wpa_s->wpa)) in wpa_supplicant_ctrl_iface_tdls_discover()
575 ret = wpa_tdls_send_discovery_request(wpa_s->wpa, peer); in wpa_supplicant_ctrl_iface_tdls_discover()
599 wpa_tdls_is_external_setup(wpa_s->wpa)) in wpa_supplicant_ctrl_iface_tdls_setup()
602 wpa_tdls_remove(wpa_s->wpa, peer); in wpa_supplicant_ctrl_iface_tdls_setup()
604 if (wpa_tdls_is_external_setup(wpa_s->wpa)) in wpa_supplicant_ctrl_iface_tdls_setup()
605 ret = wpa_tdls_start(wpa_s->wpa, peer); in wpa_supplicant_ctrl_iface_tdls_setup()
622 wpa_tdls_teardown_peers(wpa_s->wpa); in wpa_supplicant_ctrl_iface_tdls_teardown()
636 wpa_tdls_is_external_setup(wpa_s->wpa)) in wpa_supplicant_ctrl_iface_tdls_teardown()
639 if (wpa_tdls_is_external_setup(wpa_s->wpa)) in wpa_supplicant_ctrl_iface_tdls_teardown()
641 wpa_s->wpa, peer, in wpa_supplicant_ctrl_iface_tdls_teardown()
674 if (!wpa_tdls_is_external_setup(wpa_s->wpa)) { in wpa_supplicant_ctrl_iface_tdls_chan_switch()
734 return wpa_tdls_enable_chan_switch(wpa_s->wpa, peer, oper_class, in wpa_supplicant_ctrl_iface_tdls_chan_switch()
744 if (!wpa_tdls_is_external_setup(wpa_s->wpa)) { in wpa_supplicant_ctrl_iface_tdls_cancel_chan_switch()
760 return wpa_tdls_disable_chan_switch(wpa_s->wpa, peer); in wpa_supplicant_ctrl_iface_tdls_cancel_chan_switch()
781 tdls_status = wpa_tdls_get_link_status(wpa_s->wpa, peer); in wpa_supplicant_ctrl_iface_tdls_link_status()
865 return wpa_ft_start_over_ds(wpa_s->wpa, target_ap, mdie); in wpa_supplicant_ctrl_iface_ft_ds()
1833 pos += wpa_sm_get_status(wpa_s->wpa, pos, end - pos, verbose); in wpa_supplicant_ctrl_iface_status()
1987 res = rsn_preauth_get_status(wpa_s->wpa, pos, end - pos, verbose); in wpa_supplicant_ctrl_iface_status()
2877 wpa_sm_set_config(wpa_s->wpa, NULL); in wpa_supplicant_ctrl_iface_remove_network()
2924 wpa_sm_set_config(wpa_s->wpa, NULL); in wpa_supplicant_ctrl_iface_remove_network()
2964 wpa_sm_pmksa_cache_flush(wpa_s->wpa, ssid); in wpa_supplicant_ctrl_iface_update_network()
4503 wpa_sm_drop_sa(wpa_s->wpa); in wpa_supplicant_ctrl_iface_drop_sa()
6692 wpa_tdls_enable(wpa_s->wpa, 1); in wpa_supplicant_ctrl_iface_flush()
6720 wpa_sm_pmksa_cache_flush(wpa_s->wpa, NULL); in wpa_supplicant_ctrl_iface_flush()
6721 rsn_preauth_deinit(wpa_s->wpa); in wpa_supplicant_ctrl_iface_flush()
6723 wpa_sm_set_param(wpa_s->wpa, RSNA_PMK_LIFETIME, 43200); in wpa_supplicant_ctrl_iface_flush()
6724 wpa_sm_set_param(wpa_s->wpa, RSNA_PMK_REAUTH_THRESHOLD, 70); in wpa_supplicant_ctrl_iface_flush()
6725 wpa_sm_set_param(wpa_s->wpa, RSNA_SA_TIMEOUT, 60); in wpa_supplicant_ctrl_iface_flush()
7992 reply_len = wpa_sm_get_mib(wpa_s->wpa, reply, reply_size); in wpa_supplicant_ctrl_iface_process()
8002 reply_len = wpa_sm_pmksa_cache_list(wpa_s->wpa, reply, in wpa_supplicant_ctrl_iface_process()
8005 wpa_sm_pmksa_cache_flush(wpa_s->wpa, NULL); in wpa_supplicant_ctrl_iface_process()
8541 pmksa_cache_clear_current(wpa_s->wpa); in wpa_supplicant_ctrl_iface_process()