From 2833743d4c747a8ccfb7d5ec4f28360ffff57b61 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 19 Jun 2016 22:41:23 +0300 Subject: [PATCH] tests: WPA2-Enterprise connection using EAP-GPSK and wildcard SSID Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_eap.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/hwsim/test_ap_eap.py b/tests/hwsim/test_ap_eap.py index d6365a477..a0e25ef77 100644 --- a/tests/hwsim/test_ap_eap.py +++ b/tests/hwsim/test_ap_eap.py @@ -5943,3 +5943,12 @@ def test_ap_wpa2_eap_gpsk_ptk_rekey_ap(dev, apdev): if ev is None: raise Exception("PTK rekey timed out") hwsim_utils.test_connectivity(dev[0], hapd) + +def test_ap_wpa2_eap_wildcard_ssid(dev, apdev): + """WPA2-Enterprise connection using EAP-GPSK and wildcard SSID""" + params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap") + hapd = hostapd.add_ap(apdev[0], params) + dev[0].connect(bssid=apdev[0]['bssid'], key_mgmt="WPA-EAP", eap="GPSK", + identity="gpsk user", + password="abcdefghijklmnop0123456789abcdef", + scan_freq="2412")