Lines Matching refs:chandef
1359 bool ieee80211_chandef_to_operating_class(struct cfg80211_chan_def *chandef, in ieee80211_chandef_to_operating_class() argument
1363 u16 freq = chandef->center_freq1; in ieee80211_chandef_to_operating_class()
1366 if (chandef->width > NL80211_CHAN_WIDTH_40) in ieee80211_chandef_to_operating_class()
1370 if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1371 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1383 if (chandef->width > NL80211_CHAN_WIDTH_40) in ieee80211_chandef_to_operating_class()
1390 switch (chandef->width) { in ieee80211_chandef_to_operating_class()
1412 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1413 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1428 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1429 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1444 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1445 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1460 } else if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_chandef_to_operating_class()
1461 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
1476 if (chandef->width >= NL80211_CHAN_WIDTH_40) in ieee80211_chandef_to_operating_class()