Searched refs:pref_chan (Results 1 – 5 of 5) sorted by relevance
331 for (i = 0; p2p->cfg->pref_chan && i < p2p->cfg->num_pref_chan; i++) { in p2p_get_pref_freq()332 freq = p2p_channel_to_freq(p2p->cfg->pref_chan[i].op_class, in p2p_get_pref_freq()333 p2p->cfg->pref_chan[i].chan); in p2p_get_pref_freq()
445 for (i = 0; p2p->cfg->pref_chan && i < p2p->cfg->num_pref_chan; i++) { in p2p_reselect_channel()447 p2p->cfg->pref_chan[i].op_class, in p2p_reselect_channel()448 p2p->cfg->pref_chan[i].chan)) { in p2p_reselect_channel()449 p2p->op_reg_class = p2p->cfg->pref_chan[i].op_class; in p2p_reselect_channel()450 p2p->op_channel = p2p->cfg->pref_chan[i].chan; in p2p_reselect_channel()
1449 p2p->cfg->pref_chan[0].op_class, in p2p_prepare_channel_best()1450 p2p->cfg->pref_chan[0].chan)) { in p2p_prepare_channel_best()1452 p2p->op_reg_class = p2p->cfg->pref_chan[0].op_class; in p2p_prepare_channel_best()1453 p2p->op_channel = p2p->cfg->pref_chan[0].chan; in p2p_prepare_channel_best()2966 if (cfg->pref_chan) { in p2p_init()2967 p2p->cfg->pref_chan = os_malloc(cfg->num_pref_chan * in p2p_init()2969 if (p2p->cfg->pref_chan) { in p2p_init()2970 os_memcpy(p2p->cfg->pref_chan, cfg->pref_chan, in p2p_init()3034 os_free(p2p->cfg->pref_chan); in p2p_deinit()4857 const struct p2p_channel *pref_chan) in p2p_set_pref_chan() argument[all …]
499 struct p2p_channel *pref_chan; member2241 const struct p2p_channel *pref_chan);
4565 p2p.pref_chan = wpa_s->conf->p2p_pref_chan; in wpas_p2p_init()