From 52be7b4116f61c7a09d7ab7181284c0ff0464223 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 3 Jul 2016 17:44:45 +0300 Subject: [PATCH] tests: wpa_supplicant P2P_LO_START and P2P_LO_STOP commands Signed-off-by: Jouni Malinen --- tests/hwsim/test_wpas_ctrl.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/hwsim/test_wpas_ctrl.py b/tests/hwsim/test_wpas_ctrl.py index b97772677..c368a6991 100644 --- a/tests/hwsim/test_wpas_ctrl.py +++ b/tests/hwsim/test_wpas_ctrl.py @@ -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")