From ffcca901e725643cc49f8f7595eef9e6c40cbd75 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 9 Feb 2021 20:43:33 +0200 Subject: [PATCH] tests: DPP Authentication Request destination address in chirp case Signed-off-by: Jouni Malinen --- tests/hwsim/test_dpp.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/hwsim/test_dpp.py b/tests/hwsim/test_dpp.py index 2b22171d3..233c6a5a5 100644 --- a/tests/hwsim/test_dpp.py +++ b/tests/hwsim/test_dpp.py @@ -5391,6 +5391,14 @@ def test_dpp_chirp_configurator(dev, apdev): if "type=13" not in ev: raise Exception("Unexpected DPP frame received: " + ev) + ev = dev[1].wait_event(["DPP-TX"], timeout=10) + if ev is None: + raise Exception("Authentication Request TX not seen") + if "type=0" not in ev: + raise Exception("Unexpected DPP frame TX: " + ev) + if "dst=" + dev[0].own_addr() not in ev: + raise Exception("Unexpected Authentication Request destination: " + ev) + wait_auth_success(dev[0], dev[1], dev[1], dev[0]) def test_dpp_chirp_configurator_inits(dev, apdev):