Lines Matching defs:reg_class
205 p2p->cfg->reg_class = p2p->pending_reg_class;
277 freq = p2p_channel_to_freq(p2p->cfg->reg_class, p2p->cfg->channel);
330 freq = p2p_channel_to_freq(p2p->cfg->reg_class, p2p->cfg->channel);
952 u8 reg_class;
958 cla = &c->reg_class[cl];
959 if (cla->reg_class != p2p->last_prog_scan_class)
973 reg_class = c->reg_class[0].reg_class;
974 channel = c->reg_class[0].channel[0];
984 reg_class = c->reg_class[cl].reg_class;
985 channel = c->reg_class[cl].channel[ch];
988 freq = p2p_channel_to_freq(reg_class, channel);
989 p2p_dbg(p2p, "Next progressive search channel: reg_class %u channel %u -> %d MHz",
990 reg_class, channel, freq);
991 p2p->last_prog_scan_class = reg_class;
1381 p2p->channels.reg_class[0].channels = 1;
1382 p2p->channels.reg_class[0].reg_class = p2p->op_reg_class;
1383 p2p->channels.reg_class[0].channel[0] = p2p->op_channel;
1715 "country=%c%c(0x%02x) reg_class=%u channel=%u",
3461 if (p2p->cfg->reg_class && p2p->cfg->channel)
3463 p2p->cfg->reg_class,
4628 int p2p_set_listen_channel(struct p2p_data *p2p, u8 reg_class, u8 channel,
4631 if (p2p_channel_to_freq(reg_class, channel) < 0)
4644 p2p_dbg(p2p, "Set Listen channel: reg_class %u channel %u",
4645 reg_class, channel);
4648 p2p->cfg->reg_class = reg_class;
4653 p2p->pending_reg_class = reg_class;
4689 p2p_dbg(p2p, "Set Operating channel: reg_class %u channel %u",
5153 op_class = p2p->cfg->reg_class;
5299 freq = p2p_channel_to_freq(p2p->cfg->reg_class,