Lines Matching defs:bss
153 wl_bss_info_t bss[1];
209 wl_bss_info_t *bss = NULL;
213 bss = result->bss;
215 if (!memcmp(bi->BSSID.octet, bss->BSSID.octet,
218 CHSPEC_BAND(bss->chanspec) &&
219 bi->SSID_len == bss->SSID_len &&
220 !memcmp(bi->SSID, bss->SSID, bi->SSID_len))
227 OFFSETOF(struct escan_bss, bss) + bi->length);
230 dbg("can't allocate memory for bss");
235 memcpy(&ebss->bss, bi, bi->length);
246 if (((bss->flags & WL_BSS_FLAGS_RSSI_ONCHANNEL) ==
248 ((bss->RSSI == WLC_RSSI_INVALID) ||
249 (bss->RSSI < bi->RSSI))) {
253 bss->RSSI = bi->RSSI;
254 bss->SNR = bi->SNR;
255 bss->phy_noise = bi->phy_noise;
257 (bss->flags & WL_BSS_FLAGS_RSSI_ONCHANNEL) == 0) {
261 bss->RSSI = bi->RSSI;
262 bss->SNR = bi->SNR;
263 bss->phy_noise = bi->phy_noise;
264 bss->flags |= WL_BSS_FLAGS_RSSI_ONCHANNEL;
283 wl_bss_info_t *bss;
289 bss = result->bss;
290 if (buf_len < bss->length) {
294 memcpy(bi, bss, bss->length);
295 bi = (wl_bss_info_t*)((int8*)bi + bss->length);
296 len -= bss->length;
710 eval("wl", "-i", name, "bss", "down");
713 eval("wl", "-i", name, "bss", "up");