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>
This commit is contained in:
parent
ea57b0bcfe
commit
f40f8860d2
1 changed files with 2 additions and 0 deletions
|
@ -5867,6 +5867,7 @@ def test_ap_hs20_unexpected(dev, apdev):
|
||||||
params['wpa'] = "3"
|
params['wpa'] = "3"
|
||||||
params['wpa_pairwise'] = "TKIP CCMP"
|
params['wpa_pairwise'] = "TKIP CCMP"
|
||||||
params['rsn_pairwise'] = "CCMP"
|
params['rsn_pairwise'] = "CCMP"
|
||||||
|
params['ieee80211w'] = "1"
|
||||||
#params['vendor_elements'] = 'dd07506f9a10140000'
|
#params['vendor_elements'] = 'dd07506f9a10140000'
|
||||||
params['vendor_elements'] = 'dd04506f9a10'
|
params['vendor_elements'] = 'dd04506f9a10'
|
||||||
hostapd.add_ap(apdev[0], params)
|
hostapd.add_ap(apdev[0], params)
|
||||||
|
@ -5890,6 +5891,7 @@ def test_ap_hs20_unexpected(dev, apdev):
|
||||||
dev[2].hs20_enable()
|
dev[2].hs20_enable()
|
||||||
dev[2].scan_for_bss(bssid, freq="2412")
|
dev[2].scan_for_bss(bssid, freq="2412")
|
||||||
dev[2].connect("test-hs20-fake", key_mgmt="WPA-EAP", eap="TTLS",
|
dev[2].connect("test-hs20-fake", key_mgmt="WPA-EAP", eap="TTLS",
|
||||||
|
ieee80211w="1",
|
||||||
proto="RSN", pairwise="CCMP",
|
proto="RSN", pairwise="CCMP",
|
||||||
identity="hs20-test", password="password",
|
identity="hs20-test", password="password",
|
||||||
ca_cert="auth_serv/ca.pem", phase2="auth=MSCHAPV2",
|
ca_cert="auth_serv/ca.pem", phase2="auth=MSCHAPV2",
|
||||||
|
|
Loading…
Reference in a new issue