tests: SET uapsd
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
fa9e07ec6a
commit
07407c0a43
1 changed files with 15 additions and 0 deletions
|
@ -469,3 +469,18 @@ def test_wpas_ctrl_blob(dev):
|
||||||
raise Exception("Unexpected SET failure")
|
raise Exception("Unexpected SET failure")
|
||||||
if "OK" not in dev[0].request("SET blob foo 0011"):
|
if "OK" not in dev[0].request("SET blob foo 0011"):
|
||||||
raise Exception("Unexpected SET failure")
|
raise Exception("Unexpected SET failure")
|
||||||
|
|
||||||
|
def test_wpas_ctrl_set_uapsd(dev):
|
||||||
|
"""wpa_supplicant ctrl_iface SET uapsd"""
|
||||||
|
if "FAIL" not in dev[0].request("SET uapsd foo"):
|
||||||
|
raise Exception("Unexpected SET success")
|
||||||
|
if "FAIL" not in dev[0].request("SET uapsd 0,0,0"):
|
||||||
|
raise Exception("Unexpected SET success")
|
||||||
|
if "FAIL" not in dev[0].request("SET uapsd 0,0"):
|
||||||
|
raise Exception("Unexpected SET success")
|
||||||
|
if "FAIL" not in dev[0].request("SET uapsd 0"):
|
||||||
|
raise Exception("Unexpected SET success")
|
||||||
|
if "OK" not in dev[0].request("SET uapsd 0,0,0,0;0"):
|
||||||
|
raise Exception("Unexpected SET failure")
|
||||||
|
if "OK" not in dev[0].request("SET uapsd disable"):
|
||||||
|
raise Exception("Unexpected SET failure")
|
||||||
|
|
Loading…
Reference in a new issue