Home
last modified time | relevance | path

Searched refs:current_ssid (Results 1 – 23 of 23) sorted by relevance

/external/wpa_supplicant_8/wpa_supplicant/
Devents.c134 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_get_new_bss()
168 if (wpa_s->conf->ap_scan == 1 && wpa_s->current_ssid) { in wpa_supplicant_select_config()
171 if (wpa_s->current_ssid->ssid_len == 0) in wpa_supplicant_select_config()
181 if (drv_ssid_len == wpa_s->current_ssid->ssid_len && in wpa_supplicant_select_config()
182 os_memcmp(drv_ssid, wpa_s->current_ssid->ssid, in wpa_supplicant_select_config()
231 if (wpa_s->current_ssid && wpa_s->current_ssid != ssid) in wpa_supplicant_select_config()
233 old_ssid = wpa_s->current_ssid; in wpa_supplicant_select_config()
234 wpa_s->current_ssid = ssid; in wpa_supplicant_select_config()
238 wpa_supplicant_rsn_supp_set_config(wpa_s, wpa_s->current_ssid); in wpa_supplicant_select_config()
240 if (old_ssid != wpa_s->current_ssid) in wpa_supplicant_select_config()
[all …]
Dsme.c304 wpa_s->current_ssid, in sme_send_authentication()
552 old_ssid = wpa_s->current_ssid; in sme_send_authentication()
553 wpa_s->current_ssid = ssid; in sme_send_authentication()
554 wpa_supplicant_rsn_supp_set_config(wpa_s, wpa_s->current_ssid); in sme_send_authentication()
556 if (old_ssid != wpa_s->current_ssid) in sme_send_authentication()
701 wpa_s->current_bss && wpa_s->current_ssid) { in sme_sae_auth()
729 wpa_s->current_ssid, 1); in sme_sae_auth()
736 wpa_s->current_bss && wpa_s->current_ssid) { in sme_sae_auth()
743 wpa_s->current_ssid, 1); in sme_sae_auth()
757 wpa_s->current_ssid == NULL) in sme_sae_auth()
[all …]
Dwpa_supplicant.c262 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_initiate_eapol()
658 if (wpa_s->current_ssid && wpa_s->current_ssid->bgscan) in wpa_supplicant_start_bgscan()
659 name = wpa_s->current_ssid->bgscan; in wpa_supplicant_start_bgscan()
666 if (wpa_s->current_ssid == wpa_s->bgscan_ssid) in wpa_supplicant_start_bgscan()
674 if (wpa_s->current_ssid) { in wpa_supplicant_start_bgscan()
675 if (bgscan_init(wpa_s, wpa_s->current_ssid, name)) { in wpa_supplicant_start_bgscan()
685 wpa_s->bgscan_ssid = wpa_s->current_ssid; in wpa_supplicant_start_bgscan()
767 if (wpa_s->conf->p2p_cli_probe && wpa_s->current_ssid && in wpa_supplicant_set_state()
768 wpa_s->current_ssid->mode == WPAS_MODE_INFRA && in wpa_supplicant_set_state()
769 wpa_s->current_ssid->p2p_group) { in wpa_supplicant_set_state()
[all …]
Dnotify.c124 wpa_s->current_ssid ? wpa_s->current_ssid->id : -1, in wpas_notify_state_changed()
127 wpa_s->current_ssid && wpa_s->current_ssid->ssid ? in wpas_notify_state_changed()
128 wpa_ssid_txt(wpa_s->current_ssid->ssid, in wpas_notify_state_changed()
129 wpa_s->current_ssid->ssid_len) : ""); in wpas_notify_state_changed()
822 if (wpa_s->current_ssid != ssid) in wpas_notify_network_bssid_set_changed()
Dp2p_supplicant.c487 s != wpa_s->current_ssid) in wpas_get_p2p_group()
556 return !wpa_s->p2p_mgmt && wpa_s->current_ssid && in p2p_is_active_persistent_group()
557 !wpa_s->current_ssid->disabled && in p2p_is_active_persistent_group()
558 wpa_s->current_ssid->p2p_group && in p2p_is_active_persistent_group()
559 wpa_s->current_ssid->p2p_persistent_group; in p2p_is_active_persistent_group()
566 wpa_s->current_ssid->mode == WPAS_MODE_P2P_GO; in p2p_is_active_persistent_go()
597 wpa_s->current_ssid->mode == WPAS_MODE_INFRA; in p2p_is_active_persistent_cli()
832 ssid = wpa_s->current_ssid; in wpas_p2p_group_delete()
982 if (ssid == wpa_s->current_ssid) { in wpas_p2p_group_delete()
985 wpa_s->current_ssid = NULL; in wpas_p2p_group_delete()
[all …]
Dwpas_glue.c174 if (!wpa_s->current_ssid || in wpa_supplicant_eapol_send()
175 wpa_s->current_ssid->eap_workaround) { in wpa_supplicant_eapol_send()
373 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_get_beacon_ie()
840 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_eap_param_needed()
933 if (wpa_s->current_ssid == NULL) in wpa_supplicant_set_anon_id()
937 if (wpa_config_set(wpa_s->current_ssid, "anonymous_identity", in wpa_supplicant_set_anon_id()
945 res = wpa_config_set(wpa_s->current_ssid, "anonymous_identity", in wpa_supplicant_set_anon_id()
Dwps_supplicant.c88 wpa_s->current_ssid && in wpas_wps_eapol_cb()
89 eap_is_wps_pin_enrollee(&wpa_s->current_ssid->eap)) { in wpas_wps_eapol_cb()
113 if (wpa_s->key_mgmt == WPA_KEY_MGMT_WPS && wpa_s->current_ssid && in wpas_wps_eapol_cb()
114 !(wpa_s->current_ssid->key_mgmt & WPA_KEY_MGMT_WPS)) { in wpas_wps_eapol_cb()
115 int disabled = wpa_s->current_ssid->disabled; in wpas_wps_eapol_cb()
168 if (wpa_s->key_mgmt == WPA_KEY_MGMT_WPS && wpa_s->current_ssid) { in wpas_wps_eapol_cb()
352 if (wpa_s->current_ssid == ssid) in wpas_wps_remove_dup_network()
353 wpa_s->current_ssid = NULL; in wpas_wps_remove_dup_network()
363 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_wps_cred()
456 if (wpa_s->current_ssid) { in wpa_supplicant_wps_cred()
[all …]
Dhs20_supplicant.c1132 if (wpa_s->current_ssid) { in hs20_rx_deauth_imminent_notice()
1136 wpa_s->current_ssid->disabled_until.sec) in hs20_rx_deauth_imminent_notice()
1140 wpa_s->current_ssid->disabled_until.sec = in hs20_rx_deauth_imminent_notice()
1145 if (code == HS20_DEAUTH_REASON_CODE_ESS && wpa_s->current_ssid) { in hs20_rx_deauth_imminent_notice()
1149 wpa_s->current_ssid->disabled_until.sec) in hs20_rx_deauth_imminent_notice()
1153 wpa_s->current_ssid->disabled_until.sec = in hs20_rx_deauth_imminent_notice()
Dap.c520 if (wpa_s->ap_iface == NULL || wpa_s->current_ssid == NULL) in ap_new_psk_cb()
573 if (wpa_s->current_ssid && wpa_s->current_ssid->acs) in wpas_ap_configured_cb()
754 wpa_s->current_ssid = ssid; in wpa_supplicant_create_ap()
778 wpa_s->current_ssid = NULL; in wpa_supplicant_ap_deinit()
1202 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_ap_update_beacon()
1263 if (wpa_s->current_ssid) in wpas_ap_ch_switch()
1264 wpa_s->current_ssid->frequency = freq; in wpas_ap_ch_switch()
Dmesh_rsn.c126 if (mesh_rsn->wpa_s->current_ssid->mode != WPAS_MODE_MESH) in auth_start_ampe()
220 wpa_supplicant_rsn_supp_set_config(wpa_s, wpa_s->current_ssid); in mesh_rsn_auth_init()
290 struct wpa_ssid *ssid = wpa_s->current_ssid; in mesh_rsn_auth_sae_sta()
Deapol_test.c458 struct wpa_ssid *ssid = wpa_s->current_ssid; in eapol_test_eap_param_needed()
552 if (wpa_s->current_ssid == NULL) in eapol_test_set_anon_id()
556 if (wpa_config_set(wpa_s->current_ssid, "anonymous_identity", in eapol_test_set_anon_id()
564 res = wpa_config_set(wpa_s->current_ssid, "anonymous_identity", in eapol_test_set_anon_id()
640 wpa_s->current_ssid = ssid; in test_eapol()
Dscan.c37 if (wpa_s->current_ssid == NULL) { in wpa_supplicant_gen_assoc_event()
38 wpa_s->current_ssid = ssid; in wpa_supplicant_gen_assoc_event()
39 if (wpa_s->current_ssid != NULL) in wpa_supplicant_gen_assoc_event()
780 if (wpa_s->current_ssid) { in wpa_supplicant_scan()
782 params.ssids[0].ssid = wpa_s->current_ssid->ssid; in wpa_supplicant_scan()
784 wpa_s->current_ssid->ssid_len; in wpa_supplicant_scan()
820 } else if (wpa_s->reattach && wpa_s->current_ssid != NULL) { in wpa_supplicant_scan()
826 ssid = wpa_s->current_ssid; in wpa_supplicant_scan()
Dwnm_sta.c549 if (wpa_s->current_ssid && in compare_scan_neighbor_results()
550 !wpa_scan_res_match(wpa_s, 0, target, wpa_s->current_ssid, in compare_scan_neighbor_results()
726 struct wpa_ssid *ssid = wpa_s->current_ssid; in wnm_add_cand_list()
838 struct wpa_ssid *ssid = wpa_s->current_ssid; in wnm_scan_process()
Dmesh.c34 wpa_s->current_ssid = NULL; in wpa_supplicant_mesh_deinit()
159 wpa_s->current_ssid = ssid; in wpa_supplicant_mesh_init()
Dctrl_iface.c198 if (!wpa_s->current_ssid || wpa_s->wpa_state < WPA_AUTHENTICATING) in set_disallow_aps()
201 c = wpa_s->current_ssid; in set_disallow_aps()
560 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_ctrl_iface_preauth()
1788 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_ctrl_iface_status()
1938 if (wpa_s->current_ssid) { in wpa_supplicant_ctrl_iface_status()
1945 if (wpa_s->current_ssid->parent_cred != cred) in wpa_supplicant_ctrl_iface_status()
2054 wpa_s->current_ssid ? wpa_s->current_ssid->id : -1, in wpa_supplicant_ctrl_iface_status()
2057 wpa_s->current_ssid && wpa_s->current_ssid->ssid ? in wpa_supplicant_ctrl_iface_status()
2058 wpa_ssid_txt(wpa_s->current_ssid->ssid, in wpa_supplicant_ctrl_iface_status()
2059 wpa_s->current_ssid->ssid_len) : ""); in wpa_supplicant_ctrl_iface_status()
[all …]
Dinterworking.c880 if (wpa_s->wpa_state < WPA_ASSOCIATED || wpa_s->current_ssid == NULL) in already_connected()
883 ssid = wpa_s->current_ssid; in already_connected()
921 if (ssid == wpa_s->current_ssid) { in remove_duplicate_network()
982 return wpa_s->current_ssid->id; in interworking_connect_3gpp()
1545 return wpa_s->current_ssid->id; in interworking_connect_roaming_consortium()
Dmesh_mpm.c536 struct wpa_ssid *ssid = wpa_s->current_ssid; in mesh_mpm_connect_peer()
726 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_mesh_new_mesh_peer()
Dgas_query.c264 if (wpa_s->current_ssid == NULL || in pmf_in_use()
Dwpa_supplicant_i.h506 struct wpa_ssid *current_ssid; member
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers.c262 if (wpa_s->current_ssid == ssid || in set_network_properties()
263 wpa_s->current_ssid == NULL) { in set_network_properties()
1477 if (wpa_s->current_ssid != NULL) { in wpas_dbus_handler_disconnect()
1618 if (wpa_s->current_ssid != NULL) { in wpas_dbus_handler_reattach()
1702 if (ssid == wpa_s->current_ssid) in wpas_dbus_handler_remove_network()
1741 if (ssid == wpa_s->current_ssid) in remove_network()
3191 if (wpa_s->current_ssid && wpa_s->dbus_new_path) in wpas_dbus_getter_current_network()
3194 wpa_s->dbus_new_path, wpa_s->current_ssid->id); in wpas_dbus_getter_current_network()
3232 wpa_s->current_ssid->proto); in wpas_dbus_getter_current_auth_mode()
Ddbus_new_handlers_p2p.c1186 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpas_get_p2p_role()
2229 if (wpa_s->current_ssid == NULL) in wpas_dbus_getter_p2p_group_ssid()
2232 iter, DBUS_TYPE_BYTE, wpa_s->current_ssid->ssid, in wpas_dbus_getter_p2p_group_ssid()
2233 wpa_s->current_ssid->ssid_len, error); in wpas_dbus_getter_p2p_group_ssid()
2246 if (wpa_s->current_ssid == NULL) in wpas_dbus_getter_p2p_group_bssid()
2248 p_bssid = wpa_s->current_ssid->bssid; in wpas_dbus_getter_p2p_group_bssid()
2290 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpas_dbus_getter_p2p_group_passphrase()
2312 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpas_dbus_getter_p2p_group_psk()
Ddbus_old_handlers.c792 if (ssid == wpa_s->current_ssid) in wpas_dbus_iface_remove_network()
Ddbus_new.c767 if ((wpa_s->current_ssid && in wpas_dbus_signal_wps_cred()
770 (const char *) wpa_s->current_ssid->bssid, ETH_ALEN)) || in wpas_dbus_signal_wps_cred()