Lines Matching refs:chandef
1358 bool ieee80211_chandef_to_operating_class(struct cfg80211_chan_def *chandef, in ieee80211_chandef_to_operating_class() argument
1362 u16 freq = chandef->center_freq1; in ieee80211_chandef_to_operating_class()
1365 if (chandef->width > NL80211_CHAN_WIDTH_40) in ieee80211_chandef_to_operating_class()
1369 if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1370 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1382 if (chandef->width > NL80211_CHAN_WIDTH_40) in ieee80211_chandef_to_operating_class()
1389 switch (chandef->width) { in ieee80211_chandef_to_operating_class()
1411 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1412 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1427 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1428 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1443 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1444 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1459 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1460 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1475 if (chandef->width >= NL80211_CHAN_WIDTH_40) in ieee80211_chandef_to_operating_class()