commit a0a05a88b929ba73057861a3f7198ee8f63902f0 parent 1574909535311609c824077fa14d99f7b4dcc12a Author: James Prestwood <prestwoj@gmail.com> Date: Thu, 9 Sep 2021 15:08:46 -0700 auto-t: add SAE test for a non-ACKed confirm Diffstat:
| M | autotests/testSAE/timeout_test.py | | | 24 | ++++++++++++++++++++++++ |
1 file changed, 24 insertions(+), 0 deletions(-)
diff --git a/autotests/testSAE/timeout_test.py b/autotests/testSAE/timeout_test.py @@ -63,6 +63,30 @@ class Test(unittest.TestCase): rule0.remove() + def test_sta_confirm_not_acked(self): + hostapd = HostapdCLI(config='ssidSAE.conf') + hostapd.set_value('vendor_elements', 'dd0cf4f5e8050500000000000000') + hostapd.set_value('sae_groups', '19') + hostapd.reload() + + hwsim = Hwsim() + bss_radio = hwsim.get_radio('rad0') + + rule0 = hwsim.rules.create() + rule0.source = bss_radio.addresses[0] + rule0.drop = True + rule0.prefix = 'b0' + rule0.match = '02 00 00 00' + rule0.match_offset = 26 + rule0.match_times = 1 + rule0.drop_ack = True + rule0.enabled = True + + wd = IWD(True) + self.validate_connection(wd) + + rule0.remove() + @classmethod def setUpClass(cls): pass