Add commands indicating start/stop test and log fetch

This adds empty implementation of dev_start_test, dev_stop_test, and
dev_get_log to work with test scripts that use the new commands with
some devices.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
diff --git a/dev.c b/dev.c
index 4b6f833..5fe57db 100644
--- a/dev.c
+++ b/dev.c
@@ -1,6 +1,7 @@
 /*
  * Sigma Control API DUT (station/AP/sniffer)
  * Copyright (c) 2011-2013, 2017, Qualcomm Atheros, Inc.
+ * Copyright (c) 2018, The Linux Foundation
  * All Rights Reserved.
  * Licensed under the Clear BSD license. See README for more details.
  */
@@ -103,6 +104,27 @@
 }
 
 
+static int cmd_dev_start_test(struct sigma_dut *dut, struct sigma_conn *conn,
+			      struct sigma_cmd *cmd)
+{
+	return 1;
+}
+
+
+static int cmd_dev_stop_test(struct sigma_dut *dut, struct sigma_conn *conn,
+			     struct sigma_cmd *cmd)
+{
+	return 1;
+}
+
+
+static int cmd_dev_get_log(struct sigma_dut *dut, struct sigma_conn *conn,
+			   struct sigma_cmd *cmd)
+{
+	return 1;
+}
+
+
 static int req_intf(struct sigma_cmd *cmd)
 {
 	return get_param(cmd, "interface") == NULL ? -1 : 0;
@@ -135,4 +157,7 @@
 	sigma_dut_reg_cmd("dev_exec_action", req_prog,
 			  cmd_dev_exec_action);
 	sigma_dut_reg_cmd("dev_configure_ie", req_intf, cmd_dev_configure_ie);
+	sigma_dut_reg_cmd("dev_start_test", NULL, cmd_dev_start_test);
+	sigma_dut_reg_cmd("dev_stop_test", NULL, cmd_dev_stop_test);
+	sigma_dut_reg_cmd("dev_get_log", NULL, cmd_dev_get_log);
 }