Home
last modified time | relevance | path

Searched refs:wfd_subelems (Results 1 – 12 of 12) sorted by relevance

/external/wpa_supplicant_8/src/p2p/
Dp2p_group.c356 struct wpabuf *wfd_subelems, *wfd_ie; in wifi_display_build_go_ie() local
364 wfd_subelems = wpabuf_alloc(wpabuf_len(group->p2p->wfd_ie_probe_resp) + in wifi_display_build_go_ie()
366 if (wfd_subelems == NULL) in wifi_display_build_go_ie()
369 wpabuf_put_buf(wfd_subelems, group->p2p->wfd_dev_info); in wifi_display_build_go_ie()
371 wpabuf_put_buf(wfd_subelems, in wifi_display_build_go_ie()
374 wpabuf_put_buf(wfd_subelems, in wifi_display_build_go_ie()
378 wpabuf_put_u8(wfd_subelems, WFD_SUBELEM_SESSION_INFO); in wifi_display_build_go_ie()
379 len = wpabuf_put(wfd_subelems, 2); in wifi_display_build_go_ie()
382 if (wifi_display_add_dev_info_descr(wfd_subelems, m)) in wifi_display_build_go_ie()
389 wfd_subelems->used -= 3; in wifi_display_build_go_ie()
[all …]
Dp2p.c673 if (dev->info.wfd_subelems && msg->wfd_subelems) { in p2p_compare_wfd_info()
674 if (dev->info.wfd_subelems->used != msg->wfd_subelems->used) in p2p_compare_wfd_info()
677 return os_memcmp(dev->info.wfd_subelems->buf, in p2p_compare_wfd_info()
678 msg->wfd_subelems->buf, in p2p_compare_wfd_info()
679 dev->info.wfd_subelems->used); in p2p_compare_wfd_info()
681 if (dev->info.wfd_subelems || msg->wfd_subelems) in p2p_compare_wfd_info()
847 wpabuf_free(dev->info.wfd_subelems); in p2p_add_device()
848 if (msg.wfd_subelems) in p2p_add_device()
849 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_add_device()
851 dev->info.wfd_subelems = NULL; in p2p_add_device()
[all …]
Dp2p_pd.c607 } else if (msg.wfd_subelems) { in p2p_process_prov_disc_req()
608 wpabuf_free(dev->info.wfd_subelems); in p2p_process_prov_disc_req()
609 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_process_prov_disc_req()
1355 } else if (msg.wfd_subelems) { in p2p_process_prov_disc_resp()
1356 wpabuf_free(dev->info.wfd_subelems); in p2p_process_prov_disc_resp()
1357 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_process_prov_disc_resp()
Dp2p_parse.c557 msg->wfd_subelems = ieee802_11_vendor_ie_concat( in p2p_parse_ies()
632 wpabuf_free(msg->wfd_subelems); in p2p_parse_free()
633 msg->wfd_subelems = NULL; in p2p_parse_free()
Dp2p_go_neg.c1267 if (msg.wfd_subelems) { in p2p_process_go_neg_resp()
1268 wpabuf_free(dev->info.wfd_subelems); in p2p_process_go_neg_resp()
1269 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_process_go_neg_resp()
Dp2p_i.h568 struct wpabuf *wfd_subelems; member
Dp2p.h391 struct wpabuf *wfd_subelems; member
Dp2p_sd.c60 if (wfd_wsd_supported(dev->info.wfd_subelems)) in p2p_pending_sd_req()
/external/wpa_supplicant_8/wpa_supplicant/
Dwifi_display.c371 char * wifi_display_subelem_hex(const struct wpabuf *wfd_subelems, u8 id) in wifi_display_subelem_hex() argument
379 if (!wfd_subelems) in wifi_display_subelem_hex()
382 buf = wpabuf_head_u8(wfd_subelems); in wifi_display_subelem_hex()
386 buflen = wpabuf_len(wfd_subelems); in wifi_display_subelem_hex()
Dwifi_display.h22 char * wifi_display_subelem_hex(const struct wpabuf *wfd_subelems, u8 id);
Dp2p_supplicant.c2306 wfd_dev_info_hex = wifi_display_subelem_hex(info->wfd_subelems, in wpas_dev_found()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c1776 if (info->wfd_subelems == NULL) in wpas_dbus_getter_p2p_peer_ies()
1782 iter, DBUS_TYPE_BYTE, (char *) info->wfd_subelems->buf, in wpas_dbus_getter_p2p_peer_ies()
1783 info->wfd_subelems->used, error); in wpas_dbus_getter_p2p_peer_ies()