Hi Jouni,<div><br></div><div>I'm running the latest wpa_supplicant. My wireless adapter uses ar9170 chipset. I installed the carl9170 driver. When I tried the p2p_gorup_add, the wpa_cli returned this:</div><div><div>p2p_group_add</div>
<div>FAIL</div><div><5>P2P: Failed to initialize group interface</div></div><div><br></div><div>Here is what the log says:</div><div><div>wlan0: Control interface command 'P2P_GROUP_ADD'</div><div>P2P: Stop any on-going P2P FIND</div>
<div>wlan0: P2P: Stopping find</div><div>wlan0: P2P: Clear timeout (state=IDLE)</div><div>wlan0: P2P: State IDLE -> IDLE</div><div>P2P: Set GO freq 2412 MHz (no preference known)</div><div>nl80211: Get shared freq for PHY phy0</div>
<div>nl80211: No shared interface for PHY (phy0) in associated state</div><div>P2P: Create a new interface p2p-wlan0-0 for the group</div><div>nl80211: Create interface iftype 9 (P2P_GO)</div><div>nl80211: New interface p2p-wlan0-0 created: ifindex=10</div>
<div>nl80211: Allocate new address for P2P group interface</div><div>nl80211: Assigned new P2P Interface Address 02:1f:33:f8:0f:23</div><div>P2P: Created pending virtual interface p2p-wlan0-0 addr 02:1f:33:f8:0f:23</div><div>
Initializing interface 'p2p-wlan0-0' conf 'N/A' driver 'nl80211' ctrl_interface '/var/run/wpa_supplicant' bridge 'N/A'</div><div>nl80211: interface p2p-wlan0-0 in phy phy0</div><div>
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0</div><div>Could not set interface p2p-wlan0-0 flags (UP): Device or resource busy</div><div>nl80211: Could not set interface 'p2p-wlan0-0' UP</div><div>netlink: Operstate: linkmode=0, operstate=6</div>
<div>nl80211: Set mode ifindex 10 iftype 2 (STATION)</div><div>p2p-wlan0-0: Failed to initialize driver interface</div><div>Failed to add interface p2p-wlan0-0</div></div><div><br></div><div>What's the possible reason that prevents the setup of the interface p2p-wlan0-0? I turned off the network-manager when I run wpa_supplicant to prevent any interference. Thank you!</div>
<div><div><br></div>-- <br><div>Regards,</div>
<div>Chao Xu</div><br>
</div>