Searched refs:control_freq (Results 1 – 4 of 4) sorted by relevance
78 u32 control_freq, center_freq1, center_freq2; in validate_chandef_by_ht_vht_oper() local 89 control_freq = chandef->chan->center_freq; in validate_chandef_by_ht_vht_oper() 94 ht_oper.primary_chan = ieee80211_frequency_to_channel(control_freq); in validate_chandef_by_ht_vht_oper() 95 if (control_freq != center_freq1) in validate_chandef_by_ht_vht_oper() 96 ht_oper.ht_param = control_freq > center_freq1 ? in validate_chandef_by_ht_vht_oper() 120 control_freq < center_freq1 ? -8 : 8; in validate_chandef_by_ht_vht_oper() 148 u32 control_freq, center_freq1, center_freq2; in validate_chandef_by_6ghz_he_eht_oper() local 165 control_freq = chandef->chan->center_freq; in validate_chandef_by_6ghz_he_eht_oper() 173 ieee80211_frequency_to_channel(control_freq); in validate_chandef_by_6ghz_he_eht_oper() 181 _6ghz_oper->ccfs0 += control_freq < center_freq in validate_chandef_by_6ghz_he_eht_oper() [all...]
2261 u32 control_freq, offset = 0; in ieee80211_operating_class_to_chandef() local2268 control_freq = chan->center_freq; in ieee80211_operating_class_to_chandef()2271 if (control_freq >= 5955) in ieee80211_operating_class_to_chandef()2272 offset = control_freq - 5955; in ieee80211_operating_class_to_chandef()2273 else if (control_freq >= 5745) in ieee80211_operating_class_to_chandef()2274 offset = control_freq - 5745; in ieee80211_operating_class_to_chandef()2275 else if (control_freq >= 5180) in ieee80211_operating_class_to_chandef()2276 offset = control_freq - 5180; in ieee80211_operating_class_to_chandef()2289 chandef->center_freq1 = control_freq; in ieee80211_operating_class_to_chandef()2297 chandef->center_freq1 = control_freq + 10; in ieee80211_operating_class_to_chandef()[all …]
138 __field(u32, control_freq) \151 __entry->control_freq = \167 __entry->control_freq = 0; \180 #define CHAN_DEF_PR_ARG __entry->band, __entry->control_freq, \
3932 u32 control_freq; in _nl80211_parse_chandef() local 3940 control_freq = MHZ_TO_KHZ( in _nl80211_parse_chandef() 3943 control_freq += in _nl80211_parse_chandef() 3947 chandef->chan = ieee80211_get_channel_khz(&rdev->wiphy, control_freq); in _nl80211_parse_chandef() 3949 chandef->center_freq1 = KHZ_TO_MHZ(control_freq); in _nl80211_parse_chandef() 3950 chandef->freq1_offset = control_freq % 1000; in _nl80211_parse_chandef()