Searched refs:pri_freq (Results 1 – 8 of 8) sorted by relevance
/external/wpa_supplicant_8/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() 302 int check_bss_coex_40mhz(struct wpa_scan_res *bss, int pri_freq, int sec_freq) in check_bss_coex_40mhz() argument 310 if (pri_freq == sec_freq) in check_bss_coex_40mhz() 313 affected_start = (pri_freq + sec_freq) / 2 - 25; in check_bss_coex_40mhz() 314 affected_end = (pri_freq + sec_freq) / 2 + 25; in check_bss_coex_40mhz() 317 if (check_20mhz_bss(bss, pri_freq, affected_start, affected_end)) { in check_bss_coex_40mhz() 340 if (pri_freq != pri || sec_freq != sec) { in check_bss_coex_40mhz() 348 pri_freq, sec_freq); in check_bss_coex_40mhz() 376 int pri_freq, sec_freq; in check_40mhz_2g4() local [all …]
|
D | hw_features_common.h | 35 int check_bss_coex_40mhz(struct wpa_scan_res *bss, int pri_freq, int sec_freq);
|
/external/wpa_supplicant_8/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 | 1054 hapd->iface->freq = acs_res->pri_freq; in hostapd_acs_channel_selected() 1081 if (!acs_res->pri_freq) { in hostapd_acs_channel_selected() 1089 acs_res->pri_freq, NULL, in hostapd_acs_channel_selected() 1095 acs_res->pri_freq); in hostapd_acs_channel_selected() 1105 else if (acs_res->sec_freq < acs_res->pri_freq) in hostapd_acs_channel_selected() 1107 else if (acs_res->sec_freq > acs_res->pri_freq) in hostapd_acs_channel_selected() 1123 if (is_6ghz_freq(acs_res->pri_freq)) in hostapd_acs_channel_selected()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_event.c | 1858 event.acs_selected_channels.pri_freq = in brcm_nl80211_acs_select_ch() 1863 event.acs_selected_channels.pri_freq ); in brcm_nl80211_acs_select_ch() 1899 event.acs_selected_channels.pri_freq, in brcm_nl80211_acs_select_ch() 2081 event.acs_selected_channels.pri_freq = nla_get_u32( in qca_nl80211_acs_select_ch() 2085 event.acs_selected_channels.pri_freq = in qca_nl80211_acs_select_ch() 2115 event.acs_selected_channels.pri_freq, in qca_nl80211_acs_select_ch()
|
D | driver.h | 5931 unsigned int pri_freq; member
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | sme.c | 2377 int pri_freq, sec_freq; in sme_proc_obss_scan() local 2405 pri_freq = wpa_s->assoc_freq; in sme_proc_obss_scan() 2409 sec_freq = pri_freq + 20; in sme_proc_obss_scan() 2412 sec_freq = pri_freq - 20; in sme_proc_obss_scan() 2432 res = check_bss_coex_40mhz(bss, pri_freq, sec_freq); in sme_proc_obss_scan()
|