Searched refs:pref_chan (Results 1 – 5 of 5) sorted by relevance
398 for (i = 0; p2p->cfg->pref_chan && i < p2p->cfg->num_pref_chan; i++) { in p2p_get_pref_freq()399 freq = p2p_channel_to_freq(p2p->cfg->pref_chan[i].op_class, in p2p_get_pref_freq()400 p2p->cfg->pref_chan[i].chan); in p2p_get_pref_freq()
429 for (i = 0; p2p->cfg->pref_chan && i < p2p->cfg->num_pref_chan; i++) { in p2p_reselect_channel()431 p2p->cfg->pref_chan[i].op_class, in p2p_reselect_channel()432 p2p->cfg->pref_chan[i].chan)) { in p2p_reselect_channel()433 p2p->op_reg_class = p2p->cfg->pref_chan[i].op_class; in p2p_reselect_channel()434 p2p->op_channel = p2p->cfg->pref_chan[i].chan; in p2p_reselect_channel()
1260 p2p->cfg->pref_chan[0].op_class, in p2p_prepare_channel_best()1261 p2p->cfg->pref_chan[0].chan)) { in p2p_prepare_channel_best()1263 p2p->op_reg_class = p2p->cfg->pref_chan[0].op_class; in p2p_prepare_channel_best()1264 p2p->op_channel = p2p->cfg->pref_chan[0].chan; in p2p_prepare_channel_best()2468 if (cfg->pref_chan) { in p2p_init()2469 p2p->cfg->pref_chan = os_malloc(cfg->num_pref_chan * in p2p_init()2471 if (p2p->cfg->pref_chan) { in p2p_init()2472 os_memcpy(p2p->cfg->pref_chan, cfg->pref_chan, in p2p_init()2536 os_free(p2p->cfg->pref_chan); in p2p_deinit()4146 const struct p2p_channel *pref_chan) in p2p_set_pref_chan() argument[all …]
329 struct p2p_channel *pref_chan; member1887 const struct p2p_channel *pref_chan);
3956 p2p.pref_chan = wpa_s->conf->p2p_pref_chan; in wpas_p2p_init()