Lines Matching refs:current_bss
162 wpa_s->current_bss = bss; in wpa_supplicant_update_current_bss()
309 wpa_s->current_bss = NULL; in wpa_supplicant_mark_disassoc()
1659 struct wpa_bss *current_bss = NULL; in wpa_supplicant_need_to_roam() local
1679 current_bss = wpa_bss_get(wpa_s, wpa_s->bssid, in wpa_supplicant_need_to_roam()
1682 if (!current_bss) in wpa_supplicant_need_to_roam()
1683 current_bss = wpa_bss_get_bssid(wpa_s, wpa_s->bssid); in wpa_supplicant_need_to_roam()
1685 if (!current_bss) in wpa_supplicant_need_to_roam()
1688 if (current_bss == selected) in wpa_supplicant_need_to_roam()
1691 if (selected->last_update_idx > current_bss->last_update_idx) in wpa_supplicant_need_to_roam()
1698 MAC2STR(current_bss->bssid), in wpa_supplicant_need_to_roam()
1699 current_bss->freq, current_bss->level, in wpa_supplicant_need_to_roam()
1700 current_bss->snr, current_bss->est_throughput); in wpa_supplicant_need_to_roam()
1714 if (selected->est_throughput > current_bss->est_throughput + 5000) { in wpa_supplicant_need_to_roam()
1720 to_5ghz = selected->freq > 4000 && current_bss->freq < 4000; in wpa_supplicant_need_to_roam()
1722 if (current_bss->level < 0 && in wpa_supplicant_need_to_roam()
1723 current_bss->level > selected->level + to_5ghz * 2) { in wpa_supplicant_need_to_roam()
1729 if (current_bss->est_throughput > selected->est_throughput + 5000) { in wpa_supplicant_need_to_roam()
1735 cur_est = current_bss->est_throughput; in wpa_supplicant_need_to_roam()
1738 if (current_bss->level < 0) { in wpa_supplicant_need_to_roam()
1739 if (current_bss->level < -85) in wpa_supplicant_need_to_roam()
1741 else if (current_bss->level < -80) in wpa_supplicant_need_to_roam()
1743 else if (current_bss->level < -75) in wpa_supplicant_need_to_roam()
1745 else if (current_bss->level < -70) in wpa_supplicant_need_to_roam()
1774 diff = abs(current_bss->level - selected->level); in wpa_supplicant_need_to_roam()
2661 if (!wpa_s->current_bss || !wpa_s->current_ssid) in wpa_supplicant_assoc_update_ie()
2667 bss_wpa = wpa_bss_get_vendor_ie(wpa_s->current_bss, in wpa_supplicant_assoc_update_ie()
2669 bss_rsn = wpa_bss_get_ie(wpa_s->current_bss, WLAN_EID_RSN); in wpa_supplicant_assoc_update_ie()
2686 struct wpa_bss *bss = wpa_s->current_bss; in wpas_fst_update_mb_assoc()
3057 curr = wpa_s->current_bss; in wpa_supplicant_event_disassoc_finish()
3087 fast_reconnect = wpa_s->current_bss; in wpa_supplicant_event_disassoc_finish()
4094 struct wpa_bss *bss = wpa_s->current_bss; in wpas_event_assoc_reject()
4115 wpa_s->current_bss && data->assoc_reject.bssid && in wpas_event_assoc_reject()
4133 wpa_s->current_bss->level); in wpas_event_assoc_reject()
4690 wpa_bss_update_level(wpa_s->current_bss, in wpa_supplicant_event()
4920 if (!wpa_s->current_bss || !wpa_s->current_ssid) in wpa_supplicant_event()