/freebsd/contrib/wpa/src/p2p/ |
H A D | p2p_go_neg.c | 202 p2p->op_reg_class, p2p->op_channel); in p2p_build_go_neg_req() 347 p2p->op_channel); in p2p_build_go_neg_resp() 425 u8 op_reg_class, op_channel; in p2p_reselect_channel() local 434 &op_reg_class, &op_channel) == 0 && in p2p_reselect_channel() 435 p2p_channels_includes(intersection, op_reg_class, op_channel)) { in p2p_reselect_channel() 437 op_reg_class, op_channel); in p2p_reselect_channel() 439 p2p->op_channel = op_channel; in p2p_reselect_channel() 445 &op_reg_class, &op_channel) == 0 && in p2p_reselect_channel() 446 p2p_channels_includes(intersection, op_reg_class, op_channel)) { in p2p_reselect_channel() 448 op_reg_class, op_channel); in p2p_reselect_channel() [all …]
|
H A D | p2p_utils.c | 289 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 …]
|
H A D | p2p_invitation.c | 75 p2p->op_channel); in p2p_build_invitation_req() 310 p2p->op_channel = p2p->cfg->op_channel; in p2p_process_invitation_req() 312 p2p->op_reg_class, p2p->op_channel); in p2p_process_invitation_req() 327 p2p->op_channel = msg.operating_channel[4]; in p2p_process_invitation_req() 329 p2p->op_reg_class, p2p->op_channel); in p2p_process_invitation_req() 338 p2p->op_channel)) { in p2p_process_invitation_req() 340 p2p->op_reg_class, p2p->op_channel); in p2p_process_invitation_req() 343 p2p->op_reg_class, p2p->op_channel); in p2p_process_invitation_req() 346 p2p->op_channel)) { in p2p_process_invitation_req() 348 p2p->op_reg_class, p2p->op_channel); in p2p_process_invitation_req() [all …]
|
H A D | p2p.c | 1403 u8 op_class, op_channel; in p2p_prepare_channel_pref() local 1408 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) { in p2p_prepare_channel_pref() 1413 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) && in p2p_prepare_channel_pref() 1415 op_channel))) { in p2p_prepare_channel_pref() 1417 freq, op_class, op_channel); in p2p_prepare_channel_pref() 1422 p2p->op_channel = op_channel; in p2p_prepare_channel_pref() 1428 p2p->channels.reg_class[0].channel[0] = p2p->op_channel; in p2p_prepare_channel_pref() 1440 u8 op_class, op_channel; in p2p_prepare_channel_best() local 1451 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel) in p2p_prepare_channel_best() 1455 p2p->op_channel = op_channel; in p2p_prepare_channel_best() [all …]
|
H A D | p2p_build.c | 119 u8 op_class, op_channel; in p2p_buf_add_pref_channel_list() local 131 &op_channel) == 0 && in p2p_buf_add_pref_channel_list() 142 &op_channel) < 0 || in p2p_buf_add_pref_channel_list() 149 wpabuf_put_u8(buf, op_channel); in p2p_buf_add_pref_channel_list()
|
H A D | p2p_pd.c | 141 p2p->op_channel); in p2ps_add_pd_req_attrs() 352 if (p2p->op_reg_class && p2p->op_channel) in p2p_build_prov_disc_resp() 356 p2p->op_channel); in p2p_build_prov_disc_resp() 361 p2p->cfg->op_channel); in p2p_build_prov_disc_resp() 1028 p2p->op_channel); in p2p_process_prov_disc_req() 1486 p2p->op_channel); in p2p_process_prov_disc_resp()
|
H A D | p2p_i.h | 360 u8 op_channel; member 701 u8 *op_class, u8 *op_channel); 703 u8 *op_channel,
|
H A D | p2p.h | 465 u8 op_channel; member 2039 u8 *op_channel, 2247 int p2p_set_oper_channel(struct p2p_data *p2p, u8 op_reg_class, u8 op_channel,
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | p2p_supplicant.c | 2032 u8 op_channel, op_class; in wpas_p2p_try_edmg_channel() local 2039 &op_channel) == 0) { in wpas_p2p_try_edmg_channel() 2042 freq, op_channel, op_class); in wpas_p2p_try_edmg_channel() 2088 u8 op_channel, op_class; in wpas_start_wps_go() local 2091 &op_class, &op_channel)) { in wpas_start_wps_go() 2092 ssid->edmg_channel = op_channel; in wpas_start_wps_go() 4992 p2p.op_channel = wpa_s->conf->p2p_oper_channel; in wpas_p2p_init() 4995 "%d:%d", p2p.op_reg_class, p2p.op_channel); in wpas_p2p_init() 5004 &p2p.op_channel, NULL, in wpas_p2p_init() 5009 p2p.op_channel = 0; in wpas_p2p_init() [all …]
|