linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* WIFI USB-Stick for P2P
@ 2013-10-07  9:08 Alexander Müller
  2013-10-07 20:17 ` Oleksij Rempel
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Müller @ 2013-10-07  9:08 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org

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?

Regards,
Alex

________________________________

Dipl.-Inf. (Univ.) Alexander Müller, Software Architect
Phone: +49 89 45 23 47 - 224


jambit GmbH
Erika-Mann-Str. 63, 80636 München
Phone: +49 89 45 23 47 - 0 Fax: +49 89 45 23 47 - 70

http://www.jambit.com where innovation works

Geschäftsführer: Peter F. Fellinger, Markus Hartinger
Sitz: München; Registergericht: München, HRB 129139

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: WIFI USB-Stick for P2P
  2013-10-07  9:08 WIFI USB-Stick for P2P Alexander Müller
@ 2013-10-07 20:17 ` Oleksij Rempel
  2013-10-21  8:29   ` David Herrmann
  0 siblings, 1 reply; 3+ messages in thread
From: Oleksij Rempel @ 2013-10-07 20:17 UTC (permalink / raw)
  To: Alexander Müller, linux-wireless@vger.kernel.org

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.
-- 
Regards,
Oleksij

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: WIFI USB-Stick for P2P
  2013-10-07 20:17 ` Oleksij Rempel
@ 2013-10-21  8:29   ` David Herrmann
  0 siblings, 0 replies; 3+ messages in thread
From: David Herrmann @ 2013-10-21  8:29 UTC (permalink / raw)
  To: Oleksij Rempel; +Cc: Alexander Müller, linux-wireless@vger.kernel.org

Hi

On Mon, Oct 7, 2013 at 10:17 PM, Oleksij Rempel <linux@rempel-privat.de> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-21  8:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07  9:08 WIFI USB-Stick for P2P Alexander Müller
2013-10-07 20:17 ` Oleksij Rempel
2013-10-21  8:29   ` David Herrmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).