tests: WNM time advertisement and interface restart

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2021-03-06 11:38:18 +02:00
parent 2da3105ac1
commit 3e735adf0b

View file

@ -1942,3 +1942,10 @@ def test_wnm_bss_transition_mgmt_disabled(dev, apdev):
raise Exception("Unexpected BSS Transition Management Response") raise Exception("Unexpected BSS Transition Management Response")
finally: finally:
dev[0].set("disable_btm", "0") dev[0].set("disable_btm", "0")
def test_wnm_time_adv_restart(dev, apdev):
"""WNM time advertisement and interface restart"""
hapd = start_wnm_ap(apdev[0], time_adv=True)
hapd.disable()
hapd.enable()
dev[0].connect("test-wnm", key_mgmt="NONE", scan_freq="2412")