Searched refs:num_pref_chan (Results 1 – 3 of 3) sorted by relevance
286 unsigned int num_pref_chan; member1710 int p2p_set_pref_chan(struct p2p_data *p2p, unsigned int num_pref_chan,
2398 p2p->cfg->pref_chan = os_malloc(cfg->num_pref_chan * in p2p_init()2402 cfg->num_pref_chan * in p2p_init()2405 p2p->cfg->num_pref_chan = 0; in p2p_init()4043 int p2p_set_pref_chan(struct p2p_data *p2p, unsigned int num_pref_chan, in p2p_set_pref_chan() argument4049 n = os_malloc(num_pref_chan * sizeof(struct p2p_channel)); in p2p_set_pref_chan()4053 num_pref_chan * sizeof(struct p2p_channel)); in p2p_set_pref_chan()4059 p2p->cfg->num_pref_chan = num_pref_chan; in p2p_set_pref_chan()
381 for (i = 0; p2p->cfg->pref_chan && i < p2p->cfg->num_pref_chan; i++) { in p2p_reselect_channel()