Lines Matching refs:pref_chan
1422 p2p->cfg->pref_chan[0].op_class, in p2p_prepare_channel_best()
1423 p2p->cfg->pref_chan[0].chan)) { in p2p_prepare_channel_best()
1425 p2p->op_reg_class = p2p->cfg->pref_chan[0].op_class; in p2p_prepare_channel_best()
1426 p2p->op_channel = p2p->cfg->pref_chan[0].chan; in p2p_prepare_channel_best()
2912 if (cfg->pref_chan) { in p2p_init()
2913 p2p->cfg->pref_chan = os_malloc(cfg->num_pref_chan * in p2p_init()
2915 if (p2p->cfg->pref_chan) { in p2p_init()
2916 os_memcpy(p2p->cfg->pref_chan, cfg->pref_chan, in p2p_init()
2979 os_free(p2p->cfg->pref_chan); in p2p_deinit()
4781 const struct p2p_channel *pref_chan) in p2p_set_pref_chan() argument
4785 if (pref_chan) { in p2p_set_pref_chan()
4789 os_memcpy(n, pref_chan, in p2p_set_pref_chan()
4794 os_free(p2p->cfg->pref_chan); in p2p_set_pref_chan()
4795 p2p->cfg->pref_chan = n; in p2p_set_pref_chan()