<div dir="ltr"><div>Hello Neeraj,<br></div> Thank you Neeraj , your explanation makes me clear understanding of this feature.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 11, 2013 at 12:51 PM, Neeraj Kumar Garg <span dir="ltr"><<a href="mailto:neerajkg@broadcom.com" target="_blank">neerajkg@broadcom.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif";color:blue">Hello Nishant,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif";color:blue">0200->Is the length of the tlv. (2 bytes in this case)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif";color:blue">00->protocol (00 is for protocol all, 02 is for upnp)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif";color:blue">01->transaction_id. This is to differentiate between the requests in the air.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif";color:blue">After this header, your normal service data will follow depending upon the length of TLV you have given.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif";color:blue"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif";color:blue">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif";color:blue">-Neeraj<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif";color:blue"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:hostap-bounces@lists.shmoo.com" target="_blank">hostap-bounces@lists.shmoo.com</a> [mailto:<a href="mailto:hostap-bounces@lists.shmoo.com" target="_blank">hostap-bounces@lists.shmoo.com</a>]
<b>On Behalf Of </b>Nishant Sharma<br>
<b>Sent:</b> Tuesday, January 08, 2013 10:43 AM<br>
<b>To:</b> <a href="mailto:hostap@lists.shmoo.com" target="_blank">hostap@lists.shmoo.com</a><br>
<b>Subject:</b> Service Query TLV(s)<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Hi Jouni,<u></u><u></u></p>
</div>
<p class="MsoNormal"> To use the service discovery feature of wpa_supplicant for p2p,<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">the wpa_supplicant specification says :<br>
<br>
<b>p2p_serv_disc_req</b> <addr> <TLV(hexdump)><br>
<br>
Schedule a P2P service discovery request. The parameters for this<br>
command are the device address of the peer device (or 00:00:00:00:00:00<br>
for wildcard query that is sent to every discovered P2P peer that<br>
supports service discovery) and P2P Service Query TLV(s) as hexdump.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> I want to know which TLV represents which kind of request. I mean say if I am using
<br>
<br>
<b>p2p_serv_disc_req <addr> 02000001</b><u></u><u></u></p>
</div>
<p class="MsoNormal"> then the value<b> 02000001(hexdump) </b>represents which kind of request . Please let me know from where I can get the complete list of TLV(hexdump) and their corresponding request information in details.<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><br>
-- <br>
Thank you,<br>
Nishant Sharma<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards<br>Nishant Sharma<br>
</div>