From: Jouni Malinen Date: Sun, 11 May 2014 17:54:15 +0000 (+0300) Subject: tests: EAP-pwd with server fragmenting messages X-Git-Tag: hostap_2_2~153 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ba89e0a3277b80500564be28c07bfc524e4638c;p=thirdparty%2Fhostap.git tests: EAP-pwd with server fragmenting messages Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_eap.py b/tests/hwsim/test_ap_eap.py index c1c365585..af5b68e63 100644 --- a/tests/hwsim/test_ap_eap.py +++ b/tests/hwsim/test_ap_eap.py @@ -965,6 +965,16 @@ def test_ap_wpa2_eap_pwd_invalid_group(dev, apdev): if ev is None: raise Exception("Timeout on EAP failure report") +def test_ap_wpa2_eap_pwd_as_frag(dev, apdev): + """WPA2-Enterprise connection using EAP-pwd with server fragmentation""" + params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap") + params = { "ssid": "test-wpa2-eap", "wpa": "2", "wpa_key_mgmt": "WPA-EAP", + "rsn_pairwise": "CCMP", "ieee8021x": "1", + "eap_server": "1", "eap_user_file": "auth_serv/eap_user.conf", + "pwd_group": "19", "fragment_size": "40" } + hostapd.add_ap(apdev[0]['ifname'], params) + eap_connect(dev[0], apdev[0], "PWD", "pwd user", password="secret password") + def test_ap_wpa2_eap_gpsk(dev, apdev): """WPA2-Enterprise connection using EAP-GPSK""" params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap")