Home
last modified time | relevance | path

Searched refs:op_channel (Results 1 - 18 of 18) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
H A Dp2p_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()
558 u8 op_class, op_channel; p2p_check_pref_chan_no_recv() local
605 u8 op_class, op_channel; p2p_check_pref_chan_recv() local
648 u8 op_class, op_channel; p2p_check_pref_chan() local
[all...]
H A Dp2p_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()
384 p2p_channel_select(struct p2p_channels *chans, const int *classes, u8 *op_class, u8 *op_channel) p2p_channel_select() argument
415 p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class, u8 *op_channel, struct wpa_freq_range_list *avoid_list, struct wpa_freq_range_list *disallow_list) p2p_channel_random_social() argument
[all...]
H A Dp2p_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()
[all...]
H A Dp2p.c1368 u8 op_class, op_channel; in p2p_prepare_channel_pref() local
1373 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) { in p2p_prepare_channel_pref()
1378 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) && in p2p_prepare_channel_pref()
1380 op_channel))) { in p2p_prepare_channel_pref()
1382 freq, op_class, op_channel); in p2p_prepare_channel_pref()
1387 p2p->op_channel = op_channel; in p2p_prepare_channel_pref()
1393 p2p->channels.reg_class[0].channel[0] = p2p->op_channel; in p2p_prepare_channel_pref()
1405 u8 op_class, op_channel; in p2p_prepare_channel_best() local
1414 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel) in p2p_prepare_channel_best()
4714 p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class, u8 *op_channel, struct wpa_freq_range_list *avoid_list, struct wpa_freq_range_list *disallow_list) p2p_config_get_random_social() argument
4779 p2p_set_oper_channel(struct p2p_data *p2p, u8 op_reg_class, u8 op_channel, int cfg_op_channel) p2p_set_oper_channel() argument
[all...]
H A Dp2p_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()
H A Dp2p_i.h356 * op_channel - Own operational channel
358 u8 op_channel; member
696 u8 *op_class, u8 *op_channel);
698 u8 *op_channel,
H A Dp2p.h459 * op_channel - Own operational channel
461 u8 op_channel; member
464 * cfg_op_channel - Whether op_channel is hardcoded in configuration
2014 * @op_channel: Selected social channel
2024 u8 *op_channel,
2226 * @op_channel: operating channel to set
2227 * @cfg_op_channel : Whether op_channel is hardcoded in configuration
2230 int p2p_set_oper_channel(struct p2p_data *p2p, u8 op_reg_class, u8 op_channel,
H A Dp2p_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()
1014 p2p->op_channel); in p2p_process_prov_disc_req()
1471 p2p->op_channel); in p2p_process_prov_disc_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
H A Dp2p_go_neg.c195 p2p->op_reg_class, p2p->op_channel); in p2p_build_go_neg_req()
338 p2p->op_channel); in p2p_build_go_neg_resp()
398 u8 op_reg_class, op_channel; in p2p_reselect_channel() local
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()
412 p2p->op_channel = op_channel; in p2p_reselect_channel()
418 &op_reg_class, &op_channel) == 0 && in p2p_reselect_channel()
419 p2p_channels_includes(intersection, op_reg_class, op_channel)) { in p2p_reselect_channel()
619 u8 op_class, op_channel; p2p_check_pref_chan_no_recv() local
666 u8 op_class, op_channel; p2p_check_pref_chan_recv() local
709 u8 op_class, op_channel; p2p_check_pref_chan() local
[all...]
H A Dp2p_utils.c292 u8 op_reg_class, op_channel; in p2p_supported_freq() local
293 if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < 0) in p2p_supported_freq()
296 op_channel); in p2p_supported_freq()
302 u8 op_reg_class, op_channel; in p2p_supported_freq_go() local
303 if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < 0) in p2p_supported_freq_go()
307 op_channel) && !ieee80211_is_dfs(freq, NULL, 0)) { in p2p_supported_freq_go()
316 op_channel)) in p2p_supported_freq_go()
321 op_channel) && in p2p_supported_freq_go()
328 u8 op_reg_class, op_channel; in p2p_supported_freq_cli() local
329 if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < in p2p_supported_freq_cli()
402 p2p_channel_select(struct p2p_channels *chans, const int *classes, u8 *op_class, u8 *op_channel) p2p_channel_select() argument
433 p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class, u8 *op_channel, struct wpa_freq_range_list *avoid_list, struct wpa_freq_range_list *disallow_list) p2p_channel_random_social() argument
[all...]
H A Dp2p_invitation.c81 p2p->op_channel); in p2p_build_invitation_req()
318 p2p->op_channel = p2p->cfg->op_channel; in p2p_process_invitation_req()
320 p2p->op_reg_class, p2p->op_channel); in p2p_process_invitation_req()
335 p2p->op_channel = msg.operating_channel[4]; in p2p_process_invitation_req()
337 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()
351 p2p->op_reg_class, p2p->op_channel); in p2p_process_invitation_req()
354 p2p->op_channel)) { in p2p_process_invitation_req()
[all...]
H A Dp2p.c1478 u8 op_class, op_channel; local
1483 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) {
1488 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) &&
1490 op_channel))) {
1492 freq, op_class, op_channel);
1497 p2p->op_channel = op_channel;
1503 p2p->channels.reg_class[0].channel[0] = p2p->op_channel;
1515 u8 op_class, op_channel; local
1526 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel)
4921 p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class, u8 *op_channel, struct wpa_freq_range_list *avoid_list, struct wpa_freq_range_list *disallow_list) global() argument
4990 p2p_set_oper_channel(struct p2p_data *p2p, u8 op_reg_class, u8 op_channel, int cfg_op_channel) global() argument
[all...]
H A Dp2p_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()
H A Dp2p.h474 * op_channel - Own operational channel
476 u8 op_channel; member
479 * cfg_op_channel - Whether op_channel is hardcoded in configuration
2042 * @op_channel: Selected social channel
2052 u8 *op_channel,
2256 * @op_channel: operating channel to set
2257 * @cfg_op_channel : Whether op_channel is hardcoded in configuration
2260 int p2p_set_oper_channel(struct p2p_data *p2p, u8 op_reg_class, u8 op_channel,
H A Dp2p_i.h383 * op_channel - Own operational channel
385 u8 op_channel; member
752 u8 *op_class, u8 *op_channel);
754 u8 *op_channel,
H A Dp2p_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()
1014 p2p->op_channel); in p2p_process_prov_disc_req()
1471 p2p->op_channel); in p2p_process_prov_disc_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dp2p_supplicant.c2229 u8 op_channel, op_class; in wpas_p2p_try_edmg_channel() local
2236 &op_channel) == 0) { in wpas_p2p_try_edmg_channel()
2239 freq, op_channel, op_class); in wpas_p2p_try_edmg_channel()
2285 u8 op_channel, op_class; in wpas_start_wps_go() local
2288 &op_class, &op_channel)) { in wpas_start_wps_go()
2289 ssid->edmg_channel = op_channel; in wpas_start_wps_go()
5626 p2p.op_channel = wpa_s->conf->p2p_oper_channel;
5629 "%d:%d", p2p.op_reg_class, p2p.op_channel);
5638 &p2p.op_channel, NULL,
5643 p2p.op_channel
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dp2p_supplicant.c4545 p2p.op_channel = wpa_s->conf->p2p_oper_channel; in wpas_p2p_init()
4548 "%d:%d", p2p.op_reg_class, p2p.op_channel); in wpas_p2p_init()
4557 &p2p.op_channel, NULL, in wpas_p2p_init()
4562 p2p.op_channel = 0; in wpas_p2p_init()
4568 "%d:%d", p2p.op_reg_class, p2p.op_channel); in wpas_p2p_init()
7566 u8 op_reg_class, op_channel, cfg_op_channel; in wpas_p2p_update_config() local
7572 op_channel = wpa_s->conf->p2p_oper_channel; in wpas_p2p_update_config()
7581 op_channel = 1; in wpas_p2p_update_config()
7583 op_channel = 1 + (r % 3) * 5; in wpas_p2p_update_config()
7586 ret = p2p_set_oper_channel(p2p, op_reg_class, op_channel, in wpas_p2p_update_config()
[all...]

Completed in 47 milliseconds