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
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue