tests: WPA2-Enterprise connection using EAP-EKE with serverid NAI

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2015-05-24 12:48:52 +03:00
parent b4b2f300db
commit f7e3c17b68

View file

@ -1890,6 +1890,13 @@ def test_ap_wpa2_eap_eke(dev, apdev):
eap_connect(dev[0], apdev[0], "EKE", "eke user", password="hello1",
expect_failure=True)
def test_ap_wpa2_eap_eke_serverid_nai(dev, apdev):
"""WPA2-Enterprise connection using EAP-EKE with serverid NAI"""
params = int_eap_server_params()
params['server_id'] = 'example.server@w1.fi'
hostapd.add_ap(apdev[0]['ifname'], params)
eap_connect(dev[0], apdev[0], "EKE", "eke user", password="hello")
def test_ap_wpa2_eap_ikev2(dev, apdev):
"""WPA2-Enterprise connection using EAP-IKEv2"""
params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap")