[PATCH 5/6] tests: ap_csa channel switch inc timeout for remote tests

Jouni Malinen j at w1.fi
Mon Jun 27 10:27:11 PDT 2016


On Tue, Jun 07, 2016 at 04:42:42PM +0300, Jonathan Afek wrote:
> The ap_csa tests are testing the channel switch functionality.
> After performing a channel switch the test used to sleep for 0.1
> seconds. For real hw the operation takes a bit longer so the
> timeout is increased to 1 second.

I'm adding a new wpa_supplicant control interface event to report
channel switches and changing ap_csa test cases to wait on this event
instead of the fixed duration here. That move to 1 second would have
almost doubled the test execution time and that new event message is of
use for more purposes as well.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list