tests: Generate DPP Config Object for legacy network (PSK)

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2017-11-29 12:12:31 +02:00 committed by Jouni Malinen
parent 634a130a52
commit e6a6de2994

View File

@ -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",