diag: Update SSIDs, event ids and log codes
The SSIDs, event IDs and log codes have fallen out of date.
Bring the SSIDs, event IDs and log codes up to date.
Change-Id: I8e6a2af8baba359f32a489ddc06f619de826f97b
Signed-off-by: Ravi Aravamudhan <aravamud@codeaurora.org>
diff --git a/include/linux/diagchar.h b/include/linux/diagchar.h
index cfed99f..422efaa 100644
--- a/include/linux/diagchar.h
+++ b/include/linux/diagchar.h
@@ -117,11 +117,11 @@
/* This needs to be modified manually now, when we add
a new RANGE of SSIDs to the msg_mask_tbl */
-#define MSG_MASK_TBL_CNT 24
-#define EVENT_LAST_ID 0x09B2
+#define MSG_MASK_TBL_CNT 25
+#define EVENT_LAST_ID 0x0A22
#define MSG_SSID_0 0
-#define MSG_SSID_0_LAST 97
+#define MSG_SSID_0_LAST 105
#define MSG_SSID_1 500
#define MSG_SSID_1_LAST 506
#define MSG_SSID_2 1000
@@ -135,7 +135,7 @@
#define MSG_SSID_6 4500
#define MSG_SSID_6_LAST 4526
#define MSG_SSID_7 4600
-#define MSG_SSID_7_LAST 4613
+#define MSG_SSID_7_LAST 4615
#define MSG_SSID_8 5000
#define MSG_SSID_8_LAST 5029
#define MSG_SSID_9 5500
@@ -166,8 +166,10 @@
#define MSG_SSID_21_LAST 10300
#define MSG_SSID_22 10350
#define MSG_SSID_22_LAST 10377
-#define MSG_SSID_23 0xC000
-#define MSG_SSID_23_LAST 0xC063
+#define MSG_SSID_23 10400
+#define MSG_SSID_23_LAST 10414
+#define MSG_SSID_24 0xC000
+#define MSG_SSID_24_LAST 0xC063
struct diagpkt_delay_params {
void *rsp_ptr;
@@ -290,7 +292,15 @@
MSG_LVL_LOW,
MSG_LVL_LOW,
MSG_LVL_LOW|MSG_LVL_MED|MSG_LVL_HIGH|MSG_LVL_ERROR|MSG_LVL_FATAL,
- MSG_LVL_LOW
+ MSG_LVL_MED,
+ MSG_LVL_HIGH,
+ MSG_LVL_LOW,
+ MSG_LVL_HIGH,
+ MSG_LVL_LOW|MSG_LVL_MED|MSG_LVL_HIGH|MSG_LVL_ERROR|MSG_LVL_FATAL,
+ MSG_LVL_MED|MSG_LVL_HIGH|MSG_LVL_ERROR,
+ MSG_LVL_MED|MSG_LVL_HIGH|MSG_LVL_ERROR,
+ MSG_LVL_MED|MSG_LVL_HIGH,
+ MSG_LVL_MED|MSG_LVL_HIGH
};
static const uint32_t msg_bld_masks_1[] = {
@@ -403,7 +413,9 @@
MSG_LVL_MED,
MSG_LVL_MED,
MSG_LVL_LOW,
- MSG_LVL_LOW
+ MSG_LVL_LOW,
+ MSG_LVL_LOW,
+ MSG_LVL_LOW|MSG_LVL_MED|MSG_LVL_HIGH|MSG_LVL_ERROR|MSG_LVL_FATAL
};
static const uint32_t msg_bld_masks_8[] = {
@@ -725,10 +737,28 @@
MSG_LVL_LOW
};
+static const uint32_t msg_bld_masks_23[] = {
+ MSG_LVL_LOW,
+ MSG_LVL_LOW,
+ MSG_LVL_LOW,
+ MSG_LVL_LOW,
+ MSG_LVL_LOW,
+ MSG_LVL_LOW,
+ MSG_LVL_LOW,
+ MSG_LVL_LOW,
+ MSG_LVL_LOW,
+ MSG_LVL_LOW,
+ MSG_LVL_LOW,
+ MSG_LVL_LOW,
+ MSG_LVL_LOW,
+ MSG_LVL_LOW,
+ MSG_LVL_LOW
+};
+
/* LOG CODES */
#define LOG_0 0x0
-#define LOG_1 0x17FA
+#define LOG_1 0x1871
#define LOG_2 0x0
#define LOG_3 0x0
#define LOG_4 0x4910