Home
last modified time | relevance | path

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

/linux-6.1.9/net/wireless/
Dchan.c201 u32 control_freq, oper_freq; in cfg80211_chandef_valid() local
210 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid()
231 control_freq = ieee80211_channel_to_khz(chandef->chan); in cfg80211_chandef_valid()
243 if (control_freq + MHZ_TO_KHZ(control_width) / 2 > in cfg80211_chandef_valid()
247 if (control_freq - MHZ_TO_KHZ(control_width) / 2 < in cfg80211_chandef_valid()
278 if (chandef->center_freq1 == control_freq + 150 || in cfg80211_chandef_valid()
279 chandef->center_freq1 == control_freq + 130 || in cfg80211_chandef_valid()
280 chandef->center_freq1 == control_freq + 110 || in cfg80211_chandef_valid()
281 chandef->center_freq1 == control_freq + 90 || in cfg80211_chandef_valid()
282 chandef->center_freq1 == control_freq - 90 || 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.c3182 u32 control_freq; in nl80211_parse_chandef() local
3187 control_freq = MHZ_TO_KHZ( in nl80211_parse_chandef()
3190 control_freq += in nl80211_parse_chandef()
3194 chandef->chan = ieee80211_get_channel_khz(&rdev->wiphy, control_freq); in nl80211_parse_chandef()
3196 chandef->center_freq1 = KHZ_TO_MHZ(control_freq); in nl80211_parse_chandef()
3197 chandef->freq1_offset = control_freq % 1000; in nl80211_parse_chandef()
/linux-6.1.9/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, \
1622 u32 control_freq; member
1676 SWITCH_ENTRY_ASSIGN(old_chandef.control_freq,
1688 SWITCH_ENTRY_ASSIGN(new_chandef.control_freq,