tests: wpa_supplicant P2P_LO_START and P2P_LO_STOP commands
authorJouni Malinen <j@w1.fi>
Sun, 3 Jul 2016 14:44:45 +0000 (17:44 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 3 Jul 2016 19:37:00 +0000 (22:37 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_wpas_ctrl.py

index b977726..c368a69 100644 (file)
@@ -1950,3 +1950,11 @@ def test_wpas_ctrl_signal_monitor(dev, apdev):
     dev[0].request("REMOVE_NETWORK all")
     dev[1].request("REMOVE_NETWORK all")
     dev[1].wait_disconnected()
+
+def test_wpas_ctrl_p2p_listen_offload(dev, apdev):
+    """wpa_supplicant P2P_LO_START and P2P_LO_STOP commands"""
+    dev[0].request("P2P_LO_STOP")
+    dev[0].request("P2P_LO_START ")
+    dev[0].request("P2P_LO_START 2412")
+    dev[0].request("P2P_LO_START 2412 100 200 3")
+    dev[0].request("P2P_LO_STOP")