Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/wpa_supplicant/
Devents.c139 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_get_new_bss()
173 if (wpa_s->conf->ap_scan == 1 && wpa_s->current_ssid) { in wpa_supplicant_select_config()
176 if (wpa_s->current_ssid->ssid_len == 0) in wpa_supplicant_select_config()
186 if (drv_ssid_len == wpa_s->current_ssid->ssid_len && in wpa_supplicant_select_config()
187 os_memcmp(drv_ssid, wpa_s->current_ssid->ssid, in wpa_supplicant_select_config()
236 if (wpa_s->current_ssid && wpa_s->current_ssid != ssid) in wpa_supplicant_select_config()
238 old_ssid = wpa_s->current_ssid; in wpa_supplicant_select_config()
239 wpa_s->current_ssid = ssid; in wpa_supplicant_select_config()
243 wpa_supplicant_rsn_supp_set_config(wpa_s, wpa_s->current_ssid); in wpa_supplicant_select_config()
245 if (old_ssid != wpa_s->current_ssid) in wpa_supplicant_select_config()
[all …]
Dsme.c364 wpa_s->current_ssid, in sme_send_authentication()
671 old_ssid = wpa_s->current_ssid; in sme_send_authentication()
672 wpa_s->current_ssid = ssid; in sme_send_authentication()
673 wpa_supplicant_rsn_supp_set_config(wpa_s, wpa_s->current_ssid); in sme_send_authentication()
767 if (old_ssid != wpa_s->current_ssid) in sme_send_authentication()
1067 (external || wpa_s->current_bss) && wpa_s->current_ssid) { in sme_sae_auth()
1096 wpa_s->current_ssid, 2); in sme_sae_auth()
1100 wpa_s->current_ssid); in sme_sae_auth()
1107 (external || wpa_s->current_bss) && wpa_s->current_ssid) { in sme_sae_auth()
1115 wpa_s->current_ssid, 1); in sme_sae_auth()
[all …]
Dwpa_supplicant.c302 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_initiate_eapol()
762 if (wpa_s->current_ssid && wpa_s->current_ssid->bgscan) in wpa_supplicant_start_bgscan()
763 name = wpa_s->current_ssid->bgscan; in wpa_supplicant_start_bgscan()
770 if (wpa_s->current_ssid == wpa_s->bgscan_ssid) in wpa_supplicant_start_bgscan()
778 if (wpa_s->current_ssid) { in wpa_supplicant_start_bgscan()
779 if (bgscan_init(wpa_s, wpa_s->current_ssid, name)) { in wpa_supplicant_start_bgscan()
789 wpa_s->bgscan_ssid = wpa_s->current_ssid; in wpa_supplicant_start_bgscan()
888 if (wpa_s->conf->p2p_cli_probe && wpa_s->current_ssid && in wpa_supplicant_set_state()
889 wpa_s->current_ssid->mode == WPAS_MODE_INFRA && in wpa_supplicant_set_state()
890 wpa_s->current_ssid->p2p_group) { in wpa_supplicant_set_state()
[all …]
Dp2p_supplicant.c495 s != wpa_s->current_ssid) in wpas_get_p2p_group()
564 return !wpa_s->p2p_mgmt && wpa_s->current_ssid && in p2p_is_active_persistent_group()
565 !wpa_s->current_ssid->disabled && in p2p_is_active_persistent_group()
566 wpa_s->current_ssid->p2p_group && in p2p_is_active_persistent_group()
567 wpa_s->current_ssid->p2p_persistent_group; in p2p_is_active_persistent_group()
574 wpa_s->current_ssid->mode == WPAS_MODE_P2P_GO; in p2p_is_active_persistent_go()
605 wpa_s->current_ssid->mode == WPAS_MODE_INFRA; in p2p_is_active_persistent_cli()
841 ssid = wpa_s->current_ssid; in wpas_p2p_group_delete()
992 if (ssid == wpa_s->current_ssid) { in wpas_p2p_group_delete()
995 wpa_s->current_ssid = NULL; in wpas_p2p_group_delete()
[all …]
Dnotify.c118 wpa_s->current_ssid ? wpa_s->current_ssid->id : -1, in wpas_notify_state_changed()
121 wpa_s->current_ssid && wpa_s->current_ssid->ssid ? in wpas_notify_state_changed()
122 wpa_ssid_txt(wpa_s->current_ssid->ssid, in wpas_notify_state_changed()
123 wpa_s->current_ssid->ssid_len) : ""); in wpas_notify_state_changed()
930 if (wpa_s->current_ssid != ssid) in wpas_notify_network_bssid_set_changed()
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()
355 if (wpa_s->current_ssid == ssid) in wpas_wps_remove_dup_network()
356 wpa_s->current_ssid = NULL; in wpas_wps_remove_dup_network()
366 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_wps_cred()
459 if (wpa_s->current_ssid) { in wpa_supplicant_wps_cred()
[all …]
Dwpas_glue.c177 if (!wpa_s->current_ssid || in wpa_supplicant_eapol_send()
178 wpa_s->current_ssid->eap_workaround) { in wpa_supplicant_eapol_send()
376 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_get_beacon_ie()
910 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_eap_param_needed()
1058 if (wpa_s->current_ssid == NULL) in wpa_supplicant_set_anon_id()
1062 if (wpa_config_set(wpa_s->current_ssid, "anonymous_identity", in wpa_supplicant_set_anon_id()
1070 res = wpa_config_set(wpa_s->current_ssid, "anonymous_identity", in wpa_supplicant_set_anon_id()
Dhs20_supplicant.c76 if (!bss || !is_hs20_network(wpa_s, wpa_s->current_ssid, bss)) { in hs20_configure_frame_filters()
1301 if (wpa_s->current_ssid) { in hs20_rx_deauth_imminent_notice()
1305 wpa_s->current_ssid->disabled_until.sec) in hs20_rx_deauth_imminent_notice()
1309 wpa_s->current_ssid->disabled_until.sec = in hs20_rx_deauth_imminent_notice()
1314 if (code == HS20_DEAUTH_REASON_CODE_ESS && wpa_s->current_ssid) { in hs20_rx_deauth_imminent_notice()
1318 wpa_s->current_ssid->disabled_until.sec) in hs20_rx_deauth_imminent_notice()
1322 wpa_s->current_ssid->disabled_until.sec = in hs20_rx_deauth_imminent_notice()
Dap.c637 if (wpa_s->ap_iface == NULL || wpa_s->current_ssid == NULL) in ap_new_psk_cb()
697 if (wpa_s->current_ssid && wpa_s->current_ssid->acs) { in wpas_ap_configured_cb()
699 wpa_s->current_ssid->frequency = wpa_s->ap_iface->freq; in wpas_ap_configured_cb()
879 wpa_s->current_ssid = ssid; in wpa_supplicant_create_ap()
911 wpa_s->current_ssid = NULL; in wpa_supplicant_ap_deinit()
1335 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_ap_update_beacon()
1399 if (wpa_s->current_ssid) in wpas_ap_ch_switch()
1400 wpa_s->current_ssid->frequency = freq; in wpas_ap_ch_switch()
Dmesh.c34 wpa_s->current_ssid = NULL; in wpa_supplicant_mesh_deinit()
158 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpas_mesh_init_rsn()
197 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpas_mesh_complete()
289 wpa_s->current_ssid = ssid; in wpa_supplicant_mesh_init()
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()
Dmesh_rsn.c131 if (mesh_rsn->wpa_s->current_ssid->mode != WPAS_MODE_MESH) in auth_start_ampe()
276 wpa_supplicant_rsn_supp_set_config(wpa_s, wpa_s->current_ssid); in mesh_rsn_auth_init()
357 struct wpa_ssid *ssid = wpa_s->current_ssid; in mesh_rsn_auth_sae_sta()
Dwnm_sta.c767 if (wpa_s->current_ssid && in compare_scan_neighbor_results()
768 !wpa_scan_res_match(wpa_s, 0, target, wpa_s->current_ssid, in compare_scan_neighbor_results()
959 struct wpa_ssid *ssid = wpa_s->current_ssid; in wnm_add_cand_list()
1116 struct wpa_ssid *ssid = wpa_s->current_ssid; in wnm_scan_process()
1294 struct wpa_ssid *ssid = wpa_s->current_ssid; in wnm_fetch_scan_results()
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()
966 if (wpa_s->current_ssid) { in wpa_supplicant_scan()
968 params.ssids[0].ssid = wpa_s->current_ssid->ssid; in wpa_supplicant_scan()
970 wpa_s->current_ssid->ssid_len; in wpa_supplicant_scan()
1006 } else if (wpa_s->reattach && wpa_s->current_ssid != NULL) { in wpa_supplicant_scan()
1012 ssid = wpa_s->current_ssid; in wpa_supplicant_scan()
Dgas_query.c277 if (wpa_s->current_ssid == NULL || in pmf_in_use()
308 (gas->wpa_s->current_ssid && in gas_query_tx()
Dctrl_iface.c205 if (!wpa_s->current_ssid || wpa_s->wpa_state < WPA_AUTHENTICATING) in set_disallow_aps()
208 c = wpa_s->current_ssid; in set_disallow_aps()
829 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_ctrl_iface_preauth()
2050 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_ctrl_iface_status()
2218 if (wpa_s->current_ssid) { in wpa_supplicant_ctrl_iface_status()
2225 if (wpa_s->current_ssid->parent_cred != cred) in wpa_supplicant_ctrl_iface_status()
2347 wpa_s->current_ssid ? wpa_s->current_ssid->id : -1, in wpa_supplicant_ctrl_iface_status()
2350 wpa_s->current_ssid && wpa_s->current_ssid->ssid ? in wpa_supplicant_ctrl_iface_status()
2351 wpa_ssid_txt(wpa_s->current_ssid->ssid, in wpa_supplicant_ctrl_iface_status()
2352 wpa_s->current_ssid->ssid_len) : ""); in wpa_supplicant_ctrl_iface_status()
[all …]
Dinterworking.c886 if (wpa_s->wpa_state < WPA_ASSOCIATED || wpa_s->current_ssid == NULL) in already_connected()
889 ssid = wpa_s->current_ssid; in already_connected()
927 if (ssid == wpa_s->current_ssid) { in remove_duplicate_network()
987 return wpa_s->current_ssid->id; in interworking_connect_3gpp()
1571 return wpa_s->current_ssid->id; in interworking_connect_roaming_consortium()
Dmesh_mpm.c560 struct wpa_ssid *ssid = wpa_s->current_ssid; in mesh_mpm_connect_peer()
774 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_mesh_new_mesh_peer()
Dwpa_supplicant_i.h533 struct wpa_ssid *current_ssid; member
Drrm.c144 if (wpa_s->wpa_state != WPA_COMPLETED || wpa_s->current_ssid == NULL) { in wpas_rrm_send_neighbor_rep_request()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c1263 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpas_get_p2p_role()
2330 if (wpa_s->current_ssid == NULL) in wpas_dbus_getter_p2p_group_ssid()
2333 iter, DBUS_TYPE_BYTE, wpa_s->current_ssid->ssid, in wpas_dbus_getter_p2p_group_ssid()
2334 wpa_s->current_ssid->ssid_len, error); in wpas_dbus_getter_p2p_group_ssid()
2347 if (wpa_s->current_ssid == NULL) in wpas_dbus_getter_p2p_group_bssid()
2349 p_bssid = wpa_s->current_ssid->bssid; in wpas_dbus_getter_p2p_group_bssid()
2390 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpas_dbus_getter_p2p_group_passphrase()
2406 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpas_dbus_getter_p2p_group_psk()
Ddbus_new_handlers.c270 if (wpa_s->current_ssid == ssid || in set_network_properties()
271 wpa_s->current_ssid == NULL) { in set_network_properties()
1557 if (wpa_s->current_ssid != NULL) { in wpas_dbus_handler_disconnect()
1692 if (wpa_s->current_ssid != NULL) { in wpas_dbus_handler_reattach()
1799 if (ssid == wpa_s->current_ssid) in remove_network()
3534 if (wpa_s->current_ssid && wpa_s->dbus_new_path) in wpas_dbus_getter_current_network()
3537 wpa_s->dbus_new_path, wpa_s->current_ssid->id); in wpas_dbus_getter_current_network()
3573 } else if (wpa_s->current_ssid) { in wpas_dbus_getter_current_auth_mode()
3575 wpa_s->current_ssid->proto); in wpas_dbus_getter_current_auth_mode()
5309 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpas_dbus_getter_mesh_group()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/
Dhidl_manager.cpp719 if (wpa_s->current_ssid) { in notifyStateChange()
720 hidl_network_id = wpa_s->current_ssid->id; in notifyStateChange()
722 wpa_s->current_ssid->ssid, in notifyStateChange()
723 wpa_s->current_ssid->ssid + wpa_s->current_ssid->ssid_len); in notifyStateChange()
Dp2p_network.cpp170 (wpa_s->current_ssid == wpa_ssid)}; in isCurrentInternal()
Dsta_network.cpp2008 if (wpa_s->current_ssid == wpa_ssid || wpa_s->current_ssid == NULL) { in resetInternalStateAfterParamsUpdate()

12