From: Jouni Malinen Date: Fri, 1 May 2020 20:06:33 +0000 (+0300) Subject: tests: Verify Deauthentication frame transmission to STA in PS mode X-Git-Tag: hostap_2_10~1374 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb8e191cca60756aa45500ac9c1ded30876bf406;p=thirdparty%2Fhostap.git tests: Verify Deauthentication frame transmission to STA in PS mode Signed-off-by: Jouni Malinen --- 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")