aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-12-17 15:20:32 (GMT)
committerJouni Malinen <j@w1.fi>2016-12-17 20:08:25 (GMT)
commitf82bc83264e496cc8eac6f792e4099ed29f199d3 (patch)
tree93bdd5efb3a98344f941aa35606842b722826613
parent26bf70e3d2af681e1761b0cee00b9ef4c6f37347 (diff)
downloadhostap-f82bc83264e496cc8eac6f792e4099ed29f199d3.zip
hostap-f82bc83264e496cc8eac6f792e4099ed29f199d3.tar.gz
hostap-f82bc83264e496cc8eac6f792e4099ed29f199d3.tar.bz2
tests: Add fils_realm for existing FILS test cases
Signed-off-by: Jouni Malinen <j@w1.fi>
-rw-r--r--tests/hwsim/test_fils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/hwsim/test_fils.py b/tests/hwsim/test_fils.py
index fddff81..b89d8b1 100644
--- a/tests/hwsim/test_fils.py
+++ b/tests/hwsim/test_fils.py
@@ -32,6 +32,7 @@ def test_fils_sk_full_auth(dev, apdev):
params['auth_server_port'] = "18128"
params['erp_send_reauth_start'] = '1'
params['erp_domain'] = 'example.com'
+ params['fils_realm'] = 'example.com'
params['wpa_group_rekey'] = '1'
hapd = hostapd.add_ap(apdev[0]['ifname'], params)
@@ -75,6 +76,7 @@ def test_fils_sk_sha384_full_auth(dev, apdev):
params['auth_server_port'] = "18128"
params['erp_send_reauth_start'] = '1'
params['erp_domain'] = 'example.com'
+ params['fils_realm'] = 'example.com'
params['wpa_group_rekey'] = '1'
hapd = hostapd.add_ap(apdev[0]['ifname'], params)
@@ -117,6 +119,7 @@ def test_fils_sk_pmksa_caching(dev, apdev):
params['wpa_key_mgmt'] = "FILS-SHA256"
params['auth_server_port'] = "18128"
params['erp_domain'] = 'example.com'
+ params['fils_realm'] = 'example.com'
hapd = hostapd.add_ap(apdev[0]['ifname'], params)
dev[0].scan_for_bss(bssid, freq=2412)
@@ -170,6 +173,7 @@ def test_fils_sk_erp(dev, apdev):
params['wpa_key_mgmt'] = "FILS-SHA256"
params['auth_server_port'] = "18128"
params['erp_domain'] = 'example.com'
+ params['fils_realm'] = 'example.com'
params['disable_pmksa_caching'] = '1'
hapd = hostapd.add_ap(apdev[0]['ifname'], params)