aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-12-08 11:14:11 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-08 12:06:58 (GMT)
commitf40f8860d2415f3d1ccfe2d1105c0b26294430ba (patch)
treeb3ea702092ff725c2abb86edb578057890121d5b /tests
parentea57b0bcfe2cc2577976f1d27472805a8fa05228 (diff)
downloadhostap-f40f8860d2415f3d1ccfe2d1105c0b26294430ba.zip
hostap-f40f8860d2415f3d1ccfe2d1105c0b26294430ba.tar.gz
hostap-f40f8860d2415f3d1ccfe2d1105c0b26294430ba.tar.bz2
tests: Enable PMF in ap_hs20_unexpected configuration
This is needed to meet the Hotspot 2.0 Release 2 requirement for the third station that is actually using RSN. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_ap_hs20.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py
index 51809c8..a241a34 100644
--- a/tests/hwsim/test_ap_hs20.py
+++ b/tests/hwsim/test_ap_hs20.py
@@ -5867,6 +5867,7 @@ def test_ap_hs20_unexpected(dev, apdev):
params['wpa'] = "3"
params['wpa_pairwise'] = "TKIP CCMP"
params['rsn_pairwise'] = "CCMP"
+ params['ieee80211w'] = "1"
#params['vendor_elements'] = 'dd07506f9a10140000'
params['vendor_elements'] = 'dd04506f9a10'
hostapd.add_ap(apdev[0], params)
@@ -5890,6 +5891,7 @@ def test_ap_hs20_unexpected(dev, apdev):
dev[2].hs20_enable()
dev[2].scan_for_bss(bssid, freq="2412")
dev[2].connect("test-hs20-fake", key_mgmt="WPA-EAP", eap="TTLS",
+ ieee80211w="1",
proto="RSN", pairwise="CCMP",
identity="hs20-test", password="password",
ca_cert="auth_serv/ca.pem", phase2="auth=MSCHAPV2",