Home
last modified time | relevance | path

Searched refs:p2p_freq_to_channel (Results 1 – 12 of 12) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_utils.c69 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel) in p2p_freq_to_channel() function
290 if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < 0) in p2p_supported_freq()
300 if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < 0) in p2p_supported_freq_go()
311 if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < 0) in p2p_supported_freq_cli()
Dp2p_go_neg.c395 p2p_freq_to_channel(p2p->own_freq_preference, in p2p_reselect_channel()
406 p2p_freq_to_channel(p2p->best_freq_overall, in p2p_reselect_channel()
421 p2p_freq_to_channel(p2p->best_freq_5, in p2p_reselect_channel()
434 p2p_freq_to_channel(p2p->best_freq_24, in p2p_reselect_channel()
572 if (p2p_freq_to_channel(oper_freq, &op_class, in p2p_check_pref_chan_no_recv()
621 if (p2p_freq_to_channel(oper_freq, &op_class, in p2p_check_pref_chan_recv()
669 if (p2p_freq_to_channel(freq_list[i], &op_class, in p2p_check_pref_chan()
711 p2p_freq_to_channel(freq_list[i], &op_class, &op_channel) == 0) { in p2p_check_pref_chan()
Dp2p_build.c129 if (p2p_freq_to_channel(preferred_freq_list[i], &op_class, in p2p_buf_add_pref_channel_list()
139 if (p2p_freq_to_channel(preferred_freq_list[i], &op_class, in p2p_buf_add_pref_channel_list()
Dp2p.c1373 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) { in p2p_prepare_channel_pref()
1414 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel) in p2p_prepare_channel_best()
1421 p2p_freq_to_channel(p2p->best_freq_5, &op_class, &op_channel) in p2p_prepare_channel_best()
1428 p2p_freq_to_channel(p2p->best_freq_24, &op_class, in p2p_prepare_channel_best()
2279 } else if (p2p_freq_to_channel(rx_freq, &op_class, &channel)) { in p2p_build_probe_resp_buf()
5262 if (p2p_freq_to_channel(freq, &op_class, &channel) < 0) { in p2p_build_nfc_handover()
5271 if (p2p_freq_to_channel(client_freq, &op_class, &channel) < 0) { in p2p_build_nfc_handover()
Dp2p_i.h680 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel);
Dp2p_invitation.c278 if (p2p_freq_to_channel(op_freq, &reg_class, &channel) < 0) { in p2p_process_invitation_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_utils.c69 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel) in p2p_freq_to_channel() function
290 if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < 0) in p2p_supported_freq()
300 if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < 0) in p2p_supported_freq_go()
311 if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < 0) in p2p_supported_freq_cli()
Dp2p_go_neg.c396 p2p_freq_to_channel(p2p->own_freq_preference, in p2p_reselect_channel()
407 p2p_freq_to_channel(p2p->best_freq_overall, in p2p_reselect_channel()
422 p2p_freq_to_channel(p2p->best_freq_5, in p2p_reselect_channel()
435 p2p_freq_to_channel(p2p->best_freq_24, in p2p_reselect_channel()
581 if (p2p_freq_to_channel(oper_freq, &op_class, in p2p_check_pref_chan_no_recv()
630 if (p2p_freq_to_channel(oper_freq, &op_class, in p2p_check_pref_chan_recv()
678 if (p2p_freq_to_channel(freq_list[i], &op_class, in p2p_check_pref_chan()
720 p2p_freq_to_channel(freq_list[i], &op_class, &op_channel) == 0) { in p2p_check_pref_chan()
Dp2p_build.c129 if (p2p_freq_to_channel(preferred_freq_list[i], &op_class, in p2p_buf_add_pref_channel_list()
139 if (p2p_freq_to_channel(preferred_freq_list[i], &op_class, in p2p_buf_add_pref_channel_list()
Dp2p.c1380 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) { in p2p_prepare_channel_pref()
1423 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel) in p2p_prepare_channel_best()
1430 p2p_freq_to_channel(p2p->best_freq_5, &op_class, &op_channel) in p2p_prepare_channel_best()
1437 p2p_freq_to_channel(p2p->best_freq_24, &op_class, in p2p_prepare_channel_best()
2299 } else if (p2p_freq_to_channel(rx_freq, &op_class, &channel)) { in p2p_build_probe_resp_buf()
5307 if (p2p_freq_to_channel(freq, &op_class, &channel) < 0) { in p2p_build_nfc_handover()
5316 if (p2p_freq_to_channel(client_freq, &op_class, &channel) < 0) { in p2p_build_nfc_handover()
Dp2p_i.h683 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel);
Dp2p_invitation.c278 if (p2p_freq_to_channel(op_freq, &reg_class, &channel) < 0) { in p2p_process_invitation_req()