tests: DPP Authentication Request destination address in chirp case

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2021-02-09 20:43:33 +02:00 committed by Jouni Malinen
parent ad59639ed8
commit ffcca901e7

View file

@ -5391,6 +5391,14 @@ def test_dpp_chirp_configurator(dev, apdev):
if "type=13" not in ev: if "type=13" not in ev:
raise Exception("Unexpected DPP frame received: " + 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]) wait_auth_success(dev[0], dev[1], dev[1], dev[0])
def test_dpp_chirp_configurator_inits(dev, apdev): def test_dpp_chirp_configurator_inits(dev, apdev):