[PATCH] tests: autogo: Use group control interface for GO commands

Jouni Malinen j at w1.fi
Fri Dec 30 13:55:25 PST 2016


On Thu, Dec 29, 2016 at 11:37:58AM +0200, Andrei Otcheretianski wrote:
> The channel switch command is intended for the GO interface, but
> it is not sent on the group control interface. For configurations
> that use a separate interface for P2P groups, this will fail the test.
> 
> Fix this by sending the channel switch command on the group control
> interface and waiting for the channel switch event on the global
> control interface.

While this sounds like a reasonable change, I'd like to understand how
to reproduce this.. I don't see autogo_chan_switch failing with
mac80211_hwsim.support_p2p_device=1 nor could I get a test case with
HWSIMRadio(use_p2p_device=True)... to fail in this manner either.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list