Home
last modified time | relevance | path

Searched refs:pref_chan (Results 1 – 5 of 5) sorted by relevance

/external/wpa_supplicant_8/src/p2p/
Dp2p_utils.c331 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()
Dp2p.c1422 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
[all …]
Dp2p_go_neg.c440 for (i = 0; p2p->cfg->pref_chan && i < p2p->cfg->num_pref_chan; i++) { in p2p_reselect_channel()
442 p2p->cfg->pref_chan[i].op_class, in p2p_reselect_channel()
443 p2p->cfg->pref_chan[i].chan)) { in p2p_reselect_channel()
444 p2p->op_reg_class = p2p->cfg->pref_chan[i].op_class; in p2p_reselect_channel()
445 p2p->op_channel = p2p->cfg->pref_chan[i].chan; in p2p_reselect_channel()
Dp2p.h494 struct p2p_channel *pref_chan; member
2219 const struct p2p_channel *pref_chan);
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant.c4397 p2p.pref_chan = wpa_s->conf->p2p_pref_chan; in wpas_p2p_init()