]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: wpa_supplicant sched_scan_plans parsing
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 30 Nov 2015 12:01:40 +0000 (14:01 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 30 Nov 2015 12:03:29 +0000 (14:03 +0200)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_wpas_ctrl.py

index 5395d3fc98f577c201f0ab18d5e2d6cce765d4ce..1b398e3124ffc1bcee49ccdcffc9277c19528e78 100644 (file)
@@ -1905,3 +1905,9 @@ def test_wpas_ctrl_event_burst(dev, apdev):
 
     if not dev[0].ping():
         raise Exception("Could not ping wpa_supplicant at the end of the test")
+
+def test_wpas_ctrl_sched_scan_plans(dev, apdev):
+    """wpa_supplicant sched_scan_plans parsing"""
+    dev[0].request("SET sched_scan_plans foo")
+    dev[0].request("SET sched_scan_plans 10:100 20:200 30")
+    dev[0].request("SET sched_scan_plans ")