Searched refs:num_pref_chan (Results 1 – 5 of 5) sorted by relevance
430 unsigned int num_pref_chan; member2122 int p2p_set_pref_chan(struct p2p_data *p2p, unsigned int num_pref_chan,
1423 } else if (p2p->cfg->num_pref_chan > 0 && in p2p_prepare_channel_best()2894 p2p->cfg->pref_chan = os_malloc(cfg->num_pref_chan * in p2p_init()2898 cfg->num_pref_chan * in p2p_init()2901 p2p->cfg->num_pref_chan = 0; in p2p_init()4698 int p2p_set_pref_chan(struct p2p_data *p2p, unsigned int num_pref_chan, in p2p_set_pref_chan() argument4704 n = os_malloc(num_pref_chan * sizeof(struct p2p_channel)); in p2p_set_pref_chan()4708 num_pref_chan * sizeof(struct p2p_channel)); in p2p_set_pref_chan()4714 p2p->cfg->num_pref_chan = num_pref_chan; in p2p_set_pref_chan()
378 for (i = 0; p2p->cfg->pref_chan && i < p2p->cfg->num_pref_chan; i++) { in p2p_get_pref_freq()
437 for (i = 0; p2p->cfg->pref_chan && i < p2p->cfg->num_pref_chan; i++) { in p2p_reselect_channel()
3994 p2p.num_pref_chan = wpa_s->conf->num_p2p_pref_chan; in wpas_p2p_init()