Searched refs:control_freq (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/net/wireless/ |
| H A D | chan.c | 339 u32 control_freq, oper_freq; in cfg80211_chandef_valid() local 348 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid() 419 chandef->center_freq1 == control_freq + 90 || in cfg80211_chandef_valid() 423 chandef->center_freq1 == control_freq - 150) in cfg80211_chandef_valid() 430 chandef->center_freq1 == control_freq - 70) in cfg80211_chandef_valid() 436 chandef->center_freq1 == control_freq - 30) in cfg80211_chandef_valid() 441 chandef->center_freq1 == control_freq - 10) in cfg80211_chandef_valid() 1141 u32 width, control_freq, cap; in _cfg80211_chandef_usable() local 1165 control_freq = chandef->chan->center_freq; in _cfg80211_chandef_usable() 1208 if (chandef->center_freq1 < control_freq && in _cfg80211_chandef_usable() [all …]
|
| H A D | util.c | 2090 u32 control_freq, offset = 0; in ieee80211_operating_class_to_chandef() local 2097 control_freq = chan->center_freq; in ieee80211_operating_class_to_chandef() 2100 if (control_freq >= 5955) in ieee80211_operating_class_to_chandef() 2101 offset = control_freq - 5955; in ieee80211_operating_class_to_chandef() 2102 else if (control_freq >= 5745) in ieee80211_operating_class_to_chandef() 2103 offset = control_freq - 5745; in ieee80211_operating_class_to_chandef() 2104 else if (control_freq >= 5180) in ieee80211_operating_class_to_chandef() 2105 offset = control_freq - 5180; in ieee80211_operating_class_to_chandef() 2118 chandef->center_freq1 = control_freq; in ieee80211_operating_class_to_chandef() 2126 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 | 3363 u32 control_freq; in _nl80211_parse_chandef() local 3371 control_freq = MHZ_TO_KHZ( in _nl80211_parse_chandef() 3374 control_freq += in _nl80211_parse_chandef() 3378 chandef->chan = ieee80211_get_channel_khz(&rdev->wiphy, control_freq); in _nl80211_parse_chandef() 3380 chandef->center_freq1 = KHZ_TO_MHZ(control_freq); in _nl80211_parse_chandef() 3381 chandef->freq1_offset = control_freq % 1000; in _nl80211_parse_chandef()
|
| /linux-6.15/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 he._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, \ 1677 u32 control_freq; member 1731 SWITCH_ENTRY_ASSIGN(old_chandef.control_freq, 1743 SWITCH_ENTRY_ASSIGN(new_chandef.control_freq,
|