Lines Matching defs:bss
49 struct hostapd_data *hapd = iface->bss[0];
254 static void ieee80211n_get_pri_sec_chan(struct wpa_scan_res *bss,
262 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0);
289 pri_freq = hostapd_hw_get_freq(iface->bss[0], pri_chan);
301 struct wpa_scan_res *bss = scan_res->res[i];
302 if (bss->freq == pri_freq)
304 else if (bss->freq == sec_freq)
321 struct wpa_scan_res *bss = scan_res->res[i];
322 ieee80211n_get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan);
331 struct wpa_scan_res *bss = scan_res->res[i];
332 ieee80211n_get_pri_sec_chan(bss, &bss_pri_chan,
339 MAC2STR(bss->bssid));
357 pri_freq = hostapd_hw_get_freq(iface->bss[0], iface->conf->channel);
367 struct wpa_scan_res *bss = scan_res->res[i];
368 int pri = bss->freq;
372 ieee80211n_get_pri_sec_chan(bss, &pri_chan, &sec_chan);
387 MAC2STR(bss->bssid), bss->freq, pri_chan, sec_chan);
394 MAC2STR(bss->bssid),
433 scan_res = hostapd_driver_get_scan_results(iface->bss[0]);
470 if (hostapd_driver_scan(iface->bss[0], ¶ms) < 0) {
628 hostapd_logger(iface->bss[0], NULL, HOSTAPD_MODULE_IEEE80211,
653 hostapd_logger(iface->bss[0], NULL,
665 hostapd_logger(iface->bss[0], NULL, HOSTAPD_MODULE_IEEE80211,
671 if (hostapd_prepare_rates(iface->bss[0], iface->current_mode)) {
673 hostapd_logger(iface->bss[0], NULL, HOSTAPD_MODULE_IEEE80211,