Lines Matching refs:op_class

1366 	u8 op_class, op_channel;
1371 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) {
1376 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) &&
1377 (go || !p2p_channels_includes(&p2p->cfg->cli_channels, op_class,
1380 freq, op_class, op_channel);
1384 p2p->op_reg_class = op_class;
1403 u8 op_class, op_channel;
1412 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel)
1415 p2p->op_reg_class = op_class;
1419 p2p_freq_to_channel(p2p->best_freq_5, &op_class, &op_channel)
1422 p2p->op_reg_class = op_class;
1426 p2p_freq_to_channel(p2p->best_freq_24, &op_class,
1429 p2p->op_reg_class = op_class;
1433 p2p->cfg->pref_chan[0].op_class,
1436 p2p->op_reg_class = p2p->cfg->pref_chan[0].op_class;
1441 p2p_dbg(p2p, "Select possible VHT channel (op_class %u channel %u) as operating channel preference",
1446 p2p_dbg(p2p, "Select possible HT40 channel (op_class %u channel %u) as operating channel preference",
1451 p2p_dbg(p2p, "Select possible 5 GHz channel (op_class %u channel %u) as operating channel preference",
1463 p2p_dbg(p2p, "Select random available social channel (op_class %u channel %u) as operating channel preference",
2243 u8 channel, op_class;
2277 } else if (p2p_freq_to_channel(rx_freq, &op_class, &channel)) {
4708 int p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class,
4713 return p2p_channel_random_social(&p2p->channels, op_class, op_channel,
5239 u8 op_class, channel;
5246 op_class = p2p->cfg->reg_class;
5256 if (p2p_freq_to_channel(freq, &op_class, &channel) < 0) {
5265 if (p2p_freq_to_channel(client_freq, &op_class, &channel) < 0) {
5274 p2p_buf_add_oob_go_neg_channel(buf, p2p->cfg->country, op_class,
5504 void p2p_set_override_pref_op_chan(struct p2p_data *p2p, u8 op_class,
5507 p2p->override_pref_op_class = op_class;