Lines Matching refs:intersection
43 struct p2p_channels intersection; in p2p_peer_channels_check() local
79 p2p_channels_intersect(own, &dev->channels, &intersection); in p2p_peer_channels_check()
83 (int) intersection.reg_classes); in p2p_peer_channels_check()
84 if (intersection.reg_classes == 0) { in p2p_peer_channels_check()
421 struct p2p_channels *intersection) in p2p_reselect_channel() argument
435 p2p_channels_includes(intersection, op_reg_class, op_channel)) { in p2p_reselect_channel()
446 p2p_channels_includes(intersection, op_reg_class, op_channel)) { in p2p_reselect_channel()
457 !p2p_channels_includes(intersection, p2p->op_reg_class, in p2p_reselect_channel()
461 p2p_channels_includes(intersection, op_reg_class, op_channel)) { in p2p_reselect_channel()
470 !p2p_channels_includes(intersection, p2p->op_reg_class, in p2p_reselect_channel()
474 p2p_channels_includes(intersection, op_reg_class, op_channel)) { in p2p_reselect_channel()
484 if (p2p_channels_includes(intersection, in p2p_reselect_channel()
496 if (p2p_channel_select(intersection, op_classes_edmg, in p2p_reselect_channel()
504 if (p2p_channel_select(intersection, op_classes_vht, in p2p_reselect_channel()
512 if (p2p_channel_select(intersection, op_classes_ht40, in p2p_reselect_channel()
520 if (p2p_channel_select(intersection, op_classes_5ghz, in p2p_reselect_channel()
532 if (p2p_channels_includes(intersection, p2p->op_reg_class, in p2p_reselect_channel()
543 cl = &intersection->reg_class[0]; in p2p_reselect_channel()
554 struct p2p_channels tmp, intersection; in p2p_go_select_channel() local
562 p2p_channels_intersect(&tmp, &p2p->cfg->channels, &intersection); in p2p_go_select_channel()
564 &intersection); in p2p_go_select_channel()
565 if (intersection.reg_classes == 0 || in p2p_go_select_channel()
566 intersection.reg_class[0].channels == 0) { in p2p_go_select_channel()
572 if (!p2p_channels_includes(&intersection, p2p->op_reg_class, in p2p_go_select_channel()
582 p2p_reselect_channel(p2p, &intersection); in p2p_go_select_channel()
587 p2p_reselect_channel(p2p, &intersection); in p2p_go_select_channel()