Lines Matching refs:intersection

42 	struct p2p_channels intersection;  in p2p_peer_channels_check()  local
78 p2p_channels_intersect(own, &dev->channels, &intersection); in p2p_peer_channels_check()
82 (int) intersection.reg_classes); in p2p_peer_channels_check()
83 if (intersection.reg_classes == 0) { in p2p_peer_channels_check()
379 struct p2p_channels *intersection) in p2p_reselect_channel() argument
392 p2p_channels_includes(intersection, op_reg_class, op_channel)) { in p2p_reselect_channel()
403 p2p_channels_includes(intersection, op_reg_class, op_channel)) { in p2p_reselect_channel()
414 !p2p_channels_includes(intersection, p2p->op_reg_class, in p2p_reselect_channel()
418 p2p_channels_includes(intersection, op_reg_class, op_channel)) { in p2p_reselect_channel()
427 !p2p_channels_includes(intersection, p2p->op_reg_class, in p2p_reselect_channel()
431 p2p_channels_includes(intersection, op_reg_class, op_channel)) { in p2p_reselect_channel()
441 if (p2p_channels_includes(intersection, in p2p_reselect_channel()
453 if (p2p_channel_select(intersection, op_classes_vht, in p2p_reselect_channel()
461 if (p2p_channel_select(intersection, op_classes_ht40, in p2p_reselect_channel()
469 if (p2p_channel_select(intersection, op_classes_5ghz, in p2p_reselect_channel()
481 if (p2p_channels_includes(intersection, p2p->op_reg_class, in p2p_reselect_channel()
492 cl = &intersection->reg_class[0]; in p2p_reselect_channel()
503 struct p2p_channels tmp, intersection; in p2p_go_select_channel() local
511 p2p_channels_intersect(&tmp, &p2p->cfg->channels, &intersection); in p2p_go_select_channel()
513 &intersection); in p2p_go_select_channel()
514 if (intersection.reg_classes == 0 || in p2p_go_select_channel()
515 intersection.reg_class[0].channels == 0) { in p2p_go_select_channel()
521 if (!p2p_channels_includes(&intersection, p2p->op_reg_class, in p2p_go_select_channel()
531 p2p_reselect_channel(p2p, &intersection); in p2p_go_select_channel()
536 p2p_reselect_channel(p2p, &intersection); in p2p_go_select_channel()