From 2f5d0a0b8d86b25a29134ac2f0fbd7a9dec98116 Mon Sep 17 00:00:00 2001 From: Ravi Aravamudhan Date: Mon, 20 Apr 2015 11:44:51 -0700 Subject: [PATCH] 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: I26199a2c20b12e82b55bbce54f8d95bba9765f25 Signed-off-by: Ravi Aravamudhan --- include/linux/diagchar.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/include/linux/diagchar.h b/include/linux/diagchar.h index 12990558b58b..1266d227c0ea 100644 --- a/include/linux/diagchar.h +++ b/include/linux/diagchar.h @@ -140,10 +140,10 @@ the appropriate macros. */ /* 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 25 -#define APPS_EVENT_LAST_ID 0x0A8D +#define APPS_EVENT_LAST_ID 0x0AA2 #define MSG_SSID_0 0 -#define MSG_SSID_0_LAST 115 +#define MSG_SSID_0_LAST 116 #define MSG_SSID_1 500 #define MSG_SSID_1_LAST 506 #define MSG_SSID_2 1000 @@ -163,7 +163,7 @@ the appropriate macros. */ #define MSG_SSID_9 5500 #define MSG_SSID_9_LAST 5516 #define MSG_SSID_10 6000 -#define MSG_SSID_10_LAST 6080 +#define MSG_SSID_10_LAST 6081 #define MSG_SSID_11 6500 #define MSG_SSID_11_LAST 6521 #define MSG_SSID_12 7000 @@ -326,7 +326,11 @@ static const uint32_t msg_bld_masks_0[] = { MSG_LVL_LOW, MSG_LVL_MED, 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_ERROR|MSG_LVL_FATAL + MSG_LVL_LOW|MSG_LVL_MED|MSG_LVL_HIGH|MSG_LVL_ERROR|MSG_LVL_FATAL, + MSG_LVL_MED, + 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_ERROR|MSG_LVL_FATAL, + MSG_LVL_MED }; static const uint32_t msg_bld_masks_1[] = { @@ -586,7 +590,8 @@ static const uint32_t msg_bld_masks_10[] = { MSG_LVL_LOW, MSG_LVL_LOW, MSG_LVL_LOW, - MSG_LVL_LOW + MSG_LVL_LOW, + MSG_LVL_MED }; static const uint32_t msg_bld_masks_11[] = { @@ -795,7 +800,7 @@ static const uint32_t msg_bld_masks_23[] = { /* LOG CODES */ static const uint32_t log_code_last_tbl[] = { 0x0, /* EQUIP ID 0 */ - 0x18C6, /* EQUIP ID 1 */ + 0x18DE, /* EQUIP ID 1 */ 0x0, /* EQUIP ID 2 */ 0x0, /* EQUIP ID 3 */ 0x4910, /* EQUIP ID 4 */