Searched refs:pri_freq (Results 1 – 6 of 6) sorted by relevance
/hostap-3.6.0/src/ap/ |
D | hw_features.c | 229 int pri_freq, sec_freq; in ieee80211n_allowed_ht40_channel_pair() local 232 pri_freq = iface->freq; in ieee80211n_allowed_ht40_channel_pair() 233 sec_freq = pri_freq + iface->conf->secondary_channel * 20; in ieee80211n_allowed_ht40_channel_pair() 238 p_chan = hw_get_channel_freq(iface->current_mode->mode, pri_freq, NULL, in ieee80211n_allowed_ht40_channel_pair() 268 unsigned int pri_freq, sec_freq; in ieee80211n_check_40mhz_5g() local 272 pri_freq = iface->freq; in ieee80211n_check_40mhz_5g() 273 sec_freq = pri_freq + iface->conf->secondary_channel * 20; in ieee80211n_check_40mhz_5g() 277 pri_chan = hw_get_channel_freq(iface->current_mode->mode, pri_freq, in ieee80211n_check_40mhz_5g() 387 int pri_freq, sec_freq; in ieee80211n_scan_channels_2g4() local 395 pri_freq = iface->freq; in ieee80211n_scan_channels_2g4() [all …]
|
D | ieee802_11_ht.c | 181 int pri_freq, sec_freq; in is_40_allowed() local 188 pri_freq = hostapd_hw_get_freq(iface->bss[0], iface->conf->channel); in is_40_allowed() 191 sec_freq = pri_freq + 20; in is_40_allowed() 193 sec_freq = pri_freq - 20; in is_40_allowed() 195 affected_start = (pri_freq + sec_freq) / 2 - 25; in is_40_allowed() 196 affected_end = (pri_freq + sec_freq) / 2 + 25; in is_40_allowed()
|
D | drv_callbacks.c | 1071 hapd->iface->freq = acs_res->pri_freq; in hostapd_acs_channel_selected() 1098 if (!acs_res->pri_freq) { in hostapd_acs_channel_selected() 1106 acs_res->pri_freq, NULL, in hostapd_acs_channel_selected() 1112 acs_res->pri_freq); in hostapd_acs_channel_selected() 1122 else if (acs_res->sec_freq < acs_res->pri_freq) in hostapd_acs_channel_selected() 1124 else if (acs_res->sec_freq > acs_res->pri_freq) in hostapd_acs_channel_selected() 1140 if (is_6ghz_freq(acs_res->pri_freq)) in hostapd_acs_channel_selected()
|
/hostap-3.6.0/src/common/ |
D | hw_features_common.c | 267 static int check_20mhz_bss(struct wpa_scan_res *bss, int pri_freq, int start, in check_20mhz_bss() argument 273 if (bss->freq < start || bss->freq > end || bss->freq == pri_freq) in check_20mhz_bss() 300 int pri_freq, sec_freq; in check_40mhz_2g4() local 308 pri_freq = hw_get_freq(mode, pri_chan); in check_40mhz_2g4() 311 affected_start = (pri_freq + sec_freq) / 2 - 25; in check_40mhz_2g4() 312 affected_end = (pri_freq + sec_freq) / 2 + 25; in check_40mhz_2g4() 322 if (check_20mhz_bss(bss, pri_freq, affected_start, in check_40mhz_2g4() 347 if (pri_freq != pri || sec_freq != sec) { in check_40mhz_2g4() 355 pri_freq, sec_freq); in check_40mhz_2g4()
|
/hostap-3.6.0/src/drivers/ |
D | driver_nl80211_event.c | 2028 event.acs_selected_channels.pri_freq = nla_get_u32( in qca_nl80211_acs_select_ch() 2032 event.acs_selected_channels.pri_freq = in qca_nl80211_acs_select_ch() 2062 event.acs_selected_channels.pri_freq, in qca_nl80211_acs_select_ch() 2441 event.acs_selected_channels.pri_freq = in brcm_nl80211_acs_select_ch() 2469 event.acs_selected_channels.pri_freq, in brcm_nl80211_acs_select_ch()
|
D | driver.h | 5976 unsigned int pri_freq; member
|