Lines Matching defs:bss
16 #include "bss.h"
783 struct wpa_bss *bss, u8 *buf,
818 WPA_PUT_LE64(pos, bss->tsf);
819 pos += sizeof(bss->tsf);
820 WPA_PUT_LE16(pos, bss->beacon_int);
822 WPA_PUT_LE16(pos, bss->caps);
868 struct wpa_bss *bss,
890 bss, buf + sizeof(*rep),
935 struct wpabuf **wpa_buf, struct wpa_bss *bss,
939 const u8 *ies = wpa_bss_ie_ptr(bss);
941 size_t ies_len = bss->ie_len ? bss->ie_len : bss->beacon_ie_len;
946 !ether_addr_equal(data->bssid, bss->bssid))
950 (data->ssid_len != bss->ssid_len ||
951 os_memcmp(data->ssid, bss->ssid, bss->ssid_len) != 0))
954 if (wpas_get_op_chan_phy(bss->freq, ies, ies_len, &rep.op_class,
960 rep.rcpi = rssi_to_rcpi(bss->level);
962 os_memcpy(rep.bssid, bss->bssid, ETH_ALEN);
969 ret = wpas_add_beacon_rep_elem(data, bss, wpa_buf, &rep,
1558 wpa_printf(MSG_DEBUG, "RRM: TSF BSSID: " MACSTR " current BSS: " MACSTR,
1569 struct wpa_bss *bss =
1572 if (!bss)
1596 * unknown issue with cfg80211 BSS table updates during
1597 * a scan with the current BSS.
1622 if (wpas_add_beacon_rep(wpa_s, &buf, bss, info->scan_start_tsf,