P2P_FIND command failed from wpa_cli

Nilkanth Ahirrao nilkanth.ahirrao
Sun Jan 20 02:05:02 PST 2013


Hi,

 

I would like to connect to  P2P device  and transfer the data.

Platform : X86,Ubuntu Kernel 3.0 later

 

I have recompile the wpa_supplicant and wpa_cli code with CONFIG_P2P 

 

And also followed all the step s mention in
http://linuxwireless.org/en/developers/p2p/howto

 

After running wpa_supplicant and wpa_cli the P2P_FIND command failed.

 

I have capture the wpa_supplicant log as:

 

 

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

 

Please let me know what could be the issue.

 

Regards,

Nil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20130120/7baf541c/attachment.htm 



More information about the Hostap mailing list