Lines Matching refs:current_ssid
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()
303 wpa_s->current_ssid = NULL; in wpa_supplicant_mark_disassoc()
365 wpa_s->current_ssid && in wpa_supplicant_dynamic_keys()
366 !(wpa_s->current_ssid->eapol_flags & in wpa_supplicant_dynamic_keys()
1262 ssid, wpa_s->current_ssid); in wpa_supplicant_connect()
1277 ssid != wpa_s->current_ssid)))) { in wpa_supplicant_connect()
1356 if (wpa_s->current_ssid == NULL) in wpa_supplicant_need_to_roam()
1358 if (wpa_s->current_ssid != ssid) in wpa_supplicant_need_to_roam()
1364 if (wpa_s->current_ssid->ssid) in wpa_supplicant_need_to_roam()
1366 wpa_s->current_ssid->ssid, in wpa_supplicant_need_to_roam()
1367 wpa_s->current_ssid->ssid_len); in wpa_supplicant_need_to_roam()
1391 if (wpa_s->current_ssid->bssid_set && in wpa_supplicant_need_to_roam()
1392 os_memcmp(selected->bssid, wpa_s->current_ssid->bssid, ETH_ALEN) == in wpa_supplicant_need_to_roam()
1623 if (ssid != wpa_s->current_ssid && in wpas_select_network_from_last_scan()
2033 if (p && wpa_s->current_ssid && in wpa_supplicant_event_associnfo()
2034 wpa_s->current_ssid->key_mgmt == WPA_KEY_MGMT_WPS) { in wpa_supplicant_event_associnfo()
2150 if (!wpa_s->current_bss || !wpa_s->current_ssid) in wpa_supplicant_assoc_update_ie()
2153 if (!wpa_key_mgmt_wpa_any(wpa_s->current_ssid->key_mgmt)) in wpa_supplicant_assoc_update_ie()
2282 if (wpa_s->current_ssid) {
2287 wpa_supplicant_scard_init(wpa_s, wpa_s->current_ssid);
2312 (wpa_s->current_ssid &&
2313 wpa_s->current_ssid->mode == IEEE80211_MODE_IBSS)) {
2314 if (wpa_s->current_ssid &&
2323 wpa_s->current_ssid);
2385 wpa_s->current_ssid &&
2388 wpa_set_wep_keys(wpa_s, wpa_s->current_ssid);
2392 if (wpa_s->current_ssid &&
2393 wpa_s->current_ssid->mode == WPAS_MODE_IBSS &&
2405 ibss_rsn_set_psk(wpa_s->ibss_rsn, wpa_s->current_ssid->psk);
2524 wpa_s->current_ssid &&
2525 wpa_s->current_ssid->mode == WPAS_MODE_INFRA &&
2535 fast_reconnect_ssid = wpa_s->current_ssid;
2564 last_ssid = wpa_s->current_ssid;
2569 wpa_s->current_ssid = last_ssid;
2884 ssid = wpa_s->current_ssid;
2897 struct wpa_ssid *ssid = wpa_s->current_ssid;
3542 if (wpa_s->current_ssid &&
3543 wpa_s->current_ssid->mode == WPAS_MODE_MESH) {
3553 if (wpa_s->current_ssid &&
3554 wpa_s->current_ssid->mode == WPAS_MODE_MESH) {
3638 if (!data || !wpa_s->current_ssid)
3642 wpa_s->current_ssid->frequency = data->ch_switch.freq;
3644 if (wpa_s->current_ssid->mode == WPAS_MODE_AP ||
3645 wpa_s->current_ssid->mode == WPAS_MODE_P2P_GO ||
3646 wpa_s->current_ssid->mode ==
3730 if (wpa_s->current_ssid &&
3731 wpa_s->current_ssid->mode == WPAS_MODE_IBSS &&
3867 (wpa_s->current_ssid && wpa_s->current_ssid->p2p_group &&
3868 wpa_s->current_ssid->mode == WPAS_MODE_P2P_GO)) {
3879 if (wpa_s->current_ssid &&
3880 wpa_s->current_ssid->p2p_group)