Searched refs:control_freq (Results 1 – 6 of 6) sorted by relevance
| /linux/net/mac80211/ |
| H A D | spectmgmt.c | 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_freq1 ? -16 : 16; in validate_chandef_by_6ghz_he_eht_oper() [all …]
|
| H A D | trace.h | 40 #define CHANDEF_ENTRY __field(u32, control_freq) \ 47 __entry->control_freq = (c) ? ((c)->chan ? (c)->chan->center_freq : 0) : 0; \ 54 #define CHANDEF_PR_ARG __entry->control_freq, __entry->freq_offset, __entry->chan_width, \ 1748 u32 control_freq; member 1802 SWITCH_ENTRY_ASSIGN(old_chandef.control_freq, 1814 SWITCH_ENTRY_ASSIGN(new_chandef.control_freq,
|
| /linux/net/wireless/ |
| H A D | chan.c | 344 u32 control_freq, control_freq_khz, start_khz, end_khz; in cfg80211_chandef_valid() local 352 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid() 409 if (chandef->center_freq1 == control_freq + 150 || in cfg80211_chandef_valid() 410 chandef->center_freq1 == control_freq + 130 || in cfg80211_chandef_valid() 411 chandef->center_freq1 == control_freq + 110 || in cfg80211_chandef_valid() 412 chandef->center_freq1 == control_freq + 90 || in cfg80211_chandef_valid() 413 chandef->center_freq1 == control_freq - 90 || in cfg80211_chandef_valid() 414 chandef->center_freq1 == control_freq - 110 || in cfg80211_chandef_valid() 415 chandef->center_freq1 == control_freq - 130 || in cfg80211_chandef_valid() 416 chandef->center_freq1 == control_freq - 150) in cfg80211_chandef_valid() [all …]
|
| H A D | util.c | 2150 u32 control_freq, offset = 0; in ieee80211_operating_class_to_chandef() local 2157 control_freq = chan->center_freq; in ieee80211_operating_class_to_chandef() 2160 if (control_freq >= 5955) in ieee80211_operating_class_to_chandef() 2161 offset = control_freq - 5955; in ieee80211_operating_class_to_chandef() 2162 else if (control_freq >= 5745) in ieee80211_operating_class_to_chandef() 2163 offset = control_freq - 5745; in ieee80211_operating_class_to_chandef() 2164 else if (control_freq >= 5180) in ieee80211_operating_class_to_chandef() 2165 offset = control_freq - 5180; in ieee80211_operating_class_to_chandef() 2178 chandef->center_freq1 = control_freq; in ieee80211_operating_class_to_chandef() 2186 chandef->center_freq1 = control_freq + 10; in ieee80211_operating_class_to_chandef() [all …]
|
| H A D | trace.h | 138 __field(u32, control_freq) \ 149 __entry->control_freq = \ 160 __entry->control_freq = 0; \ 171 #define CHAN_DEF_PR_ARG __entry->band, __entry->control_freq, \
|
| H A D | nl80211.c | 3575 u32 control_freq; in _nl80211_parse_chandef() local 3583 control_freq = MHZ_TO_KHZ( in _nl80211_parse_chandef() 3586 control_freq += in _nl80211_parse_chandef() 3590 chandef->chan = ieee80211_get_channel_khz(&rdev->wiphy, control_freq); in _nl80211_parse_chandef() 3592 chandef->center_freq1 = KHZ_TO_MHZ(control_freq); in _nl80211_parse_chandef() 3593 chandef->freq1_offset = control_freq % 1000; in _nl80211_parse_chandef()
|