@@ -10,7 +10,7 @@ from hostapd import HostapdCLI
import testutil
class Test(unittest.TestCase):
- def test_roam_success(self):
+ def validate(self):
wd = IWD(True)
device = wd.list_devices(1)[0]
@@ -50,6 +50,22 @@ class Test(unittest.TestCase):
self.assertRaises(Exception, testutil.test_ifaces_connected,
(self.bss_hostapd[0].ifname, device.name, True, True))
+ def test_ft_8021x_sha256(self):
+ self.bss_hostapd[0].set_value('wpa_key_mgmt', 'FT-EAP')
+ self.bss_hostapd[0].reload()
+ self.bss_hostapd[1].set_value('wpa_key_mgmt', 'FT-EAP')
+ self.bss_hostapd[1].reload()
+
+ self.validate()
+
+ def test_ft_8021x_sha3846(self):
+ self.bss_hostapd[0].set_value('wpa_key_mgmt', 'FT-EAP-SHA384')
+ self.bss_hostapd[0].reload()
+ self.bss_hostapd[1].set_value('wpa_key_mgmt', 'FT-EAP-SHA384')
+ self.bss_hostapd[1].reload()
+
+ self.validate()
+
def tearDown(self):
os.system('ip link set "' + self.bss_hostapd[0].ifname + '" down')
os.system('ip link set "' + self.bss_hostapd[1].ifname + '" down')