Lines Matching refs:chandef
2004 bool ieee80211_chandef_to_operating_class(struct cfg80211_chan_def *chandef, in ieee80211_chandef_to_operating_class() argument
2008 u32 freq = chandef->center_freq1; in ieee80211_chandef_to_operating_class()
2011 if (chandef->width > NL80211_CHAN_WIDTH_40) in ieee80211_chandef_to_operating_class()
2015 if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
2016 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
2029 if (chandef->width != NL80211_CHAN_WIDTH_20_NOHT) in ieee80211_chandef_to_operating_class()
2036 switch (chandef->width) { in ieee80211_chandef_to_operating_class()
2058 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
2059 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
2074 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
2075 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
2090 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
2091 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
2106 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
2107 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
2122 if (chandef->width >= NL80211_CHAN_WIDTH_40) in ieee80211_chandef_to_operating_class()