Lines Matching refs:pref_chan
1430 p2p->cfg->pref_chan[0].op_class, in p2p_prepare_channel_best()
1431 p2p->cfg->pref_chan[0].chan)) { in p2p_prepare_channel_best()
1433 p2p->op_reg_class = p2p->cfg->pref_chan[0].op_class; in p2p_prepare_channel_best()
1434 p2p->op_channel = p2p->cfg->pref_chan[0].chan; in p2p_prepare_channel_best()
2941 if (cfg->pref_chan) { in p2p_init()
2942 p2p->cfg->pref_chan = os_malloc(cfg->num_pref_chan * in p2p_init()
2944 if (p2p->cfg->pref_chan) { in p2p_init()
2945 os_memcpy(p2p->cfg->pref_chan, cfg->pref_chan, in p2p_init()
3008 os_free(p2p->cfg->pref_chan); in p2p_deinit()
4815 const struct p2p_channel *pref_chan) in p2p_set_pref_chan() argument
4819 if (pref_chan) { in p2p_set_pref_chan()
4823 os_memcpy(n, pref_chan, in p2p_set_pref_chan()
4828 os_free(p2p->cfg->pref_chan); in p2p_set_pref_chan()
4829 p2p->cfg->pref_chan = n; in p2p_set_pref_chan()