Lines Matching refs:current_bss
157 wpa_s->current_bss = bss;
297 wpa_s->current_bss = NULL;
1491 struct wpa_bss *current_bss = NULL;
1511 current_bss = wpa_bss_get(wpa_s, wpa_s->bssid,
1514 if (!current_bss)
1515 current_bss = wpa_bss_get_bssid(wpa_s, wpa_s->bssid);
1517 if (!current_bss)
1520 if (current_bss == selected)
1523 if (selected->last_update_idx > current_bss->last_update_idx)
1530 MAC2STR(current_bss->bssid),
1531 current_bss->freq, current_bss->level,
1532 current_bss->snr, current_bss->est_throughput);
1546 if (selected->est_throughput > current_bss->est_throughput + 5000) {
1552 to_5ghz = selected->freq > 4000 && current_bss->freq < 4000;
1554 if (current_bss->level < 0 &&
1555 current_bss->level > selected->level + to_5ghz * 2) {
1561 if (current_bss->est_throughput > selected->est_throughput + 5000) {
1567 cur_est = current_bss->est_throughput;
1570 if (current_bss->level < 0) {
1571 if (current_bss->level < -85)
1573 else if (current_bss->level < -80)
1575 else if (current_bss->level < -75)
1577 else if (current_bss->level < -70)
1606 diff = abs(current_bss->level - selected->level);
2364 if (!wpa_s->current_bss || !wpa_s->current_ssid)
2370 bss_wpa = wpa_bss_get_vendor_ie(wpa_s->current_bss,
2372 bss_rsn = wpa_bss_get_ie(wpa_s->current_bss, WLAN_EID_RSN);
2389 struct wpa_bss *bss = wpa_s->current_bss;
2738 curr = wpa_s->current_bss;
2768 fast_reconnect = wpa_s->current_bss;
4123 wpa_bss_update_level(wpa_s->current_bss,
4349 if (!wpa_s->current_bss || !wpa_s->current_ssid)