From bb8e191cca60756aa45500ac9c1ded30876bf406 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 1 May 2020 23:06:33 +0300 Subject: [PATCH] tests: Verify Deauthentication frame transmission to STA in PS mode Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_open.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/hwsim/test_ap_open.py b/tests/hwsim/test_ap_open.py index 442868273..62b44461b 100644 --- a/tests/hwsim/test_ap_open.py +++ b/tests/hwsim/test_ap_open.py @@ -528,6 +528,11 @@ def run_ap_open_sta_ps(dev, hapd): if not ok: raise Exception("STA did not enter power save") + + dev[0].dump_monitor() + hapd.dump_monitor() + hapd.request("DEAUTHENTICATE " + dev[0].own_addr()) + dev[0].wait_disconnected() except FileNotFoundError: raise HwsimSkip("Kernel does not support inspecting HW PS state")