Lines Matching refs:current_ssid
139 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()
322 wpa_s->current_ssid = NULL; in wpa_supplicant_mark_disassoc()
394 wpa_s->current_ssid && in wpa_supplicant_dynamic_keys()
395 !(wpa_s->current_ssid->eapol_flags & in wpa_supplicant_dynamic_keys()
1394 if (wpa_s->current_ssid) { in wpa_supplicant_select_bss()
1404 if (ssid != wpa_s->current_ssid) in wpa_supplicant_select_bss()
1564 ssid, wpa_s->current_ssid); in wpa_supplicant_connect()
1579 ssid != wpa_s->current_ssid)))) { in wpa_supplicant_connect()
1670 if (wpa_s->current_ssid == NULL) in wpa_supplicant_need_to_roam()
1672 if (wpa_s->current_ssid != ssid) in wpa_supplicant_need_to_roam()
1678 if (wpa_s->current_ssid->ssid) in wpa_supplicant_need_to_roam()
1680 wpa_s->current_ssid->ssid, in wpa_supplicant_need_to_roam()
1681 wpa_s->current_ssid->ssid_len); in wpa_supplicant_need_to_roam()
1706 if (wpa_s->current_ssid->bssid_set && in wpa_supplicant_need_to_roam()
1707 os_memcmp(selected->bssid, wpa_s->current_ssid->bssid, ETH_ALEN) == in wpa_supplicant_need_to_roam()
1993 if (ssid != wpa_s->current_ssid && in wpas_select_network_from_last_scan()
2292 if (!wpa_s->current_ssid || in multi_ap_process_assoc_resp()
2293 !wpa_s->current_ssid->multi_ap_backhaul_sta || in multi_ap_process_assoc_resp()
2314 wpa_s->current_ssid->key_mgmt & WPA_KEY_MGMT_WPS) { in multi_ap_process_assoc_resp()
2544 if (p && wpa_s->current_ssid && in wpa_supplicant_event_associnfo()
2545 wpa_s->current_ssid->key_mgmt == WPA_KEY_MGMT_WPS) { in wpa_supplicant_event_associnfo()
2661 if (!wpa_s->current_bss || !wpa_s->current_ssid) in wpa_supplicant_assoc_update_ie()
2664 if (!wpa_key_mgmt_wpa_any(wpa_s->current_ssid->key_mgmt)) in wpa_supplicant_assoc_update_ie()
2806 if (wpa_s->current_ssid) { in wpa_supplicant_event_assoc()
2811 wpa_supplicant_scard_init(wpa_s, wpa_s->current_ssid); in wpa_supplicant_event_assoc()
2841 (wpa_s->current_ssid && in wpa_supplicant_event_assoc()
2842 wpa_s->current_ssid->mode == IEEE80211_MODE_IBSS)) { in wpa_supplicant_event_assoc()
2843 if (wpa_s->current_ssid && in wpa_supplicant_event_assoc()
2852 wpa_s->current_ssid); in wpa_supplicant_event_assoc()
2914 wpa_s->current_ssid && in wpa_supplicant_event_assoc()
2917 wpa_set_wep_keys(wpa_s, wpa_s->current_ssid); in wpa_supplicant_event_assoc()
2921 if (wpa_s->current_ssid && in wpa_supplicant_event_assoc()
2922 wpa_s->current_ssid->mode == WPAS_MODE_IBSS && in wpa_supplicant_event_assoc()
2926 wpa_s->ibss_rsn = ibss_rsn_init(wpa_s, wpa_s->current_ssid); in wpa_supplicant_event_assoc()
2934 ibss_rsn_set_psk(wpa_s->ibss_rsn, wpa_s->current_ssid->psk); in wpa_supplicant_event_assoc()
3077 wpa_s->current_ssid && in wpa_supplicant_event_disassoc_finish()
3078 wpa_s->current_ssid->mode == WPAS_MODE_INFRA && in wpa_supplicant_event_disassoc_finish()
3088 fast_reconnect_ssid = wpa_s->current_ssid; in wpa_supplicant_event_disassoc_finish()
3117 last_ssid = wpa_s->current_ssid; in wpa_supplicant_event_disassoc_finish()
3125 wpa_s->current_ssid = last_ssid; in wpa_supplicant_event_disassoc_finish()
3428 ssid = wpa_s->current_ssid; in wpa_supplicant_event_ibss_rsn_start()
3441 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_event_ibss_auth()
4090 wpa_s->current_ssid && in wpas_event_assoc_reject()
4091 wpa_s->current_ssid->owe_group == 0 && in wpas_event_assoc_reject()
4093 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpas_event_assoc_reject()
4146 if (wpa_s->current_ssid && in wpas_event_assoc_reject()
4147 wpa_key_mgmt_sae(wpa_s->current_ssid->key_mgmt) && in wpas_event_assoc_reject()
4151 wpa_sm_pmksa_cache_flush(wpa_s->wpa, wpa_s->current_ssid); in wpas_event_assoc_reject()
4156 if (wpa_s->current_ssid && in wpas_event_assoc_reject()
4157 wpa_s->current_ssid->key_mgmt == WPA_KEY_MGMT_DPP && in wpas_event_assoc_reject()
4161 wpa_sm_pmksa_cache_flush(wpa_s->wpa, wpa_s->current_ssid); in wpas_event_assoc_reject()
4366 if (wpa_s->current_ssid && in wpa_supplicant_event()
4367 wpa_s->current_ssid->mode == WPAS_MODE_MESH) { in wpa_supplicant_event()
4377 if (wpa_s->current_ssid && in wpa_supplicant_event()
4378 wpa_s->current_ssid->mode == WPAS_MODE_MESH) { in wpa_supplicant_event()
4466 if (!data || !wpa_s->current_ssid) in wpa_supplicant_event()
4479 wpa_s->current_ssid->frequency = data->ch_switch.freq; in wpa_supplicant_event()
4482 if (wpa_s->current_ssid->mode == WPAS_MODE_AP || in wpa_supplicant_event()
4483 wpa_s->current_ssid->mode == WPAS_MODE_P2P_GO || in wpa_supplicant_event()
4484 wpa_s->current_ssid->mode == WPAS_MODE_MESH || in wpa_supplicant_event()
4485 wpa_s->current_ssid->mode == in wpa_supplicant_event()
4576 if (wpa_s->current_ssid && in wpa_supplicant_event()
4577 wpa_s->current_ssid->mode == WPAS_MODE_IBSS && in wpa_supplicant_event()
4730 (wpa_s->current_ssid && wpa_s->current_ssid->p2p_group && in wpa_supplicant_event()
4731 wpa_s->current_ssid->mode == WPAS_MODE_P2P_GO)) { in wpa_supplicant_event()
4742 if (wpa_s->current_ssid && in wpa_supplicant_event()
4743 wpa_s->current_ssid->p2p_group) in wpa_supplicant_event()
4920 if (!wpa_s->current_bss || !wpa_s->current_ssid) in wpa_supplicant_event()
4927 if (!wpa_s->current_ssid) { in wpa_supplicant_event()