tests: DPP protocol testing - Auth Conf replaced by Res
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
762fb4f066
commit
3eae3ee2e3
1 changed files with 9 additions and 0 deletions
|
@ -2651,6 +2651,15 @@ def test_dpp_proto_auth_conf_i_auth_mismatch(dev, apdev):
|
|||
if "Mismatching Initiator Authenticating Tag" not in ev:
|
||||
raise Excception("Unexpected failure: " + ev)
|
||||
|
||||
def test_dpp_proto_auth_conf_replaced_by_resp(dev, apdev):
|
||||
"""DPP protocol testing - Auth Conf replaced by Resp"""
|
||||
run_dpp_proto_init(dev, 1, 65, mutual=True)
|
||||
ev = dev[0].wait_event(["DPP-FAIL"], timeout=5)
|
||||
if ev is None:
|
||||
raise Exception("DPP failure not seen")
|
||||
if "Unexpected Authentication Response" not in ev:
|
||||
raise Excception("Unexpected failure: " + ev)
|
||||
|
||||
def run_dpp_proto_conf_req_missing(dev, test, reason):
|
||||
run_dpp_proto_init(dev, 0, test)
|
||||
ev = dev[1].wait_event(["DPP-FAIL"], timeout=5)
|
||||
|
|
Loading…
Reference in a new issue