Searched refs:pri_freq (Results 1 – 3 of 3) sorted by relevance
/external/wpa_supplicant_8/src/common/ |
D | hw_features_common.c | 183 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 …]
|
/external/wpa_supplicant_8/src/ap/ |
D | hw_features.c | 347 int pri_freq, sec_freq; in ieee80211n_scan_channels_2g4() local 355 pri_freq = hostapd_hw_get_freq(iface->bss[0], iface->conf->channel); in ieee80211n_scan_channels_2g4() 357 sec_freq = pri_freq + 20; in ieee80211n_scan_channels_2g4() 359 sec_freq = pri_freq - 20; in ieee80211n_scan_channels_2g4() 365 affected_start = (pri_freq + sec_freq) / 2 - 40; in ieee80211n_scan_channels_2g4() 366 affected_end = (pri_freq + sec_freq) / 2 + 40; in ieee80211n_scan_channels_2g4() 392 int pri_freq; in ieee80211n_scan_channels_5g() local 400 pri_freq = hostapd_hw_get_freq(iface->bss[0], iface->conf->channel); in ieee80211n_scan_channels_5g() 402 affected_start = pri_freq - 10; in ieee80211n_scan_channels_5g() 403 affected_end = pri_freq + 30; in ieee80211n_scan_channels_5g() [all …]
|
D | ieee802_11_ht.c | 203 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()
|