]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: DPP Authentication Request destination address in chirp case
authorJouni Malinen <jouni@codeaurora.org>
Tue, 9 Feb 2021 18:43:33 +0000 (20:43 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 9 Feb 2021 18:43:33 +0000 (20:43 +0200)
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_dpp.py

index 2b22171d3d505f68fefa725e1b2bb3a9d48f2da3..233c6a5a596aaba2c51cca15163e5a7a48c174c5 100644 (file)
@@ -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):