diag: Add support for sending DIAG_CTRL_MSG_DIAG_MODE
Currently, APPS diag does not support sending mode control message
to any processor. This command notifies the diag software on the
peripheral if it is to run in real-time or non-real-time mode. Add
support for sending the mode control message to the modem and wcnss.
Change-Id: Ia390e7f8fbb4601b5f62656cdc53ab5f8cc89826
Signed-off-by: Dixon Peterson <dixonp@codeaurora.org>
diff --git a/include/linux/diagchar.h b/include/linux/diagchar.h
index d208f1e..7939832 100644
--- a/include/linux/diagchar.h
+++ b/include/linux/diagchar.h
@@ -26,6 +26,7 @@
#define UART_MODE 4
#define SOCKET_MODE 5
#define CALLBACK_MODE 6
+#define MEMORY_DEVICE_MODE_NRT 7
/* different values that go in for diag_data_type */
#define DATA_TYPE_EVENT 0
#define DATA_TYPE_F3 1