P2P mode problems
hardillb at gmail.com
Thu Dec 6 12:00:05 EST 2012
I've been trying to have a play with the new P2P mode in the attempt to
get up a service on a device that a Android application can interact with.
I've followed the build instructions from
I'm using TP-Link TL-WN821N USB adapter (it uses the ath9k_hw driver)
I've been playing with the wpa_cli in interactive mode to start with and
things like p2p_find seam to be working fine, p2p_group_add is giving
the following error:
<3>P2P-DEVICE-FOUND 32:85:a9:4a:97:d5 p2p_dev_addr=32:85:a9:4a:97:d5
pri_dev_type=1-0050F204-1 name='Ben-Nexus7' config_methods=0x188
<3>P2P-DEVICE-FOUND a2:0b:ba:b9:3a:ca p2p_dev_addr=a2:0b:ba:b9:3a:ca
pri_dev_type=10-0050F204-5 name='Ben-Galaxy' config_methods=0x188
<3>CTRL-EVENT-CONNECTED - Connection to 64:70:02:21:88:15 completed
(auth) [id=0 id_str=]
<3>P2P-GROUP-STARTED wlan0 GO ssid="DIRECT-QL" freq=2412
<4>Could not connect to kernel driver
A little searching suggested that the device driver may not be enabled
for AP mode (all be it old posts). Given that the howto suggests using
ath9k devices and iw list says it supports AP mode. Does anybody have
any other ideas what could be wrong?
I'm currently prototyping this on my Raspberry Pi running the 3.2.27+
kernel from the raspbian release. I have also tried it on my Fedora 17
Laptop and I don't get a different issue.
Anybody got any suggestions as to what might be wrong and how to fix it?
More information about the HostAP