Lines Matching refs:chandef
1604 bool ieee80211_chandef_to_operating_class(struct cfg80211_chan_def *chandef, in ieee80211_chandef_to_operating_class() argument
1608 u32 freq = chandef->center_freq1; in ieee80211_chandef_to_operating_class()
1611 if (chandef->width > NL80211_CHAN_WIDTH_40) in ieee80211_chandef_to_operating_class()
1615 if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1616 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1629 if (chandef->width != NL80211_CHAN_WIDTH_20_NOHT) in ieee80211_chandef_to_operating_class()
1636 switch (chandef->width) { in ieee80211_chandef_to_operating_class()
1658 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1659 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1674 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1675 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1690 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1691 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1706 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1707 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1722 if (chandef->width >= NL80211_CHAN_WIDTH_40) in ieee80211_chandef_to_operating_class()