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

Jouni Malinen j at w1.fi
Sun Jun 30 17:49:51 EDT 2013


On Wed, May 29, 2013 at 12:12:30PM +0200, Arend van Spriel wrote:
> On 05/29/2013 11:07 AM, Arend van Spriel wrote:
> >Also ran the hwsim tests 'test_p2p_*.py' with some modifications,
> >because P2P events are now sent to a different control interface.
> 
> Executed the P2P tests on 3.10-rc1 kernel with the attached patch
> applied to hwsim tests. Two test cases are failing:

This is a good example of why the new p2p-dev-* control interface was
not a good thing to have.. I converted the test scripts to use the
global control interface for P2P operations and this allows both designs
to be used.

> passed 10 test case(s)
> failed tests: ['test_grpform2', 'test_autogo_tdls']
> 
> Also tried with hostap/master:
> 
> passed 9 test case(s)
> failed tests: ['test_discovery_group_client', 'test_grpform2',
> 'test_autogo_tdls']

test_autogo_tdls is still failing due to the hack it uses to build a P2P
persistent group entry. I guess something else needs to be done here
(e.g., another hack to push that network profile to the p2pdev
interface). The other test cases should now pass with both the
driver_param=p2p_device=1 (i.e., with the dedicated P2P_DEVICE) and
without this (wlan# netdev for P2P management operations).

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list