[RFC] nl80211: allow Android P2P functionality

Sreenath sreenats
Tue Apr 30 08:40:42 PDT 2013


Hello Johannes,

Thanks for the response.

After some playing around I figured out that the command to create p2p0 
interface is,

# iw wlan0 interface add p2p0 type __p2pdev

Regards,
Sreenath

On 04/30/2013 07:12 PM, Johannes Berg wrote:
> On Tue, 2013-04-30 at 18:43 +0530, Sreenath wrote:
>> Hello Johannes,
>>
>> Does this patch has to be applied on top of the patches submitted by
>> David Spinadel or hostap default git checkout code?
> It can be applied today.
>
>> Also whether wpa_supplicant has to be started on dummy 'p2p0' interface
>> along with WLAN primary interface. Because with out that, control socket
>> won't be created on 'p2p0' and which in turn is needed by Android
>> framework for P2P operations.
> Well, do
> # iw wlan0 interface create p2p0 __p2pdev
> first. Then use
>
> wpa_supplicant ... -ip2p0 -N -iwlan0
>
> johannes
>
>





More information about the Hostap mailing list