Searched refs:pref_chan (Results 1 – 3 of 3) sorted by relevance
381 for (i = 0; p2p->cfg->pref_chan && i < p2p->cfg->num_pref_chan; i++) { in p2p_reselect_channel()383 p2p->cfg->pref_chan[i].op_class, in p2p_reselect_channel()384 p2p->cfg->pref_chan[i].chan)) { in p2p_reselect_channel()385 p2p->op_reg_class = p2p->cfg->pref_chan[i].op_class; in p2p_reselect_channel()386 p2p->op_channel = p2p->cfg->pref_chan[i].chan; in p2p_reselect_channel()
291 struct p2p_channel *pref_chan; member1711 const struct p2p_channel *pref_chan);
2397 if (cfg->pref_chan) { in p2p_init()2398 p2p->cfg->pref_chan = os_malloc(cfg->num_pref_chan * in p2p_init()2400 if (p2p->cfg->pref_chan) { in p2p_init()2401 os_memcpy(p2p->cfg->pref_chan, cfg->pref_chan, in p2p_init()2467 os_free(p2p->cfg->pref_chan); in p2p_deinit()4044 const struct p2p_channel *pref_chan) in p2p_set_pref_chan() argument4048 if (pref_chan) { in p2p_set_pref_chan()4052 os_memcpy(n, pref_chan, in p2p_set_pref_chan()4057 os_free(p2p->cfg->pref_chan); in p2p_set_pref_chan()4058 p2p->cfg->pref_chan = n; in p2p_set_pref_chan()