Lines Matching full:freq
20 int chan, int *freq) in hw_get_channel_chan() argument
24 if (freq) in hw_get_channel_chan()
25 *freq = 0; in hw_get_channel_chan()
33 if (freq) in hw_get_channel_chan()
34 *freq = ch->freq; in hw_get_channel_chan()
44 hw_mode_get_channel(struct hostapd_hw_modes *mode, int freq, int *chan) in hw_mode_get_channel() argument
51 if (ch->freq == freq) { in hw_mode_get_channel()
63 hw_get_channel_freq(enum hostapd_hw_mode mode, int freq, int *chan, in hw_get_channel_freq() argument
81 chan_data = hw_mode_get_channel(curr_mode, freq, chan); in hw_get_channel_freq()
92 int freq; in hw_get_freq() local
94 hw_get_channel_chan(mode, chan, &freq); in hw_get_freq()
96 return freq; in hw_get_freq()
100 int hw_get_chan(enum hostapd_hw_mode mode, int freq, in hw_get_chan() argument
105 hw_get_channel_freq(mode, freq, &chan, hw_features, num_hw_features); in hw_get_chan()
139 pri_chan, p_chan->freq, sec_chan, s_chan->freq); in allowed_ht40_channel_pair()
212 pri_chan->freq == sec_chan->freq) in check_40mhz_5g()
222 if (bss->freq == pri_chan->freq) in check_40mhz_5g()
224 else if (bss->freq == sec_chan->freq) in check_40mhz_5g()
273 if (bss->freq < start || bss->freq > end || bss->freq == pri_freq) in check_20mhz_bss()
282 MACSTR " freq=%d", MAC2STR(bss->bssid), bss->freq); in check_20mhz_bss()
292 MACSTR " freq=%d", MAC2STR(bss->bssid), bss->freq); in check_20mhz_bss()
320 int pri = bss->freq; in check_40mhz_2g4()
346 " freq=%d pri=%d sec=%d", in check_40mhz_2g4()
347 MAC2STR(bss->bssid), bss->freq, pri_chan, sec_chan); in check_40mhz_2g4()
455 int freq, int channel, int enable_edmg, in hostapd_set_freq_params() argument
475 data->freq = freq; in hostapd_set_freq_params()
482 data->center_freq1 = freq + sec_channel_offset * 10; in hostapd_set_freq_params()
500 if (is_6ghz_freq(freq)) { in hostapd_set_freq_params()
520 data->center_freq1 = data->freq; in hostapd_set_freq_params()
670 "20/40 MHz: center segment 0 (=%d) and center freq 1 (=%d) not in sync", in hostapd_set_freq_params()
772 if (!data->eht_enabled || !is_6ghz_freq(freq)) { in hostapd_set_freq_params()