[PATCH 0/5] default to using P2P_DEVICE

Jouni Malinen j at w1.fi
Wed Oct 22 04:49:19 EDT 2014


On Mon, Oct 20, 2014 at 12:00:03PM +0200, Johannes Berg wrote:
> In order to test both P2P_DEVICE and non-P2P_DEVICE, use the new dynamic
> wiphy capability in hwsim. Also disable P2P_DEVICE support by default by
> using the module parameter, so that old tests run as before.
> 
> This allows removing the nl80211 "p2p_device=1" parameter completely and
> the code will do the right auto-discovery of capabilities now, as it had
> been intended originally (but changed due to the testing issues.)

It was simpler to move to requiring run-tests.py to be run as root
rather than figure out how to handle the hwsim phy addition operations
cleanly from python. With that change in place and run-all.sh modified
to use sudo for run-tests.py, these tests work fine on my test server. I
applied the remaining three patches from this set now.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list