From: Jouni Malinen Date: Tue, 9 Feb 2021 18:43:33 +0000 (+0200) Subject: tests: DPP Authentication Request destination address in chirp case X-Git-Tag: hostap_2_10~594 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffcca901e725643cc49f8f7595eef9e6c40cbd75;p=thirdparty%2Fhostap.git tests: DPP Authentication Request destination address in chirp case Signed-off-by: Jouni Malinen --- 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):