[PATCH V2 00/23] P2P: support nl80211 P2P_DEVICE interface

Arend van Spriel arend
Sun Jun 30 13:25:13 PDT 2013


On 06/30/13 12:05, Jouni Malinen wrote:
> On Wed, May 29, 2013 at 11:07:47AM +0200, Arend van Spriel wrote:
>> This patch series adds support for the nl80211 P2P_DEVICE interface
>> concept. It is based upon and including the 18 reworked patches from
>> the devel branch. The code changes has been tested with one peer
>> supporting P2P_DEVICE and one peer with a so-called dummy net device,
>> ie. p2p0. Peers found each other using p2p_find and connection was
>> established with p2p_connect using pbc method.
>
> I applied rest of the patches (17-23) now. Though, I did re-order these
> to fix the issues first before enabling use of the P2P_DEVICE. In
> addition, I disabled P2P_DEVICE capability by default until all the
> kernel version and advertisement related issues can be resolved. To
> enable P2P_DEVICE, you would need to add driver_param=p2p_device=1 into
> the configuration file for now. The default may end up getting changed
> to this being enabled eventually, but it will probably be good to
> maintain this configuration mechanism for hwsim tests (or alternatively,
> make mac80211_hwsim advertisement of P2P_DEVICE functionality
> configurable).

Thanks, Jouni

That is great news. Fine by me to use the driver_param.

>> Also ran the hwsim tests 'test_p2p_*.py' with some modifications,
>> because P2P events are now sent to a different control interface.
>
> This needs to be fixed more cleanly so that the test cases handle both
> group interface cases automatically (i.e., use same netdev and use a
> separate group netdev). Anyway, I'd assume this is independent of the
> new P2P_DEVICE functionality.

Agreed. I just hacked the scripts to confirm what was going on.

Regards,
Arend




More information about the Hostap mailing list