Lines Matching defs:c2
505 const struct cfg80211_chan_def *c2,
512 cfg80211_chandef_primary(c2, primary_chan_width, &punct_c2))
520 return c2;
528 const struct cfg80211_chan_def *c2)
533 if (cfg80211_chandef_identical(c1, c2))
534 return c2;
537 if (c1->chan != c2->chan)
544 if (c1->width == c2->width)
559 if (NARROW_OR_S1G(c1->width) || NARROW_OR_S1G(c2->width))
564 * we either return NULL or c2 and don't have to check both
567 if (c1->width > c2->width)
568 swap(c1, c2);
576 return c2;
578 ret = check_chandef_primary_compat(c1, c2, NL80211_CHAN_WIDTH_40);
582 ret = check_chandef_primary_compat(c1, c2, NL80211_CHAN_WIDTH_80);
587 * If c1 is 80+80, then c2 is 160 or higher, but that cannot
588 * match. If c2 was also 80+80 it was already either accepted
594 ret = check_chandef_primary_compat(c1, c2, NL80211_CHAN_WIDTH_160);
610 const struct cfg80211_chan_def *c2)
614 ret = _cfg80211_chandef_compatible(c1, c2);