Hi On Mon, Oct 7, 2013 at 10:17 PM, Oleksij Rempel <linux@xxxxxxxxxxxxxxxx> wrote: > Am 07.10.2013 11:08, schrieb Alexander Müller: >> Hello linux-wireless, >> >> I'm wondering if there is a list of usb wifi devices having a good and stable p2p support for wifi direct. We are currently using an AVM Fritz wifi stick that is supported by the carl9170 driver, but it is experiencing random failures and stalls which require a hardware reset. The p2p howto page at http://wireless.kernel.org/en/developers/p2p/howto suggests that there may be other devices and drivers supporting p2p, but I haven't figured out exactly which devices work best. >> >> Can you give me a hint? > > You can try ath9k_htc based device. It should be able to support P2P, > but right now i was not able to transfer any data. p2p_find and > p2p_connect seems to work. > > If you wont to do some more testing with ath9k_htc, please contact me. If anyone else is trying this, I was able to transfer data between my Android device and a linux host: Android device is a Nexus 4. To wait for connections, go to Settings->Wifi->Wifi-Direct On the linux host, I used "Sony UWABR100", a ath9k_htc dual-band (2.4/5Ghz) USB pluggable device. As kernel I used 3.12-rc3. At least wpa_supplicant-2.0 is needed. As config-file I used: ctrl_interface=/var/run/wpa_supplicant ap_scan=1 device_name=my-device-name device_type=1-0050F204-1 Then run wpa_supplicant via: wpa_supplicant -Dnl80211 -c /path/to/p2p.conf -i wlan0 -dt This information is also available here: http://wireless.kernel.org/en/developers/p2p/howto To connect your device, run "wpa_cli" on the host. Use "p2p_find" and wait for your android device to be detected. Then run "p2p_connect <android-mac> pbc" to connect via WPS-PBC. After a few seconds the android device shows a pop-up where you need to press "Accept". This will give you a new interface p2p-wlan0-0 (or similar). If you're the GO, you need to assign an IP address and start a dhcp-daemon (I used udhcpd). Otherwise, Android disconnects after a short timeout (about 5s). Once the dhcpd is running, the android device acquires an IP address and you can start communication. The IP network is fully set up. I hope this helps! David Some links I found useful: http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_NLCP_WiFi_Direct_Configuration_Scripts http://svn.dd-wrt.com/browser/src/router/hostapd-wps/wpa_supplicant/README-P2P?rev=16495 http://developer.android.com/guide/topics/connectivity/wifip2p.html -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html