Home
last modified time | relevance | path

Searched refs:vendor_elem (Results 1 – 11 of 11) sorted by relevance

/external/wpa_supplicant_8/src/p2p/
Dp2p_group.c218 if (group->p2p->vendor_elem && in p2p_group_build_beacon_ie()
219 group->p2p->vendor_elem[VENDOR_ELEM_BEACON_P2P_GO]) in p2p_group_build_beacon_ie()
220 extra += wpabuf_len(group->p2p->vendor_elem[VENDOR_ELEM_BEACON_P2P_GO]); in p2p_group_build_beacon_ie()
231 if (group->p2p->vendor_elem && in p2p_group_build_beacon_ie()
232 group->p2p->vendor_elem[VENDOR_ELEM_BEACON_P2P_GO]) in p2p_group_build_beacon_ie()
234 group->p2p->vendor_elem[VENDOR_ELEM_BEACON_P2P_GO]); in p2p_group_build_beacon_ie()
461 if (group->p2p->vendor_elem && in p2p_group_build_probe_resp_ie()
462 group->p2p->vendor_elem[VENDOR_ELEM_PROBE_RESP_P2P_GO]) { in p2p_group_build_probe_resp_ie()
464 extra = wpabuf_dup(group->p2p->vendor_elem[VENDOR_ELEM_PROBE_RESP_P2P_GO]); in p2p_group_build_probe_resp_ie()
654 if (group->p2p->vendor_elem && in p2p_group_assoc_resp_ie()
[all …]
Dp2p_go_neg.c151 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_GO_NEG_REQ]) in p2p_build_go_neg_req()
152 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_GO_NEG_REQ]); in p2p_build_go_neg_req()
203 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_GO_NEG_REQ]) in p2p_build_go_neg_req()
204 wpabuf_put_buf(buf, p2p->vendor_elem[VENDOR_ELEM_P2P_GO_NEG_REQ]); in p2p_build_go_neg_req()
286 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_GO_NEG_RESP]) in p2p_build_go_neg_resp()
287 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_GO_NEG_RESP]); in p2p_build_go_neg_resp()
357 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_GO_NEG_RESP]) in p2p_build_go_neg_resp()
358 wpabuf_put_buf(buf, p2p->vendor_elem[VENDOR_ELEM_P2P_GO_NEG_RESP]); in p2p_build_go_neg_resp()
883 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_GO_NEG_CONF]) in p2p_build_go_neg_conf()
884 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_GO_NEG_CONF]); in p2p_build_go_neg_conf()
[all …]
Dp2p_invitation.c49 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_INV_REQ]) in p2p_build_invitation_req()
50 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_INV_REQ]); in p2p_build_invitation_req()
93 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_INV_REQ]) in p2p_build_invitation_req()
94 wpabuf_put_buf(buf, p2p->vendor_elem[VENDOR_ELEM_P2P_INV_REQ]); in p2p_build_invitation_req()
137 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_INV_RESP]) in p2p_build_invitation_resp()
138 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_INV_RESP]); in p2p_build_invitation_resp()
164 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_INV_RESP]) in p2p_build_invitation_resp()
165 wpabuf_put_buf(buf, p2p->vendor_elem[VENDOR_ELEM_P2P_INV_RESP]); in p2p_build_invitation_resp()
Dp2p_pd.c175 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_PD_REQ]) in p2p_build_prov_disc_req()
176 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_PD_REQ]); in p2p_build_prov_disc_req()
219 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_PD_REQ]) in p2p_build_prov_disc_req()
220 wpabuf_put_buf(buf, p2p->vendor_elem[VENDOR_ELEM_P2P_PD_REQ]); in p2p_build_prov_disc_req()
262 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_PD_RESP]) in p2p_build_prov_disc_resp()
263 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_PD_RESP]); in p2p_build_prov_disc_resp()
370 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_PD_RESP]) in p2p_build_prov_disc_resp()
371 wpabuf_put_buf(buf, p2p->vendor_elem[VENDOR_ELEM_P2P_PD_RESP]); in p2p_build_prov_disc_resp()
Dp2p.c2177 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_PROBE_RESP_P2P]) in p2p_build_probe_resp_ies()
2178 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_PROBE_RESP_P2P]); in p2p_build_probe_resp_ies()
2203 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_PROBE_RESP_P2P]) in p2p_build_probe_resp_ies()
2205 p2p->vendor_elem[VENDOR_ELEM_PROBE_RESP_P2P]); in p2p_build_probe_resp_ies()
2586 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_ASSOC_REQ]) in p2p_assoc_req_ie()
2587 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_ASSOC_REQ]); in p2p_assoc_req_ie()
2604 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_ASSOC_REQ]) in p2p_assoc_req_ie()
2606 p2p->vendor_elem[VENDOR_ELEM_P2P_ASSOC_REQ]); in p2p_assoc_req_ie()
3445 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_PROBE_REQ_P2P]) in p2p_scan_ie()
3447 p2p->vendor_elem[VENDOR_ELEM_PROBE_REQ_P2P]); in p2p_scan_ie()
[all …]
Dp2p_i.h537 struct wpabuf **vendor_elem; member
Dp2p.h2243 void p2p_set_vendor_elems(struct p2p_data *p2p, struct wpabuf **vendor_elem);
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface.c7576 if (wpa_s->vendor_elem[i]) { in wpas_ctrl_vendor_elem_update()
7582 wpa_s->vendor_elem[i]); in wpas_ctrl_vendor_elem_update()
7591 p2p_set_vendor_elems(wpa_s->global->p2p, wpa_s->vendor_elem); in wpas_ctrl_vendor_elem_update()
7662 if (wpa_s->vendor_elem[frame] == NULL) { in wpas_ctrl_vendor_elem_add()
7663 wpa_s->vendor_elem[frame] = buf; in wpas_ctrl_vendor_elem_add()
7668 if (wpabuf_resize(&wpa_s->vendor_elem[frame], len) < 0) { in wpas_ctrl_vendor_elem_add()
7673 wpabuf_put_buf(wpa_s->vendor_elem[frame], buf); in wpas_ctrl_vendor_elem_add()
7690 if (wpa_s->vendor_elem[frame] == NULL) in wpas_ctrl_vendor_elem_get()
7694 wpabuf_head_u8(wpa_s->vendor_elem[frame]), in wpas_ctrl_vendor_elem_get()
7695 wpabuf_len(wpa_s->vendor_elem[frame])); in wpas_ctrl_vendor_elem_get()
[all …]
Dwpa_supplicant_i.h964 struct wpabuf *vendor_elem[NUM_VENDOR_ELEM_FRAMES]; member
Dsme.c454 if (wpa_s->vendor_elem[VENDOR_ELEM_ASSOC_REQ]) { in sme_send_authentication()
455 struct wpabuf *buf = wpa_s->vendor_elem[VENDOR_ELEM_ASSOC_REQ]; in sme_send_authentication()
Dwpa_supplicant.c542 wpabuf_free(wpa_s->vendor_elem[i]); in wpa_supplicant_cleanup()
543 wpa_s->vendor_elem[i] = NULL; in wpa_supplicant_cleanup()
2179 if (wpa_s->vendor_elem[VENDOR_ELEM_ASSOC_REQ]) { in wpas_start_assoc_cb()
2180 struct wpabuf *buf = wpa_s->vendor_elem[VENDOR_ELEM_ASSOC_REQ]; in wpas_start_assoc_cb()