Home
last modified time | relevance | path

Searched refs:control_freq (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/wireless/
H A 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 in cfg80211_chandef_valid()
944 u32 width, control_freq, cap; cfg80211_chandef_usable() local
[all...]
H A 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, \
H A Dnl80211.c2899 u32 control_freq; in nl80211_parse_chandef() local
2904 control_freq = MHZ_TO_KHZ( in nl80211_parse_chandef()
2907 control_freq += in nl80211_parse_chandef()
2911 chandef->chan = ieee80211_get_channel_khz(&rdev->wiphy, control_freq); in nl80211_parse_chandef()
2913 chandef->center_freq1 = KHZ_TO_MHZ(control_freq); in nl80211_parse_chandef()
2914 chandef->freq1_offset = control_freq % 1000; in nl80211_parse_chandef()
/kernel/linux/linux-6.6/net/wireless/
H A 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 in cfg80211_chandef_valid()
1048 u32 width, control_freq, cap; cfg80211_chandef_usable() local
[all...]
H A Dtrace.h133 __field(u32, control_freq) \
143 __entry->control_freq = \
153 __entry->control_freq = 0; \
163 #define CHAN_DEF_PR_ARG __entry->band, __entry->control_freq, \
H A Dnl80211.c3232 u32 control_freq; in nl80211_parse_chandef() local
3240 control_freq = MHZ_TO_KHZ( in nl80211_parse_chandef()
3243 control_freq += in nl80211_parse_chandef()
3247 chandef->chan = ieee80211_get_channel_khz(&rdev->wiphy, control_freq); in nl80211_parse_chandef()
3249 chandef->center_freq1 = KHZ_TO_MHZ(control_freq); in nl80211_parse_chandef()
3250 chandef->freq1_offset = control_freq % 1000; in nl80211_parse_chandef()
/kernel/linux/linux-5.10/net/mac80211/
H A 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,
/kernel/linux/linux-6.6/net/mac80211/
H A 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, \
1631 u32 control_freq; member
1685 SWITCH_ENTRY_ASSIGN(old_chandef.control_freq,
1697 SWITCH_ENTRY_ASSIGN(new_chandef.control_freq,

Completed in 47 milliseconds