Searched refs:num_pref_chan (Results 1 – 5 of 5) sorted by relevance
489 unsigned int num_pref_chan; member2229 int p2p_set_pref_chan(struct p2p_data *p2p, unsigned int num_pref_chan,
331 for (i = 0; p2p->cfg->pref_chan && i < p2p->cfg->num_pref_chan; i++) { in p2p_get_pref_freq()
1428 } else if (p2p->cfg->num_pref_chan > 0 && in p2p_prepare_channel_best()2942 p2p->cfg->pref_chan = os_malloc(cfg->num_pref_chan * in p2p_init()2946 cfg->num_pref_chan * in p2p_init()2949 p2p->cfg->num_pref_chan = 0; in p2p_init()4814 int p2p_set_pref_chan(struct p2p_data *p2p, unsigned int num_pref_chan, in p2p_set_pref_chan() argument4820 n = os_malloc(num_pref_chan * sizeof(struct p2p_channel)); in p2p_set_pref_chan()4824 num_pref_chan * sizeof(struct p2p_channel)); in p2p_set_pref_chan()4830 p2p->cfg->num_pref_chan = num_pref_chan; in p2p_set_pref_chan()
445 for (i = 0; p2p->cfg->pref_chan && i < p2p->cfg->num_pref_chan; i++) { in p2p_reselect_channel()657 if (!p2p->cfg->get_pref_freq_list || p2p->cfg->num_pref_chan || in p2p_check_pref_chan()
4420 p2p.num_pref_chan = wpa_s->conf->num_p2p_pref_chan; in wpas_p2p_init()