Lines Matching refs:bss
49 struct hostapd_data *hapd = iface->bss[0];
257 static void ieee80211n_get_pri_sec_chan(struct wpa_scan_res *bss,
265 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0);
292 pri_freq = hostapd_hw_get_freq(iface->bss[0], pri_chan);
304 struct wpa_scan_res *bss = scan_res->res[i];
305 if (bss->freq == pri_freq)
307 else if (bss->freq == sec_freq)
318 * Match PRI/SEC channel with any existing HT40 BSS on the same
324 struct wpa_scan_res *bss = scan_res->res[i];
325 ieee80211n_get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan);
334 struct wpa_scan_res *bss = scan_res->res[i];
335 ieee80211n_get_pri_sec_chan(bss, &bss_pri_chan,
340 "secondary channel due to BSS "
342 MAC2STR(bss->bssid));
360 pri_freq = hostapd_hw_get_freq(iface->bss[0], iface->conf->channel);
370 struct wpa_scan_res *bss = scan_res->res[i];
371 int pri = bss->freq;
375 ieee80211n_get_pri_sec_chan(bss, &pri_chan, &sec_chan);
388 wpa_printf(MSG_DEBUG, "Neighboring BSS: " MACSTR
390 MAC2STR(bss->bssid), bss->freq, pri_chan, sec_chan);
395 "mismatch with BSS " MACSTR
397 MAC2STR(bss->bssid),
423 scan_res = hostapd_driver_get_scan_results(iface->bss[0]);
461 if (hostapd_driver_scan(iface->bss[0], ¶ms) < 0) {
618 hostapd_logger(iface->bss[0], NULL, HOSTAPD_MODULE_IEEE80211,
663 hostapd_logger(iface->bss[0], NULL,
683 hostapd_logger(iface->bss[0], NULL,
695 hostapd_logger(iface->bss[0], NULL, HOSTAPD_MODULE_IEEE80211,