/external/wpa_supplicant_8/wpa_supplicant/ |
D | events.c | 134 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 …]
|
D | sme.c | 304 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 …]
|
D | wpa_supplicant.c | 262 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 …]
|
D | notify.c | 124 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()
|
D | p2p_supplicant.c | 487 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 …]
|
D | wpas_glue.c | 174 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()
|
D | wps_supplicant.c | 88 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 …]
|
D | hs20_supplicant.c | 1132 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()
|
D | ap.c | 520 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()
|
D | mesh_rsn.c | 126 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()
|
D | eapol_test.c | 458 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()
|
D | scan.c | 37 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()
|
D | wnm_sta.c | 549 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()
|
D | mesh.c | 34 wpa_s->current_ssid = NULL; in wpa_supplicant_mesh_deinit() 159 wpa_s->current_ssid = ssid; in wpa_supplicant_mesh_init()
|
D | ctrl_iface.c | 198 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 …]
|
D | interworking.c | 880 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()
|
D | mesh_mpm.c | 536 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()
|
D | gas_query.c | 264 if (wpa_s->current_ssid == NULL || in pmf_in_use()
|
D | wpa_supplicant_i.h | 506 struct wpa_ssid *current_ssid; member
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_handlers.c | 262 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()
|
D | dbus_new_handlers_p2p.c | 1186 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()
|
D | dbus_old_handlers.c | 792 if (ssid == wpa_s->current_ssid) in wpas_dbus_iface_remove_network()
|
D | dbus_new.c | 767 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()
|