Lines Matching defs:op_class
1403 u8 op_class, op_channel;
1408 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) {
1413 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) &&
1414 (go || !p2p_channels_includes(&p2p->cfg->cli_channels, op_class,
1417 freq, op_class, op_channel);
1421 p2p->op_reg_class = op_class;
1440 u8 op_class, op_channel;
1451 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel)
1454 p2p->op_reg_class = op_class;
1458 p2p_freq_to_channel(p2p->best_freq_5, &op_class, &op_channel)
1461 p2p->op_reg_class = op_class;
1465 p2p_freq_to_channel(p2p->best_freq_24, &op_class,
1468 p2p->op_reg_class = op_class;
1472 p2p->cfg->pref_chan[0].op_class,
1475 p2p->op_reg_class = p2p->cfg->pref_chan[0].op_class;
1480 p2p_dbg(p2p, "Select possible EDMG channel (op_class %u channel %u) as operating channel preference",
1486 p2p_dbg(p2p, "Select possible 6 GHz channel (op_class %u channel %u) as operating channel preference",
1491 p2p_dbg(p2p, "Select possible VHT channel (op_class %u channel %u) as operating channel preference",
1496 p2p_dbg(p2p, "Select possible HT40 channel (op_class %u channel %u) as operating channel preference",
1501 p2p_dbg(p2p, "Select possible 5 GHz channel (op_class %u channel %u) as operating channel preference",
1513 p2p_dbg(p2p, "Select random available social channel (op_class %u channel %u) as operating channel preference",
2299 u8 channel, op_class;
2333 } else if (p2p_freq_to_channel(rx_freq, &op_class, &channel)) {
4790 int p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class,
4795 return p2p_channel_random_social(&p2p->channels, op_class, op_channel,
5322 u8 op_class, channel;
5329 op_class = p2p->cfg->reg_class;
5339 if (p2p_freq_to_channel(freq, &op_class, &channel) < 0) {
5348 if (p2p_freq_to_channel(client_freq, &op_class, &channel) < 0) {
5357 p2p_buf_add_oob_go_neg_channel(buf, p2p->cfg->country, op_class,
5588 void p2p_set_override_pref_op_chan(struct p2p_data *p2p, u8 op_class,
5591 p2p->override_pref_op_class = op_class;