]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: WPA2-Enterprise connection using EAP-GPSK and wildcard SSID
authorJouni Malinen <j@w1.fi>
Sun, 19 Jun 2016 19:41:23 +0000 (22:41 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 19 Jun 2016 19:41:23 +0000 (22:41 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_eap.py

index d6365a4777d8576892b0564a59edb1fd84a8eeb3..a0e25ef77528aad7fd4244f0443b1d068ed09813 100644 (file)
@@ -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")