iwd/autotests/testSAE
James Prestwood e296a61e3f auto-t: refactor/fix testSAE
The SAE test made some assumptions on certain conditions due to
there being no way of checking if those conditions were met
Mainly the use of H2E/hunt-and-peck.

We assumed that when we told hostapd to use H2E or hunt/peck it
would but in reality it was not. Hostapd is apparently not very
good at swapping between the two with a simple "reload" command.
Once H2E is enabled it appears that it cannot be undone.
Similarly the vendor elements seem to carry over from test to
test, and sometimes not which causes unintended behavior.

To fix this create separate APs for the specific scenario being
tested:
 - Hunt and peck
 - H2E
 - Special vendor_element simulating buggy APs

Another issue found was that if password identifies are used
hostapd automatically chooses H2E which was not intented, at
least based on the test names (in reality it wasn't causing any
problems).

The tests have also been improved to use hostapds "sta_status"
command which contains the group number used when authenticating,
so now that at least can be verified.
2024-02-27 13:55:37 -06:00
..
profiles auto-t: refactor/fix testSAE 2024-02-27 13:55:37 -06:00
autoconnect_test.py auto-t: refactor/fix testSAE 2024-02-27 13:55:37 -06:00
connection_test.py auto-t: refactor/fix testSAE 2024-02-27 13:55:37 -06:00
failure_test.py auto-t: add H2E password identifier test 2023-12-15 10:21:01 -06:00
hw.conf auto-t: refactor/fix testSAE 2024-02-27 13:55:37 -06:00
main.conf auto-t: SAE: Rework SAE tests 2021-07-14 19:02:06 -05:00
ssidSAE-H2E.conf auto-t: refactor/fix testSAE 2024-02-27 13:55:37 -06:00
ssidSAE.conf auto-t: refactor/fix testSAE 2024-02-27 13:55:37 -06:00
timeout_test.py auto-t: Update tests to use hostapd.default() 2023-08-30 20:41:25 -05:00