commit 83a30fe5ae5db2c61c2f466fbd199f2599054f44
parent 7c1e3ab76a8e3505e3365d4bb4a59facc2f90856
Author: James Prestwood <prestwoj@gmail.com>
Date: Tue, 28 Sep 2021 15:36:09 -0700
auto-t: rekey in FT/FILS tests
Diffstat:
4 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/autotests/testFILS/fils_256_test.py b/autotests/testFILS/fils_256_test.py
@@ -55,6 +55,9 @@ class Test(unittest.TestCase):
testutil.test_iface_operstate()
testutil.test_ifaces_connected(device.name, hapd.ifname)
+ hapd.rekey(device.address)
+ hapd.wait_for_event('EAPOL-4WAY-HS-COMPLETED')
+
device.disconnect()
@classmethod
diff --git a/autotests/testFILS/fils_384_test.py b/autotests/testFILS/fils_384_test.py
@@ -55,6 +55,9 @@ class Test(unittest.TestCase):
testutil.test_iface_operstate()
testutil.test_ifaces_connected(device.name, hapd.ifname)
+ hapd.rekey(device.address)
+ hapd.wait_for_event('EAPOL-4WAY-HS-COMPLETED')
+
device.disconnect()
@classmethod
diff --git a/autotests/testFT-FILS/connection_test.py b/autotests/testFT-FILS/connection_test.py
@@ -95,6 +95,9 @@ class Test(unittest.TestCase):
self.assertRaises(Exception, testutil.test_ifaces_connected,
(self.bss_hostapd[0].ifname, device.name, True, True))
+ self.bss_hostapd[1].rekey(device.address)
+ self.bss_hostapd[1].wait_for_event('EAPOL-4WAY-HS-COMPLETED')
+
def test_fils_ft_roam_sha256(self):
wd = IWD(True)
diff --git a/autotests/testPSK-roam/connection_test.py b/autotests/testPSK-roam/connection_test.py
@@ -80,6 +80,9 @@ class Test(unittest.TestCase):
self.assertRaises(Exception, testutil.test_ifaces_connected,
(self.bss_hostapd[0].ifname, device.name, True, True))
+ self.bss_hostapd[1].rekey(device.address)
+ self.bss_hostapd[1].wait_for_event('EAPOL-4WAY-HS-COMPLETED')
+
device.roam(self.bss_hostapd[0].bssid)
condition = 'obj.state == DeviceState.roaming'