mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 02:19:26 +01:00
auto-t: rekey in FT/FILS tests
This commit is contained in:
parent
7c1e3ab76a
commit
83a30fe5ae
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user