Lines Matching refs:wfd_subelems
673 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()
842 if (msg.wfd_subelems) { in p2p_add_device()
843 wpabuf_free(dev->info.wfd_subelems); in p2p_add_device()
844 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_add_device()
929 wpabuf_free(dev->info.wfd_subelems); in p2p_device_free()
1727 if (msg->wfd_subelems) { in p2p_add_dev_info()
1728 wpabuf_free(dev->info.wfd_subelems); in p2p_add_dev_info()
1729 dev->info.wfd_subelems = wpabuf_dup(msg->wfd_subelems); in p2p_add_dev_info()
2077 if (msg.wfd_subelems) { in p2p_add_dev_from_probe_req()
2078 wpabuf_free(dev->info.wfd_subelems); in p2p_add_dev_from_probe_req()
2079 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_add_dev_from_probe_req()
4329 if (dev->info.wfd_subelems) { in p2p_get_peer_info_txt()
4336 wpabuf_head(dev->info.wfd_subelems), in p2p_get_peer_info_txt()
4337 wpabuf_len(dev->info.wfd_subelems)); in p2p_get_peer_info_txt()