Home
last modified time | relevance | path

Searched refs:control_freq (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/net/wireless/
Dchan.c198 u32 control_freq, oper_freq; in cfg80211_chandef_valid() local
207 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid()
228 control_freq = ieee80211_channel_to_khz(chandef->chan); in cfg80211_chandef_valid()
240 if (control_freq + MHZ_TO_KHZ(control_width) / 2 > in cfg80211_chandef_valid()
244 if (control_freq - MHZ_TO_KHZ(control_width) / 2 < in cfg80211_chandef_valid()
249 if (chandef->center_freq1 != control_freq + 10 && in cfg80211_chandef_valid()
250 chandef->center_freq1 != control_freq - 10) in cfg80211_chandef_valid()
256 if (chandef->center_freq1 != control_freq + 30 && in cfg80211_chandef_valid()
257 chandef->center_freq1 != control_freq + 10 && in cfg80211_chandef_valid()
258 chandef->center_freq1 != control_freq - 10 && in cfg80211_chandef_valid()
[all …]
Dtrace.h135 __field(u32, control_freq) \
145 __entry->control_freq = \
155 __entry->control_freq = 0; \
165 #define CHAN_DEF_PR_ARG __entry->band, __entry->control_freq, \
Dnl80211.c2890 u32 control_freq; in nl80211_parse_chandef() local
2895 control_freq = MHZ_TO_KHZ( in nl80211_parse_chandef()
2898 control_freq += in nl80211_parse_chandef()
2902 chandef->chan = ieee80211_get_channel_khz(&rdev->wiphy, control_freq); in nl80211_parse_chandef()
2904 chandef->center_freq1 = KHZ_TO_MHZ(control_freq); in nl80211_parse_chandef()
2905 chandef->freq1_offset = control_freq % 1000; in nl80211_parse_chandef()
/Linux-v5.10/net/mac80211/
Dtrace.h40 #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, \
1564 u32 control_freq; member
1616 SWITCH_ENTRY_ASSIGN(old_chandef.control_freq,
1628 SWITCH_ENTRY_ASSIGN(new_chandef.control_freq,