Home
last modified time | relevance | path

Searched refs:pri_freq (Results 1 – 9 of 9) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dhw_features_common.c183 int pri_freq, sec_freq, pri_bss, sec_bss; in check_40mhz_5g() local
192 pri_freq = hw_get_freq(mode, pri_chan); in check_40mhz_5g()
202 if (bss->freq == pri_freq) in check_40mhz_5g()
247 static int check_20mhz_bss(struct wpa_scan_res *bss, int pri_freq, int start, in check_20mhz_bss() argument
253 if (bss->freq < start || bss->freq > end || bss->freq == pri_freq) in check_20mhz_bss()
280 int pri_freq, sec_freq; in check_40mhz_2g4() local
288 pri_freq = hw_get_freq(mode, pri_chan); in check_40mhz_2g4()
291 affected_start = (pri_freq + sec_freq) / 2 - 25; in check_40mhz_2g4()
292 affected_end = (pri_freq + sec_freq) / 2 + 25; in check_40mhz_2g4()
302 if (check_20mhz_bss(bss, pri_freq, affected_start, in check_40mhz_2g4()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dhw_features.c229 int pri_freq, sec_freq; in ieee80211n_allowed_ht40_channel_pair() local
237 pri_freq = iface->freq; in ieee80211n_allowed_ht40_channel_pair()
238 sec_freq = pri_freq + iface->conf->secondary_channel * 20; in ieee80211n_allowed_ht40_channel_pair()
243 p_chan = hw_get_channel_freq(iface->current_mode->mode, pri_freq, NULL, in ieee80211n_allowed_ht40_channel_pair()
273 unsigned int pri_freq, sec_freq; in ieee80211n_check_40mhz_5g() local
277 pri_freq = iface->freq; in ieee80211n_check_40mhz_5g()
278 sec_freq = pri_freq + iface->conf->secondary_channel * 20; in ieee80211n_check_40mhz_5g()
282 pri_chan = hw_get_channel_freq(iface->current_mode->mode, pri_freq, in ieee80211n_check_40mhz_5g()
392 int pri_freq, sec_freq; in ieee80211n_scan_channels_2g4() local
400 pri_freq = iface->freq; in ieee80211n_scan_channels_2g4()
[all …]
Dieee802_11_ht.c181 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()
Ddrv_callbacks.c1069 hapd->iface->freq = acs_res->pri_freq; in hostapd_acs_channel_selected()
1096 if (!acs_res->pri_freq) { in hostapd_acs_channel_selected()
1104 acs_res->pri_freq, NULL, in hostapd_acs_channel_selected()
1110 acs_res->pri_freq); in hostapd_acs_channel_selected()
1120 else if (acs_res->sec_freq < 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()
1138 if (is_6ghz_freq(acs_res->pri_freq)) in hostapd_acs_channel_selected()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dhw_features.c353 int pri_freq, sec_freq; in ieee80211n_scan_channels_2g4() local
361 pri_freq = hostapd_hw_get_freq(iface->bss[0], iface->conf->channel); in ieee80211n_scan_channels_2g4()
363 sec_freq = pri_freq + 20; in ieee80211n_scan_channels_2g4()
365 sec_freq = pri_freq - 20; in ieee80211n_scan_channels_2g4()
371 affected_start = (pri_freq + sec_freq) / 2 - 40; in ieee80211n_scan_channels_2g4()
372 affected_end = (pri_freq + sec_freq) / 2 + 40; in ieee80211n_scan_channels_2g4()
398 int pri_freq; in ieee80211n_scan_channels_5g() local
406 pri_freq = hostapd_hw_get_freq(iface->bss[0], iface->conf->channel); in ieee80211n_scan_channels_5g()
408 affected_start = pri_freq - 10; in ieee80211n_scan_channels_5g()
409 affected_end = pri_freq + 30; in ieee80211n_scan_channels_5g()
[all …]
Dieee802_11_ht.c203 int pri_freq, sec_freq; in is_40_allowed() local
210 pri_freq = hostapd_hw_get_freq(iface->bss[0], iface->conf->channel); in is_40_allowed()
213 sec_freq = pri_freq + 20; in is_40_allowed()
215 sec_freq = pri_freq - 20; in is_40_allowed()
217 affected_start = (pri_freq + sec_freq) / 2 - 25; in is_40_allowed()
218 affected_end = (pri_freq + sec_freq) / 2 + 25; in is_40_allowed()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dhw_features_common.c267 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_event.c2021 event.acs_selected_channels.pri_freq = nla_get_u32( in qca_nl80211_acs_select_ch()
2025 event.acs_selected_channels.pri_freq = in qca_nl80211_acs_select_ch()
2055 event.acs_selected_channels.pri_freq, in qca_nl80211_acs_select_ch()
2434 event.acs_selected_channels.pri_freq = in brcm_nl80211_acs_select_ch()
2462 event.acs_selected_channels.pri_freq, in brcm_nl80211_acs_select_ch()
Ddriver.h5971 unsigned int pri_freq; member