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.c378 for (i = 0; p2p->cfg->pref_chan && i < p2p->cfg->num_pref_chan; i++) { in p2p_get_pref_freq()
379 freq = p2p_channel_to_freq(p2p->cfg->pref_chan[i].op_class, in p2p_get_pref_freq()
380 p2p->cfg->pref_chan[i].chan); in p2p_get_pref_freq()
Dp2p_go_neg.c437 for (i = 0; p2p->cfg->pref_chan && i < p2p->cfg->num_pref_chan; i++) { in p2p_reselect_channel()
439 p2p->cfg->pref_chan[i].op_class, in p2p_reselect_channel()
440 p2p->cfg->pref_chan[i].chan)) { in p2p_reselect_channel()
441 p2p->op_reg_class = p2p->cfg->pref_chan[i].op_class; in p2p_reselect_channel()
442 p2p->op_channel = p2p->cfg->pref_chan[i].chan; in p2p_reselect_channel()
Dp2p.c1425 p2p->cfg->pref_chan[0].op_class, in p2p_prepare_channel_best()
1426 p2p->cfg->pref_chan[0].chan)) { in p2p_prepare_channel_best()
1428 p2p->op_reg_class = p2p->cfg->pref_chan[0].op_class; in p2p_prepare_channel_best()
1429 p2p->op_channel = p2p->cfg->pref_chan[0].chan; in p2p_prepare_channel_best()
2893 if (cfg->pref_chan) { in p2p_init()
2894 p2p->cfg->pref_chan = os_malloc(cfg->num_pref_chan * in p2p_init()
2896 if (p2p->cfg->pref_chan) { in p2p_init()
2897 os_memcpy(p2p->cfg->pref_chan, cfg->pref_chan, in p2p_init()
2965 os_free(p2p->cfg->pref_chan); in p2p_deinit()
4699 const struct p2p_channel *pref_chan) in p2p_set_pref_chan() argument
[all …]
Dp2p.h435 struct p2p_channel *pref_chan; member
2123 const struct p2p_channel *pref_chan);
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant.c3993 p2p.pref_chan = wpa_s->conf->p2p_pref_chan; in wpas_p2p_init()