3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-05 11:39:24 +01:00
iwd/autotests/testWPA2-ext-key-id
James Prestwood 267feb94b0 auto-t: fix rekey/reauth logic in a few ways
The rekey/reauth logic was broken in a few different ways.

For rekeys the event list was not being reset so any past 4-way
handshake would allow the call to pass. This actually removes
the need for the sleep in the extended key ID test because the
actual handshake event is waited for correctly.

For both rekeys and reauths, just waiting for the EAP/handshake
events was not enough. Without checking if the client got
disconnected we essentially allow a full disconnect and reconnect,
meaning the rekey/reauth failed.

Now a 'disallow' array can be passed to wait_for_event which will
throw an exception if any events in that array are encountered
while waiting for the target event.
2022-06-24 18:11:33 -05:00
..
connection_test.py auto-t: fix rekey/reauth logic in a few ways 2022-06-24 18:11:33 -05:00
hw.conf auto-t: Add test for extended key IDs 2021-10-08 13:28:04 -05:00
main_pae.conf auto-t: Add test for extended key IDs 2021-10-08 13:28:04 -05:00
ssidCCMP.conf auto-t: Add test for extended key IDs 2021-10-08 13:28:04 -05:00