Searched refs:sec_freq (Results 1 – 3 of 3) sorted by relevance
174 int pri_freq, sec_freq, pri_bss, sec_bss; in check_40mhz_5g() local184 sec_freq = hw_get_freq(mode, sec_chan); in check_40mhz_5g()195 else if (bss->freq == sec_freq) in check_40mhz_5g()271 int pri_freq, sec_freq; in check_40mhz_2g4() local282 sec_freq = hw_get_freq(mode, sec_chan); in check_40mhz_2g4()284 affected_start = (pri_freq + sec_freq) / 2 - 25; in check_40mhz_2g4()285 affected_end = (pri_freq + sec_freq) / 2 + 25; in check_40mhz_2g4()320 if (pri_freq != pri || sec_freq != sec) { in check_40mhz_2g4()328 pri_freq, sec_freq); in check_40mhz_2g4()
180 int pri_freq, sec_freq; in is_40_allowed() local190 sec_freq = pri_freq + 20; in is_40_allowed()192 sec_freq = pri_freq - 20; in is_40_allowed()194 affected_start = (pri_freq + sec_freq) / 2 - 25; in is_40_allowed()195 affected_end = (pri_freq + sec_freq) / 2 + 25; in is_40_allowed()
337 int pri_freq, sec_freq; in ieee80211n_scan_channels_2g4() local347 sec_freq = pri_freq + 20; in ieee80211n_scan_channels_2g4()349 sec_freq = pri_freq - 20; in ieee80211n_scan_channels_2g4()355 affected_start = (pri_freq + sec_freq) / 2 - 40; in ieee80211n_scan_channels_2g4()356 affected_end = (pri_freq + sec_freq) / 2 + 40; in ieee80211n_scan_channels_2g4()