Home | History | Annotate | Download | only in p2p

Lines Matching refs:reg_class

60 		struct p2p_reg_class *cl = &ch->reg_class[ch->reg_classes];
61 cl->reg_class = *pos++;
162 p2p_buf_add_listen_channel(buf, p2p->cfg->country, p2p->cfg->reg_class,
347 p2p_dbg(p2p, "Pick own channel preference (reg_class %u channel %u) from intersection",
358 p2p_dbg(p2p, "Pick best overall channel (reg_class %u channel %u) from intersection",
373 p2p_dbg(p2p, "Pick best 5 GHz channel (reg_class %u channel %u) from intersection",
386 p2p_dbg(p2p, "Pick best 2.4 GHz channel (reg_class %u channel %u) from intersection",
408 struct p2p_reg_class *c = &intersection->reg_class[i];
409 if (c->reg_class == 116 || c->reg_class == 117 ||
410 c->reg_class == 126 || c->reg_class == 127) {
411 p2p_dbg(p2p, "Pick possible HT40 channel (reg_class %u channel %u) from intersection",
412 c->reg_class, c->channel[0]);
413 p2p->op_reg_class = c->reg_class;
424 p2p_copy_reg_class(c, &intersection->reg_class[i]);
426 struct p2p_reg_class *c = &intersection->reg_class[i];
428 if ((c->reg_class == 115 || c->reg_class == 124) &&
439 c->reg_class, c->channel[r]);
440 p2p->op_reg_class = c->reg_class;
462 cl = &intersection->reg_class[0];
463 p2p_dbg(p2p, "Pick another channel (reg_class %u channel %u) from intersection",
464 cl->reg_class, cl->channel[0]);
465 p2p->op_reg_class = cl->reg_class;
478 intersection.reg_class[0].channels == 0) {
486 c = &intersection.reg_class[i];
487 p2p_dbg(p2p, "reg_class %u", c->reg_class);
731 freq = p2p_channel_to_freq(p2p->cfg->reg_class,