<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>1.I tried to make 2 interfaces interfaces and dedicated one for the test_socket, <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Where the 2 instances of the supplicant point to it in the .conf using driver_param=test_socket=&#8221;socket path&#8221; the 2 instances didn&#8217;t see this socket as well<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>2.I also tried to make each instance of the supplicant point to the socket (created by interface) of the other instance <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Ex: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; supp1: has interface <i>sta1</i> and in supp1.conf the driver_param=test_socket=&#8221; sta<b>2</b> path&#8221;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Supp2:has interface <i>sta2</i> and in supp2.conf the driver_param=test_socket=&#8221; sta<b>1</b> path&#8221;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Seems that they can see each other but I get:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Unknown test_socket command - hexdump_ascii(len=3):<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp; 4f 4b 0a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OK_&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>RX ctrl_iface - hexdump_ascii(len=4):<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp; 53 43 41 4e&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SCAN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Ongoing scan action - reject new request<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>test_driver: received 10 bytes<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Unknown test_socket command - hexdump_ascii(len=10):<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp; 46 41 49 4c 2d 42 55 53 59 0a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FAIL-BUSY_<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I&#8217;d appreciate the help<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Thank you<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Zahraa<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><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"'> Zahraa Salah <br><b>Sent:</b> Sunday, January 15, 2012 6:59 PM<br><b>To:</b> hostap@lists.shmoo.com<br><b>Subject:</b> testing p2p using test interface<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I successfully tested the hostapd with the wpa_supplicant.<o:p></o:p></p><p class=MsoNormal>Now I&#8217;m trying to test the p2p using Driver_test interface.<o:p></o:p></p><p class=MsoNormal>I changed th .conf file. Started the supplicant and also started the wpa_cli&nbsp; and run the command p2p_find,<o:p></o:p></p><p class=MsoNormal>The supplicant started scanning for a p2p device.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I started another instance of the supplicant with different cotrol_interface and also connected the a new wpa_cli to this interface,<o:p></o:p></p><p class=MsoNormal>The 2<sup>nd</sup> instance of the supplicant started scanning also.<o:p></o:p></p><p class=MsoNormal>The 2 instances can&#8217;t see each other though they&#8217;re scanning and operating on the same channel(configured this in both .conf)<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I realized that the communication in the first setup(hostapd &amp; supplicant) was though test_socket created <o:p></o:p></p><p class=MsoNormal>Now what Im doing in the 2<sup>nd</sup> setup (2 wpa_supplicant)is having 2 interfaces with nothing to attach them to each other<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>How to make the 2 interfaces see each other? What parameter im missing &nbsp;in the .conf file?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Thank you,<o:p></o:p></p><p class=MsoNormal>Zahraa<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>