Lines Matching refs:control_freq

201 	u32 control_freq, oper_freq;  in cfg80211_chandef_valid()  local
210 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid()
231 control_freq = ieee80211_channel_to_khz(chandef->chan); in cfg80211_chandef_valid()
243 if (control_freq + MHZ_TO_KHZ(control_width) / 2 > in cfg80211_chandef_valid()
247 if (control_freq - MHZ_TO_KHZ(control_width) / 2 < in cfg80211_chandef_valid()
278 if (chandef->center_freq1 == control_freq + 150 || in cfg80211_chandef_valid()
279 chandef->center_freq1 == control_freq + 130 || in cfg80211_chandef_valid()
280 chandef->center_freq1 == control_freq + 110 || in cfg80211_chandef_valid()
281 chandef->center_freq1 == control_freq + 90 || in cfg80211_chandef_valid()
282 chandef->center_freq1 == control_freq - 90 || in cfg80211_chandef_valid()
283 chandef->center_freq1 == control_freq - 110 || in cfg80211_chandef_valid()
284 chandef->center_freq1 == control_freq - 130 || in cfg80211_chandef_valid()
285 chandef->center_freq1 == control_freq - 150) in cfg80211_chandef_valid()
289 if (chandef->center_freq1 == control_freq + 70 || in cfg80211_chandef_valid()
290 chandef->center_freq1 == control_freq + 50 || in cfg80211_chandef_valid()
291 chandef->center_freq1 == control_freq - 50 || in cfg80211_chandef_valid()
292 chandef->center_freq1 == control_freq - 70) in cfg80211_chandef_valid()
297 if (chandef->center_freq1 == control_freq + 30 || in cfg80211_chandef_valid()
298 chandef->center_freq1 == control_freq - 30) in cfg80211_chandef_valid()
302 if (chandef->center_freq1 == control_freq + 10 || in cfg80211_chandef_valid()
303 chandef->center_freq1 == control_freq - 10) in cfg80211_chandef_valid()
1048 u32 width, control_freq, cap; in cfg80211_chandef_usable() local
1071 control_freq = chandef->chan->center_freq; in cfg80211_chandef_usable()
1114 if (chandef->center_freq1 < control_freq && in cfg80211_chandef_usable()
1117 if (chandef->center_freq1 > control_freq && in cfg80211_chandef_usable()