Home
last modified time | relevance | path

Searched refs:p2ps_prov (Results 1 – 14 of 14) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_pd.c62 p2p->p2ps_prov->force_freq = force_freq; in p2ps_add_new_group_info()
63 p2p->p2ps_prov->pref_freq = 0; in p2ps_add_new_group_info()
98 struct p2ps_provision *prov = p2p->p2ps_prov; in p2ps_add_pd_req_attrs()
198 if (p2p->p2ps_prov) in p2p_build_prov_disc_req()
199 extra += os_strlen(p2p->p2ps_prov->info) + 1 + in p2p_build_prov_disc_req()
211 if (p2p->p2ps_prov) { in p2p_build_prov_disc_req()
223 if (p2p->p2ps_prov) { in p2p_build_prov_disc_req()
294 if (p2p->p2ps_prov && p2p->p2ps_prov->adv_id == adv_id) { in p2p_build_prov_disc_resp()
296 struct p2ps_provision *prov = p2p->p2ps_prov; in p2p_build_prov_disc_resp()
383 if (p2p->p2ps_prov) in p2p_build_prov_disc_resp()
[all …]
Dp2p.c3397 if (p2p->p2ps_prov && !p2p->p2ps_prov->pd_seeker && in p2p_prov_disc_cb()
3398 p2p->p2ps_prov->status != P2P_SC_SUCCESS_DEFERRED) { in p2p_prov_disc_cb()
3411 p2p->p2ps_prov->status, in p2p_prov_disc_cb()
3412 p2p->p2ps_prov->adv_mac, in p2p_prov_disc_cb()
3413 p2p->p2ps_prov->adv_mac, in p2p_prov_disc_cb()
3414 p2p->p2ps_prov->session_mac, in p2p_prov_disc_cb()
3415 NULL, p2p->p2ps_prov->adv_id, in p2p_prov_disc_cb()
3416 p2p->p2ps_prov->session_id, in p2p_prov_disc_cb()
4028 if (p2p->p2ps_prov) { in p2p_timeout_prov_disc_req()
4029 adv_id = p2p->p2ps_prov->adv_id; in p2p_timeout_prov_disc_req()
[all …]
Dp2p_i.h520 struct p2ps_provision *p2ps_prov; member
Dp2p.h1373 struct p2ps_provision *p2ps_prov, u16 config_methods,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_pd.c62 p2p->p2ps_prov->force_freq = force_freq; in p2ps_add_new_group_info()
63 p2p->p2ps_prov->pref_freq = 0; in p2ps_add_new_group_info()
98 struct p2ps_provision *prov = p2p->p2ps_prov; in p2ps_add_pd_req_attrs()
198 if (p2p->p2ps_prov) in p2p_build_prov_disc_req()
199 extra += os_strlen(p2p->p2ps_prov->info) + 1 + in p2p_build_prov_disc_req()
211 if (p2p->p2ps_prov) { in p2p_build_prov_disc_req()
223 if (p2p->p2ps_prov) { in p2p_build_prov_disc_req()
294 if (p2p->p2ps_prov && p2p->p2ps_prov->adv_id == adv_id) { in p2p_build_prov_disc_resp()
296 struct p2ps_provision *prov = p2p->p2ps_prov; in p2p_build_prov_disc_resp()
383 if (p2p->p2ps_prov) in p2p_build_prov_disc_resp()
[all …]
Dp2p.c3425 if (p2p->p2ps_prov && !p2p->p2ps_prov->pd_seeker && in p2p_prov_disc_cb()
3426 p2p->p2ps_prov->status != P2P_SC_SUCCESS_DEFERRED) { in p2p_prov_disc_cb()
3439 p2p->p2ps_prov->status, in p2p_prov_disc_cb()
3440 p2p->p2ps_prov->adv_mac, in p2p_prov_disc_cb()
3441 p2p->p2ps_prov->adv_mac, in p2p_prov_disc_cb()
3442 p2p->p2ps_prov->session_mac, in p2p_prov_disc_cb()
3443 NULL, p2p->p2ps_prov->adv_id, in p2p_prov_disc_cb()
3444 p2p->p2ps_prov->session_id, in p2p_prov_disc_cb()
4072 if (p2p->p2ps_prov) { in p2p_timeout_prov_disc_req()
4073 adv_id = p2p->p2ps_prov->adv_id; in p2p_timeout_prov_disc_req()
[all …]
Dp2p_i.h520 struct p2ps_provision *p2ps_prov; member
Dp2p.h1384 struct p2ps_provision *p2ps_prov, u16 config_methods,
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dctrl_iface.c5493 struct p2ps_provision *p2ps_prov; in p2p_parse_asp_provision_cmd() local
5516 p2ps_prov = os_zalloc(sizeof(struct p2ps_provision) + info_len + 1); in p2p_parse_asp_provision_cmd()
5517 if (p2ps_prov == NULL) { in p2p_parse_asp_provision_cmd()
5523 os_memcpy(p2ps_prov->info, info, info_len); in p2p_parse_asp_provision_cmd()
5524 p2ps_prov->info[info_len] = '\0'; in p2p_parse_asp_provision_cmd()
5530 p2ps_prov->status = atoi(pos + 7); in p2p_parse_asp_provision_cmd()
5532 p2ps_prov->status = -1; in p2p_parse_asp_provision_cmd()
5537 p2ps_prov->adv_id = val; in p2p_parse_asp_provision_cmd()
5541 p2ps_prov->method = strtol(pos + 7, NULL, 16); in p2p_parse_asp_provision_cmd()
5543 p2ps_prov->method = 0; in p2p_parse_asp_provision_cmd()
[all …]
Dp2p_supplicant.h65 struct p2ps_provision *p2ps_prov);
Dp2p_supplicant.c6748 struct p2ps_provision *p2ps_prov) in wpas_p2p_prov_disc() argument
6756 if (p2ps_prov && use == WPAS_P2P_PD_FOR_ASP) { in wpas_p2p_prov_disc()
6757 p2ps_prov->conncap = p2ps_group_capability( in wpas_p2p_prov_disc()
6758 wpa_s, P2PS_SETUP_NONE, p2ps_prov->role, in wpas_p2p_prov_disc()
6759 &p2ps_prov->force_freq, &p2ps_prov->pref_freq); in wpas_p2p_prov_disc()
6763 __func__, p2ps_prov->conncap, in wpas_p2p_prov_disc()
6764 p2ps_prov->adv_id, p2ps_prov->conncap, in wpas_p2p_prov_disc()
6765 p2ps_prov->status, p2ps_prov->info); in wpas_p2p_prov_disc()
6777 os_free(p2ps_prov); in wpas_p2p_prov_disc()
6799 os_free(p2ps_prov); in wpas_p2p_prov_disc()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dctrl_iface.c5869 struct p2ps_provision *p2ps_prov; in p2p_parse_asp_provision_cmd() local
5892 p2ps_prov = os_zalloc(sizeof(struct p2ps_provision) + info_len + 1); in p2p_parse_asp_provision_cmd()
5893 if (p2ps_prov == NULL) { in p2p_parse_asp_provision_cmd()
5899 os_memcpy(p2ps_prov->info, info, info_len); in p2p_parse_asp_provision_cmd()
5900 p2ps_prov->info[info_len] = '\0'; in p2p_parse_asp_provision_cmd()
5906 p2ps_prov->status = atoi(pos + 7); in p2p_parse_asp_provision_cmd()
5908 p2ps_prov->status = -1; in p2p_parse_asp_provision_cmd()
5913 p2ps_prov->adv_id = val; in p2p_parse_asp_provision_cmd()
5917 p2ps_prov->method = strtol(pos + 7, NULL, 16); in p2p_parse_asp_provision_cmd()
5919 p2ps_prov->method = 0; in p2p_parse_asp_provision_cmd()
[all …]
Dp2p_supplicant.h67 struct p2ps_provision *p2ps_prov);
Dp2p_supplicant.c7247 struct p2ps_provision *p2ps_prov) in wpas_p2p_prov_disc() argument
7255 if (p2ps_prov && use == WPAS_P2P_PD_FOR_ASP) { in wpas_p2p_prov_disc()
7256 p2ps_prov->conncap = p2ps_group_capability( in wpas_p2p_prov_disc()
7257 wpa_s, P2PS_SETUP_NONE, p2ps_prov->role, in wpas_p2p_prov_disc()
7258 &p2ps_prov->force_freq, &p2ps_prov->pref_freq); in wpas_p2p_prov_disc()
7262 __func__, p2ps_prov->conncap, in wpas_p2p_prov_disc()
7263 p2ps_prov->adv_id, p2ps_prov->conncap, in wpas_p2p_prov_disc()
7264 p2ps_prov->status, p2ps_prov->info); in wpas_p2p_prov_disc()
7276 os_free(p2ps_prov); in wpas_p2p_prov_disc()
7298 os_free(p2ps_prov); in wpas_p2p_prov_disc()
[all …]