3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +01:00
iwd/autotests
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
..
misc auto-t: allow wildcard phase1 for EAP tests 2022-06-01 11:02:01 -05:00
shell auto-t: add shell test 2019-08-07 16:37:51 -05:00
testAddressRandomization auto-t: use copy_to_storage in address randomization test 2022-05-25 15:00:06 -05:00
testAdHoc auto-t: add client test to testAdHoc 2022-06-30 13:38:02 -05:00
testAgent auto-t: fix unpredictability/pointless test from testAgent 2022-06-29 13:18:29 -05:00
testAP auto-t: update test to work with PairwiseCiphers array 2022-11-04 12:04:00 -05:00
testAP-no-support auto-t: update test to work with PairwiseCiphers array 2022-11-04 12:04:00 -05:00
testAPRoam auto-t: add a no candidate test to testAPRoam 2022-09-28 12:36:20 -05:00
testBSSBlacklist auto-t: fix testBSSBlacklist typo 2022-03-31 18:12:49 -05:00
testChannelSwitch auto-t: add missing ocv option and wait to testChannelSwitch 2021-10-19 15:29:26 -05:00
testClientNonInteractive auto-t: remove direct scan() call when possible 2022-03-30 15:25:55 -05:00
testConnectAutoconnect auto-t: fix testConnectAutoconnect 2021-10-20 16:51:58 -05:00
testDisconnectByAP auto-t: remove direct scan() call when possible 2022-03-30 15:25:55 -05:00
testDisconnectOnConnect auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testDPP auto-t: add DPP tests to check extra settings are applied 2023-12-19 19:48:45 -06:00
testEAD auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05:00
testEAP auto-t: add EAP reauth to testEAP 2022-05-26 11:24:56 -05:00
testEAP-PEAPv0-CryptoBinding auto-t: fix eapol_reauth utility 2022-05-26 11:24:52 -05:00
testEAP-TLS-Frag auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05:00
testEAP-TLSwithMFPC auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05:00
testEAP-TLSwithMFPR auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05:00
testEAP-TTLS-Frag auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05:00
testEAP-WPS auto-t: add client test to testEAP-WPS 2022-06-30 13:38:02 -05:00
testEAP-WPS-Frag auto-t: release radio/hostapd instances from cls 2021-02-26 10:08:10 -06:00
testEAPoL-spoofing auto-t: Add EAPoL spoofing test 2022-05-11 17:23:54 -05:00
testEncryptedProfiles auto-t: fix testEncryptedProfiles mtime check 2022-06-24 18:11:15 -05:00
testFILS auto-t: add comment about FILS rekeys 2023-06-19 20:54:17 -05:00
testFT-8021x-roam auto-t: remove rekey timeouts from autotests 2022-10-06 09:01:24 -05:00
testFT-FILS auto-t: remove rekey timeouts from autotests 2022-10-06 09:01:24 -05:00
testHiddenNetworks auto-t: speed up testHiddenNetworks 2022-10-06 14:41:04 -05:00
testHotspot auto-t: Drop !used hostapd instances in testHotspot 2021-12-24 14:28:55 -06:00
testHT-VHT auto-t: remove direct scan() call when possible 2022-03-30 15:25:55 -05:00
testKnownNetworks auto-t: add test for known frequency sorting/maximum 2024-01-29 20:45:32 -06:00
testMFP-Options auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testNetconfig auto-t: add netconfig timeout test 2024-01-30 14:00:30 -06:00
testNetconfigRoam auto-t: add test for roaming + netconfig 2024-01-08 22:08:53 -06:00
testOpen auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testOWE auto-t: update uses of wait_for_object_change 2022-09-28 12:36:16 -05:00
testOWE-transition auto-t: Update tests to use hostapd.default() 2023-08-30 20:41:25 -05:00
testP2P auto-t: Work around wpa_s config issue in testP2P 2022-06-06 10:39:00 -05:00
testPreauth-roam auto-t: remove rekey timeouts from autotests 2022-10-06 09:01:24 -05:00
testPSK-roam auto-t: fix failed_roam_test to pass when run on its own 2024-02-22 09:28:55 -06:00
testRoamRetry auto-t: update uses of wait_for_object_change 2022-09-28 12:36:16 -05:00
testRRM auto-t: add more checks to testRRM 2022-09-09 09:11:15 -05:00
testRSSIAgent auto-t: fix testRSSIAgent after signal agent changes 2022-05-25 15:00:06 -05:00
testSAE auto-t: refactor/fix testSAE 2024-02-27 13:55:37 -06:00
testSAE-AntiClogging auto-t: Update tests to use hostapd.default() 2023-08-30 20:41:25 -05:00
testSAE-roam auto-t: remove rekey timeouts from autotests 2022-10-06 09:01:24 -05:00
testSAQuery auto-t: testSAQuery remove ungraceful restart 2021-08-25 08:51:45 -05:00
testSAQuery-spoofing auto-t: add OCV to testSAQuery-spoofing 2021-10-19 13:28:03 -05:00
testScan auto-t: speed up testScan 2022-10-06 14:41:26 -05:00
testScanKnownFreqs auto-t: set autoconnect=True for tests that need it 2021-08-12 16:59:05 -05:00
testWPA auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testWPA2 auto-t: Update tests to use hostapd.default() 2023-08-30 20:41:25 -05:00
testWPA2-ext-key-id auto-t: fix rekey/reauth logic in a few ways 2022-06-24 18:11:33 -05:00
testWPA2-no-CCMP auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testWPA2-SHA256 auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testWPA2withMFP auto-t: Update tests to use hostapd.default() 2023-08-30 20:41:25 -05:00
util auto-t: add HostapdCLI.sta_status 2024-02-27 13:55:37 -06:00