Home
last modified time | relevance | path

Searched refs:pref_freq_list (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/wpa/src/p2p/
H A Dp2p_go_neg.c190 p2p_pref_channel_filter(&p2p->channels, p2p->pref_freq_list, in p2p_build_go_neg_req()
205 p2p_buf_add_pref_channel_list(buf, p2p->pref_freq_list, in p2p_build_go_neg_req()
354 p2p_pref_channel_filter(&p2p->channels, p2p->pref_freq_list, in p2p_build_go_neg_resp()
666 msg->pref_freq_list[2 * j], in p2p_check_pref_chan_recv()
667 msg->pref_freq_list[2 * j + 1]); in p2p_check_pref_chan_recv()
717 p2p->pref_freq_list)) in p2p_check_pref_chan()
727 if (p2p_freq_to_channel(p2p->pref_freq_list[i].freq, in p2p_check_pref_chan()
733 (is_6ghz_freq(p2p->pref_freq_list[i].freq) && in p2p_check_pref_chan()
737 p2p->pref_freq_list[i].freq, go); in p2p_check_pref_chan()
739 os_memmove(&p2p->pref_freq_list[i], in p2p_check_pref_chan()
[all …]
H A Dp2p_utils.c522 int p2p_remove_6ghz_channels(struct weighted_pcl *pref_freq_list, int size) in p2p_remove_6ghz_channels() argument
527 if (is_6ghz_freq(pref_freq_list[i].freq)) { in p2p_remove_6ghz_channels()
529 pref_freq_list[i].freq); in p2p_remove_6ghz_channels()
531 os_memmove(&pref_freq_list[i], &pref_freq_list[i + 1], in p2p_remove_6ghz_channels()
532 (size - i) * sizeof(pref_freq_list[0])); in p2p_remove_6ghz_channels()
H A Dp2p_build.c115 const struct weighted_pcl *pref_freq_list, in p2p_buf_add_pref_channel_list() argument
130 if (p2p_freq_to_channel(pref_freq_list[i].freq, &op_class, in p2p_buf_add_pref_channel_list()
132 !(pref_freq_list[i].flag & WEIGHTED_PCL_EXCLUDE)) in p2p_buf_add_pref_channel_list()
141 if (p2p_freq_to_channel(pref_freq_list[i].freq, &op_class, in p2p_buf_add_pref_channel_list()
143 (pref_freq_list[i].flag & WEIGHTED_PCL_EXCLUDE)) { in p2p_buf_add_pref_channel_list()
145 pref_freq_list[i].freq); in p2p_buf_add_pref_channel_list()
H A Dp2p_i.h548 struct weighted_pcl pref_freq_list[P2P_MAX_PREF_CHANNELS]; member
660 const u8 *pref_freq_list; member
794 const struct weighted_pcl *pref_freq_list,
H A Dp2p_parse.c583 msg->pref_freq_list = elems.pref_freq_list; in p2p_parse_ies()
H A Dp2p.h2405 const struct weighted_pcl *pref_freq_list,
2430 int p2p_remove_6ghz_channels(struct weighted_pcl *pref_freq_list, int size);
H A Dp2p_invitation.c92 p2p_buf_add_pref_channel_list(buf, p2p->pref_freq_list, in p2p_build_invitation_req()
H A Dp2p.c5571 const struct weighted_pcl *pref_freq_list, in p2p_set_own_pref_freq_list() argument
5579 os_memcpy(p2p->pref_freq_list, pref_freq_list, in p2p_set_own_pref_freq_list()
5583 i, p2p->pref_freq_list[i].freq); in p2p_set_own_pref_freq_list()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dp2p_supplicant.c129 struct weighted_pcl *pref_freq_list,
727 struct weighted_pcl pref_freq_list[P2P_MAX_PREF_CHANNELS]; in p2ps_group_capability() local
740 (int *) pref_freq, 0, pref_freq_list, &size)) in p2ps_group_capability()
3127 struct weighted_pcl *pref_freq_list, in wpas_p2p_pick_best_pref_freq() argument
3144 pref_freq_list); in wpas_p2p_pick_best_pref_freq()
3146 max_pref_freq = p2p_remove_6ghz_channels(pref_freq_list, in wpas_p2p_pick_best_pref_freq()
3158 pref_freq_list[i].freq) || in wpas_p2p_pick_best_pref_freq()
3160 pref_freq_list[i].freq) || in wpas_p2p_pick_best_pref_freq()
3161 !p2p_pref_freq_allowed(&pref_freq_list[i], go))) { in wpas_p2p_pick_best_pref_freq()
3164 i, pref_freq_list[i].freq); in wpas_p2p_pick_best_pref_freq()
[all …]
/freebsd/contrib/wpa/src/common/
H A Dieee802_11_common.h80 const u8 *pref_freq_list; member
H A Dieee802_11_common.c179 elems->pref_freq_list = pos; in ieee802_11_parse_vendor_specific()