Searched refs:control_freq (Results 1 – 4 of 4) sorted by relevance
| /linux/net/wireless/ |
| 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()
|
| /linux/net/mac80211/ |
| 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,
|