mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
tests: Verify Deauthentication frame transmission to STA in PS mode
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
ccca850898
commit
bb8e191cca
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user