Lines Matching refs:chandef
1809 bool ieee80211_chandef_to_operating_class(struct cfg80211_chan_def *chandef, in ieee80211_chandef_to_operating_class() argument
1813 u32 freq = chandef->center_freq1; in ieee80211_chandef_to_operating_class()
1816 if (chandef->width > NL80211_CHAN_WIDTH_40) in ieee80211_chandef_to_operating_class()
1820 if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1821 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1834 if (chandef->width != NL80211_CHAN_WIDTH_20_NOHT) in ieee80211_chandef_to_operating_class()
1841 switch (chandef->width) { in ieee80211_chandef_to_operating_class()
1863 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1864 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1879 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1880 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1895 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1896 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1911 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1912 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1927 if (chandef->width >= NL80211_CHAN_WIDTH_40) in ieee80211_chandef_to_operating_class()