Lines Matching refs:tlvs
1406 u16 update_indic, const u8 *tlvs, size_t tlvs_len)
1409 const u8 *pos = tlvs;
1410 const u8 *end = tlvs + tlvs_len;
1418 wpa_hexdump(MSG_MSGDUMP, "P2P: Service Discovery Request TLVs",
1419 tlvs, tlvs_len);
1423 wpa_snprintf_hex(buf, buf_len, tlvs, tlvs_len);
1433 update_indic, tlvs, tlvs_len);
1509 update_indic, tlvs, tlvs_len);
1518 const u8 *tlvs, size_t tlvs_len)
1521 const u8 *pos = tlvs;
1522 const u8 *end = tlvs + tlvs_len;
1528 wpa_hexdump(MSG_MSGDUMP, "P2P: Service Discovery Response TLVs",
1529 tlvs, tlvs_len);
1541 wpa_snprintf_hex(buf, buf_len, tlvs, tlvs_len);
1578 wpas_notify_p2p_sd_response(wpa_s, sa, update_indic, tlvs, tlvs_len);
1583 const struct wpabuf *tlvs)
1586 return wpa_drv_p2p_sd_request(wpa_s, dst, tlvs);
1589 return (uintptr_t) p2p_sd_request(wpa_s->global->p2p, dst, tlvs);
1596 struct wpabuf *tlvs;
1599 tlvs = wpabuf_alloc(2 + 1 + 1 + 1 + os_strlen(query));
1600 if (tlvs == NULL)
1602 wpabuf_put_le16(tlvs, 1 + 1 + 1 + os_strlen(query));
1603 wpabuf_put_u8(tlvs, P2P_SERV_UPNP); /* Service Protocol Type */
1604 wpabuf_put_u8(tlvs, 1); /* Service Transaction ID */
1605 wpabuf_put_u8(tlvs, version);
1606 wpabuf_put_str(tlvs, query);
1607 ret = wpas_p2p_sd_request(wpa_s, dst, tlvs);
1608 wpabuf_free(tlvs);