<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:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 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;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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=Section1>

<p class=MsoNormal>Hi,<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I would like to connect to &nbsp;P2P device &nbsp;and
transfer the data.<o:p></o:p></p>

<p class=MsoNormal>Platform : X86,Ubuntu Kernel 3.0 later<o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal>I have recompile the wpa_supplicant and wpa_cli code with CONFIG_P2P
<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>And also followed all the step s mention in <a
href="http://linuxwireless.org/en/developers/p2p/howto">http://linuxwireless.org/en/developers/p2p/howto</a><o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>After running wpa_supplicant and wpa_cli the P2P_FIND
command failed.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I have capture the wpa_supplicant log as:<o:p></o:p></p>

<div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;
padding:0in 0in 1.0pt 0in'>

<p class=MsoNormal style='border:none;padding:0in'><o:p>&nbsp;</o:p></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;
padding:0in 0in 1.0pt 0in'>

<p class=MsoPlainText style='margin-bottom:12.0pt;border:none;padding:0in'><span
style='font-family:"Courier New"'>nth@nilkanth-ThinkPad-E420:/sbin$ sudo
./wpa_supplicant -Dnl80211 -c /home/nil/p2p.conf -i wlan0 -dt<br>
1358172292.034700: wpa_supplicant v2.1-devel<br>
1358172292.034837: random: Trying to read entropy from /dev/random<br>
1358172292.034923: Successfully initialized wpa_supplicant<br>
1358172292.034987: Initializing interface 'wlan0' conf '/home/nil/p2p.conf'
driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'<br>
1358172292.035058: Configuration file '/home/nil/p2p.conf' -&gt; '/home/nil/p2p.conf'<br>
1358172292.035107: Reading configuration file '/home/nil/p2p.conf'<br>
1358172292.035235: ctrl_interface='/var/run/wpa_supplicant'<br>
1358172292.035291: ap_scan=1<br>
1358172292.035337: device_name='p2ptest2'<br>
1358172292.036562: nl80211: interface wlan0 in phy phy0<br>
1358172292.036634: rfkill: initial event: idx=0 type=2 op=0 soft=1 hard=0<br>
1358172292.036677: rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0<br>
1358172292.036839: nl80211: Set mode ifindex 3 iftype 2 (STATION)<br>
1358172292.036961: nl80211: Subscribe to mgmt frames with non-AP handle
0x958ef78<br>
1358172292.037017: nl80211: Register frame type=0xd0 nl_handle=0x958ef78<br>
1358172292.037074: nl80211: Register frame match - hexdump(len=2): 04 0a<br>
1358172292.037171: nl80211: Register frame type=0xd0 nl_handle=0x958ef78<br>
1358172292.037215: nl80211: Register frame match - hexdump(len=2): 04 0b<br>
1358172292.037315: nl80211: Register frame type=0xd0 nl_handle=0x958ef78<br>
1358172292.037358: nl80211: Register frame match - hexdump(len=2): 04 0c<br>
1358172292.037438: nl80211: Register frame type=0xd0 nl_handle=0x958ef78<br>
1358172292.037480: nl80211: Register frame match - hexdump(len=2): 04 0d<br>
1358172292.037562: nl80211: Register frame type=0xd0 nl_handle=0x958ef78<br>
1358172292.037603: nl80211: Register frame match - hexdump(len=6): 04 09 50 6f
9a 09<br>
1358172292.037687: nl80211: Register frame type=0xd0 nl_handle=0x958ef78<br>
1358172292.037728: nl80211: Register frame match - hexdump(len=5): 7f 50 6f 9a
09<br>
1358172292.037812: nl80211: Register frame type=0xd0 nl_handle=0x958ef78<br>
1358172292.037853: nl80211: Register frame match - hexdump(len=1): 06<br>
1358172292.037931: nl80211: Register frame type=0xd0 nl_handle=0x958ef78<br>
1358172292.037973: nl80211: Register frame match - hexdump(len=2): 0a 07<br>
1358172292.038051: nl80211: Register frame type=0xd0 nl_handle=0x958ef78<br>
1358172292.038091: nl80211: Register frame match - hexdump(len=2): 0a 11<br>
1358172292.113798: netlink: Operstate: linkmode=1, operstate=5<br>
1358172292.113965: nl80211: Using driver-based off-channel TX<br>
1358172292.114013: nl80211: driver param='(null)'<br>
1358172292.114173: nl80211: Regulatory information - country=00<br>
1358172292.114186: nl80211: 2402-2472 @ 40 MHz<br>
1358172292.114197: nl80211: 2457-2482 @ 20 MHz<br>
1358172292.114206: nl80211: 2474-2494 @ 20 MHz<br>
1358172292.114214: nl80211: 5170-5250 @ 40 MHz<br>
1358172292.114222: nl80211: 5735-5835 @ 40 MHz<br>
1358172292.114252: nl80211: Added 802.11b mode based on 802.11g information<br>
1358172292.114367: wlan0: Own MAC address: 74:e5:0b:46:24:9c<br>
1358172292.114426: wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil)
key_idx=0 set_tx=0 seq_len=0 key_len=0<br>
1358172292.114496: wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil)
key_idx=1 set_tx=0 seq_len=0 key_len=0<br>
1358172292.114541: wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil)
key_idx=2 set_tx=0 seq_len=0 key_len=0<br>
1358172292.114583: wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil)
key_idx=3 set_tx=0 seq_len=0 key_len=0<br>
1358172292.114623: wlan0: RSN: flushing PMKID list in the driver<br>
1358172292.114633: nl80211: Flush PMKIDs<br>
1358172292.114681: wlan0: State: DISCONNECTED -&gt; INACTIVE<br>
1358172292.114713: WPS: Set UUID for interface wlan0<br>
1358172292.114799: WPS: UUID based on MAC address - hexdump(len=16): ff c5 9c
f8 c7 59 52 95 bd a4 1c 15 72 cd 09 fd<br>
1358172292.114847: EAPOL: SUPP_PAE entering state DISCONNECTED<br>
1358172292.114856: EAPOL: Supplicant port status: Unauthorized<br>
1358172292.114910: EAPOL: KEY_RX entering state NO_KEY_RECEIVE<br>
1358172292.114924: EAPOL: SUPP_BE entering state INITIALIZE<br>
1358172292.114933: EAP: EAP entering state DISABLED<br>
1358172292.114945: EAPOL: Supplicant port status: Unauthorized<br>
1358172292.114986: EAPOL: Supplicant port status: Unauthorized<br>
1358172292.115128: wlan0: Added interface wlan0<br>
1358172292.115143: wlan0: State: INACTIVE -&gt; DISCONNECTED<br>
1358172292.115152: wpa_driver_nl80211_set_operstate: operstate 0-&gt;0
(DORMANT)<br>
1358172292.115162: netlink: Operstate: linkmode=-1, operstate=5<br>
1358172292.115248: random: Got 20/20 bytes from /dev/random<br>
1358172292.115302: RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])<br>
1358172292.115328: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added<br>
1358172292.115354: nl80211: if_removed already cleared - ignore event<br>
1358172293.116084: EAPOL: disable timer tick<br>
1358172293.116123: EAPOL: Supplicant port status: Unauthorized<br>
1358172340.564653: CTRL_IFACE monitor attached - hexdump(len=21): 2f 74 6d 70
2f 77 70 61 5f 63 74 72 6c 5f 32 30 37 37 2d 32 00<br>
1358172347.491845: RX ctrl_iface - hexdump_ascii(len=8):<br>
&nbsp;&nbsp;&nbsp;&nbsp; 50 32 50 5f 46 49 4e
44&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;
P2P_FIND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
1358172347.491938: wlan0: Control interface command 'P2P_FIND'<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Please let me know what could be the issue.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Regards,<o:p></o:p></p>

<p class=MsoNormal>Nil<o:p></o:p></p>

</div>

</body>

</html>