Home
last modified time | relevance | path

Searched refs:op_channel (Results 1 – 9 of 9) sorted by relevance

/dragonfly/contrib/wpa_supplicant/src/p2p/
HDp2p_go_neg.c185 p2p->op_reg_class, p2p->op_channel); in p2p_build_go_neg_req()
328 p2p->op_channel); in p2p_build_go_neg_resp()
388 u8 op_reg_class, op_channel; in p2p_reselect_channel() local
396 &op_reg_class, &op_channel) == 0 && in p2p_reselect_channel()
397 p2p_channels_includes(intersection, op_reg_class, op_channel)) { in p2p_reselect_channel()
399 op_reg_class, op_channel); in p2p_reselect_channel()
401 p2p->op_channel = op_channel; in p2p_reselect_channel()
407 &op_reg_class, &op_channel) == 0 && in p2p_reselect_channel()
408 p2p_channels_includes(intersection, op_reg_class, op_channel)) { in p2p_reselect_channel()
410 op_reg_class, op_channel); in p2p_reselect_channel()
[all …]
HDp2p_utils.c289 u8 op_reg_class, op_channel; in p2p_supported_freq() local
290 if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < 0) in p2p_supported_freq()
293 op_channel); in p2p_supported_freq()
299 u8 op_reg_class, op_channel; in p2p_supported_freq_go() local
300 if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < 0) in p2p_supported_freq_go()
303 op_channel) && in p2p_supported_freq_go()
310 u8 op_reg_class, op_channel; in p2p_supported_freq_cli() local
311 if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < 0) in p2p_supported_freq_cli()
314 op_channel) || in p2p_supported_freq_cli()
316 op_channel); in p2p_supported_freq_cli()
[all …]
HDp2p_invitation.c74 p2p->op_channel); in p2p_build_invitation_req()
300 p2p->op_channel = p2p->cfg->op_channel; in p2p_process_invitation_req()
302 p2p->op_reg_class, p2p->op_channel); in p2p_process_invitation_req()
317 p2p->op_channel = msg.operating_channel[4]; in p2p_process_invitation_req()
319 p2p->op_reg_class, p2p->op_channel); in p2p_process_invitation_req()
328 p2p->op_channel)) { in p2p_process_invitation_req()
330 p2p->op_reg_class, p2p->op_channel); in p2p_process_invitation_req()
333 p2p->op_reg_class, p2p->op_channel); in p2p_process_invitation_req()
336 p2p->op_channel)) { in p2p_process_invitation_req()
338 p2p->op_reg_class, p2p->op_channel); in p2p_process_invitation_req()
[all …]
HDp2p.c1366 u8 op_class, op_channel; in p2p_prepare_channel_pref() local
1371 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) { in p2p_prepare_channel_pref()
1376 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) && in p2p_prepare_channel_pref()
1378 op_channel))) { in p2p_prepare_channel_pref()
1380 freq, op_class, op_channel); in p2p_prepare_channel_pref()
1385 p2p->op_channel = op_channel; in p2p_prepare_channel_pref()
1391 p2p->channels.reg_class[0].channel[0] = p2p->op_channel; in p2p_prepare_channel_pref()
1403 u8 op_class, op_channel; in p2p_prepare_channel_best() local
1412 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel) in p2p_prepare_channel_best()
1416 p2p->op_channel = op_channel; in p2p_prepare_channel_best()
[all …]
HDp2p_build.c118 u8 op_class, op_channel; in p2p_buf_add_pref_channel_list() local
130 &op_channel) == 0) in p2p_buf_add_pref_channel_list()
140 &op_channel) < 0) { in p2p_buf_add_pref_channel_list()
146 wpabuf_put_u8(buf, op_channel); in p2p_buf_add_pref_channel_list()
HDp2p_pd.c135 p2p->op_channel); in p2ps_add_pd_req_attrs()
346 if (p2p->op_reg_class && p2p->op_channel) in p2p_build_prov_disc_resp()
350 p2p->op_channel); in p2p_build_prov_disc_resp()
355 p2p->cfg->op_channel); in p2p_build_prov_disc_resp()
1016 p2p->op_channel); in p2p_process_prov_disc_req()
1473 p2p->op_channel); in p2p_process_prov_disc_resp()
HDp2p_i.h358 u8 op_channel; member
696 u8 *op_class, u8 *op_channel);
698 u8 *op_channel,
HDp2p.h461 u8 op_channel; member
2024 u8 *op_channel,
2230 int p2p_set_oper_channel(struct p2p_data *p2p, u8 op_reg_class, u8 op_channel,
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
HDp2p_supplicant.c4532 p2p.op_channel = wpa_s->conf->p2p_oper_channel; in wpas_p2p_init()
4535 "%d:%d", p2p.op_reg_class, p2p.op_channel); in wpas_p2p_init()
4544 &p2p.op_channel, NULL, in wpas_p2p_init()
4549 p2p.op_channel = 0; in wpas_p2p_init()
4555 "%d:%d", p2p.op_reg_class, p2p.op_channel); in wpas_p2p_init()
7545 u8 op_reg_class, op_channel, cfg_op_channel; in wpas_p2p_update_config() local
7551 op_channel = wpa_s->conf->p2p_oper_channel; in wpas_p2p_update_config()
7560 op_channel = 1; in wpas_p2p_update_config()
7562 op_channel = 1 + (r % 3) * 5; in wpas_p2p_update_config()
7565 ret = p2p_set_oper_channel(p2p, op_reg_class, op_channel, in wpas_p2p_update_config()