raise Exception("GTK rekey timed out")
hwsim_utils.test_connectivity(dev[0], hapd)
+ conf = hapd.get_config()
+ if conf['key_mgmt'] != 'FILS-SHA256':
+ raise Exception("Unexpected config key_mgmt: " + conf['key_mgmt'])
+
def test_fils_sk_sha384_full_auth(dev, apdev):
"""FILS SK full authentication (SHA384)"""
check_fils_capa(dev[0])
raise Exception("GTK rekey timed out")
hwsim_utils.test_connectivity(dev[0], hapd)
+ conf = hapd.get_config()
+ if conf['key_mgmt'] != 'FILS-SHA384':
+ raise Exception("Unexpected config key_mgmt: " + conf['key_mgmt'])
+
def test_fils_sk_pmksa_caching(dev, apdev):
"""FILS SK and PMKSA caching"""
check_fils_capa(dev[0])
if "CTRL-EVENT-EAP-STARTED" in ev:
raise Exception("Unexpected EAP exchange")
+ conf = hapd.get_config()
+ if conf['key_mgmt'] != 'WPA-EAP-SUITE-B':
+ raise Exception("Unexpected config key_mgmt: " + conf['key_mgmt'])
+
def suite_b_as_params():
params = {}
params['ssid'] = 'as'
if "CTRL-EVENT-EAP-STARTED" in ev:
raise Exception("Unexpected EAP exchange")
+ conf = hapd.get_config()
+ if conf['key_mgmt'] != 'WPA-EAP-SUITE-B-192':
+ raise Exception("Unexpected config key_mgmt: " + conf['key_mgmt'])
+
def test_suite_b_192_radius(dev, apdev):
"""WPA2/GCMP-256 (RADIUS) connection at Suite B 192-bit level"""
check_suite_b_192_capa(dev)