Searched refs:control_freq (Results 1 – 5 of 5) sorted by relevance
/linux/net/wireless/ |
H A D | chan.c | 339 u32 control_freq, oper_freq; in cfg80211_chandef_valid() local 348 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid() 369 control_freq = ieee80211_channel_to_khz(chandef->chan); in cfg80211_chandef_valid() 381 if (control_freq + MHZ_TO_KHZ(control_width) / 2 > in cfg80211_chandef_valid() 385 if (control_freq - MHZ_TO_KHZ(control_width) / 2 < in cfg80211_chandef_valid() 416 if (chandef->center_freq1 == control_freq + 150 || in cfg80211_chandef_valid() 417 chandef->center_freq1 == control_freq + 130 || in cfg80211_chandef_valid() 418 chandef->center_freq1 == control_freq + 110 || in cfg80211_chandef_valid() 419 chandef->center_freq1 == control_freq + 90 || in cfg80211_chandef_valid() 420 chandef->center_freq1 == control_freq in cfg80211_chandef_valid() 1141 u32 width, control_freq, cap; _cfg80211_chandef_usable() local [all...] |
H A D | util.c | 2138 u32 control_freq, offset = 0; in ieee80211_operating_class_to_chandef() local 2145 control_freq = chan->center_freq; in ieee80211_operating_class_to_chandef() 2148 if (control_freq >= 5955) in ieee80211_operating_class_to_chandef() 2149 offset = control_freq - 5955; in ieee80211_operating_class_to_chandef() 2150 else if (control_freq >= 5745) in ieee80211_operating_class_to_chandef() 2151 offset = control_freq - 5745; in ieee80211_operating_class_to_chandef() 2152 else if (control_freq >= 5180) in ieee80211_operating_class_to_chandef() 2153 offset = control_freq - 5180; in ieee80211_operating_class_to_chandef() 2166 chandef->center_freq1 = control_freq; in ieee80211_operating_class_to_chandef() 2174 chandef->center_freq1 = control_freq in ieee80211_operating_class_to_chandef() [all...] |
H A D | trace.h | 138 __field(u32, control_freq) \ 149 __entry->control_freq = \ 160 __entry->control_freq = 0; \ 171 #define CHAN_DEF_PR_ARG __entry->band, __entry->control_freq, \
|
H A D | nl80211.c | 3389 u32 control_freq; in _nl80211_parse_chandef() local 3397 control_freq = MHZ_TO_KHZ( in _nl80211_parse_chandef() 3400 control_freq += in _nl80211_parse_chandef() 3404 chandef->chan = ieee80211_get_channel_khz(&rdev->wiphy, control_freq); in _nl80211_parse_chandef() 3406 chandef->center_freq1 = KHZ_TO_MHZ(control_freq); in _nl80211_parse_chandef() 3407 chandef->freq1_offset = control_freq % 1000; in _nl80211_parse_chandef()
|
/linux/net/mac80211/ |
H A D | trace.h | 40 #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, \ 1748 u32 control_freq; member 1802 SWITCH_ENTRY_ASSIGN(old_chandef.control_freq, 1814 SWITCH_ENTRY_ASSIGN(new_chandef.control_freq,
|