tests: Fix ap_ht_40mhz_intolerant_ap
authorJouni Malinen <j@w1.fi>
Mon, 22 Dec 2014 20:07:54 +0000 (22:07 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 22 Dec 2014 20:07:54 +0000 (22:07 +0200)
commitb2eb3fe21c8aa70c697b9bef55d1a32e0ee3ff40
tree43e76ac2638243d23d21a474041f2ae19bce4e23
parentd97a3c488570f167dbd0412ec6c719b0006a7d81
tests: Fix ap_ht_40mhz_intolerant_ap

The previous design did not actually break from the wait loop when the
AP changed back to 40 MHz channel and as such, ended up waiting the full
30 second time. Furthermore, the five second delay time for returning
back to 40 MHz was not sufficiently long to test behavior correctly
since the STA did not have any chances of returning the next coex report
before the AP had returned to 40 MHz. Increase the AP wait time to 15
seconds so that the once per 10 seconds OBSS scan from the STA gets in
before changing back to 40 MHz channel (after the 40 MHz intolerant AP
gets disabled).

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_ht.py