tests: Use 10 retries for over-the-air broadcast connectivity
authorJonathan Afek <jonathan@wizery.com>
Tue, 24 May 2016 11:02:33 +0000 (14:02 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 28 May 2016 13:33:41 +0000 (16:33 +0300)
commite2f3f0232f42c2293e4cc9a5b4813d3df55fc3af
treeb03c3e7b17534c23d40c44f79ee468f8aad635a8
parent8960afa4bfa423774a8ca58cc21a4a7c1ab6089e
tests: Use 10 retries for over-the-air broadcast connectivity

The regular hwsim tests use both unicast and broadcast frames to test
the connectivity between 2 interfaces. For real hardware (remote hwsim
tests) the broadcast frames will sometimes not be seen by all connected
stations since they can be in low power mode during DTIM or because
broadcast frames are not ACKed. Use 10 retries for broadcast
connectivity tests for real hardware so that the test will pass if we
successfully received at least one of them.

Signed-off-by: Jonathan Afek <jonathanx.afek@intel.com>
tests/hwsim/hostapd.py
tests/hwsim/hwsim_utils.py