]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: SET pno freq parameter
authorJouni Malinen <j@w1.fi>
Sun, 6 Apr 2014 12:55:18 +0000 (15:55 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 6 Apr 2014 21:56:04 +0000 (00:56 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_wpas_ctrl.py

index e6f54e39a19477680117990d4f80dde938d5a214..e4403cc26c08b90f278ed306e79d7b677797ad71 100644 (file)
@@ -310,6 +310,10 @@ def test_wpas_ctrl_pno(dev):
     #mac80211_hwsim does not yet support PNO, so this fails
     if "FAIL" not in dev[0].request("SET pno 1"):
         raise Exception("Unexpected success in enabling PNO")
+    if "FAIL" not in dev[0].request("SET pno 1 freq=2000-3000,5180"):
+        raise Exception("Unexpected success in enabling PNO")
+    if "FAIL" not in dev[0].request("SET pno 1 freq=0-6000"):
+        raise Exception("Unexpected success in enabling PNO")
     if "FAIL" in dev[0].request("SET pno 0"):
         raise Exception("Unexpected failure in disabling PNO")