aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-11-29 10:12:31 (GMT)
committerJouni Malinen <j@w1.fi>2017-11-29 10:12:31 (GMT)
commite6a6de2994aac608ecdeba59a82b5d17b5e55bc8 (patch)
tree2b16c0f0214e59a63b4ef80c2c8be0be5673b3a6
parent634a130a525580e07afc8553531d38d6c78bbb03 (diff)
downloadhostap-e6a6de2994aac608ecdeba59a82b5d17b5e55bc8.zip
hostap-e6a6de2994aac608ecdeba59a82b5d17b5e55bc8.tar.gz
hostap-e6a6de2994aac608ecdeba59a82b5d17b5e55bc8.tar.bz2
tests: Generate DPP Config Object for legacy network (PSK)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
-rw-r--r--tests/hwsim/test_dpp.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/hwsim/test_dpp.py b/tests/hwsim/test_dpp.py
index 901a929..5898d77 100644
--- a/tests/hwsim/test_dpp.py
+++ b/tests/hwsim/test_dpp.py
@@ -890,6 +890,12 @@ def test_dpp_config_legacy_gen(dev, apdev):
init_extra="conf=sta-psk pass=%s" % "passphrase".encode("hex"),
require_conf_success=True)
+def test_dpp_config_legacy_gen_psk(dev, apdev):
+ """Generate DPP Config Object for legacy network (PSK)"""
+ run_dpp_qr_code_auth_unicast(dev, apdev, "prime256v1",
+ init_extra="conf=sta-psk psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
+ require_conf_success=True)
+
def test_dpp_config_dpp_gen_prime256v1(dev, apdev):
"""Generate DPP Config Object for DPP network (P-256)"""
run_dpp_qr_code_auth_unicast(dev, apdev, "prime256v1",