Lines Matching refs:c2
509 const struct cfg80211_chan_def *c2,
516 cfg80211_chandef_primary(c2, primary_chan_width, &punct_c2))
524 return c2;
532 const struct cfg80211_chan_def *c2)
537 if (cfg80211_chandef_identical(c1, c2))
538 return c2;
541 if (c1->chan != c2->chan)
548 if (c1->width == c2->width)
563 if (NARROW_OR_S1G(c1->width) || NARROW_OR_S1G(c2->width))
568 * we either return NULL or c2 and don't have to check both
571 if (c1->width > c2->width)
572 swap(c1, c2);
580 return c2;
582 ret = check_chandef_primary_compat(c1, c2, NL80211_CHAN_WIDTH_40);
586 ret = check_chandef_primary_compat(c1, c2, NL80211_CHAN_WIDTH_80);
591 * If c1 is 80+80, then c2 is 160 or higher, but that cannot
592 * match. If c2 was also 80+80 it was already either accepted
598 ret = check_chandef_primary_compat(c1, c2, NL80211_CHAN_WIDTH_160);
614 const struct cfg80211_chan_def *c2)
618 ret = _cfg80211_chandef_compatible(c1, c2);