Home
last modified time | relevance | path

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

/linux-4.1.27/net/wireless/
Dchan.c50 u32 control_freq; in cfg80211_chandef_valid() local
55 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid()
62 if (chandef->center_freq1 != control_freq) in cfg80211_chandef_valid()
68 if (chandef->center_freq1 != control_freq + 10 && in cfg80211_chandef_valid()
69 chandef->center_freq1 != control_freq - 10) in cfg80211_chandef_valid()
75 if (chandef->center_freq1 != control_freq + 30 && in cfg80211_chandef_valid()
76 chandef->center_freq1 != control_freq + 10 && in cfg80211_chandef_valid()
77 chandef->center_freq1 != control_freq - 10 && in cfg80211_chandef_valid()
78 chandef->center_freq1 != control_freq - 30) in cfg80211_chandef_valid()
88 if (chandef->center_freq1 != control_freq + 30 && in cfg80211_chandef_valid()
[all …]
Dtrace.h129 __field(u32, control_freq) \
137 __entry->control_freq = \
144 __entry->control_freq = 0; \
152 #define CHAN_DEF_PR_ARG __entry->band, __entry->control_freq, \
Dnl80211.c1922 u32 control_freq; in nl80211_parse_chandef() local
1927 control_freq = nla_get_u32(info->attrs[NL80211_ATTR_WIPHY_FREQ]); in nl80211_parse_chandef()
1929 chandef->chan = ieee80211_get_channel(&rdev->wiphy, control_freq); in nl80211_parse_chandef()
1931 chandef->center_freq1 = control_freq; in nl80211_parse_chandef()
/linux-4.1.27/net/mac80211/
Dtrace.h32 #define CHANDEF_ENTRY __field(u32, control_freq) \
37 __entry->control_freq = (c) ? ((c)->chan ? (c)->chan->center_freq : 0) : 0; \
42 #define CHANDEF_PR_ARG __entry->control_freq, __entry->chan_width, \
1421 u32 control_freq; member
1471 SWITCH_ENTRY_ASSIGN(old_chandef.control_freq,
1479 SWITCH_ENTRY_ASSIGN(new_chandef.control_freq,