Home
last modified time | relevance | path

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

/Linux-v5.4/net/wireless/
Dchan.c144 u32 control_freq; in cfg80211_chandef_valid() local
149 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid()
156 if (chandef->center_freq1 != control_freq) in cfg80211_chandef_valid()
162 if (chandef->center_freq1 != control_freq + 10 && in cfg80211_chandef_valid()
163 chandef->center_freq1 != control_freq - 10) in cfg80211_chandef_valid()
169 if (chandef->center_freq1 != control_freq + 30 && in cfg80211_chandef_valid()
170 chandef->center_freq1 != control_freq + 10 && in cfg80211_chandef_valid()
171 chandef->center_freq1 != control_freq - 10 && in cfg80211_chandef_valid()
172 chandef->center_freq1 != control_freq - 30) in cfg80211_chandef_valid()
182 if (chandef->center_freq1 != control_freq + 30 && in cfg80211_chandef_valid()
[all …]
Dtrace.h130 __field(u32, control_freq) \
138 __entry->control_freq = \
145 __entry->control_freq = 0; \
153 #define CHAN_DEF_PR_ARG __entry->band, __entry->control_freq, \
Dnl80211.c2665 u32 control_freq; in nl80211_parse_chandef() local
2670 control_freq = nla_get_u32(attrs[NL80211_ATTR_WIPHY_FREQ]); in nl80211_parse_chandef()
2674 chandef->chan = ieee80211_get_channel(&rdev->wiphy, control_freq); in nl80211_parse_chandef()
2676 chandef->center_freq1 = control_freq; in nl80211_parse_chandef()
/Linux-v5.4/net/mac80211/
Dtrace.h39 #define CHANDEF_ENTRY __field(u32, control_freq) \
44 __entry->control_freq = (c) ? ((c)->chan ? (c)->chan->center_freq : 0) : 0; \
49 #define CHANDEF_PR_ARG __entry->control_freq, __entry->chan_width, \
1548 u32 control_freq; member
1598 SWITCH_ENTRY_ASSIGN(old_chandef.control_freq,
1606 SWITCH_ENTRY_ASSIGN(new_chandef.control_freq,