diff options
| author | Manoj Prabhu B <bmanoj@codeaurora.org> | 2019-02-01 12:46:51 +0530 |
|---|---|---|
| committer | Manoj Prabhu B <bmanoj@codeaurora.org> | 2019-04-10 14:18:07 +0530 |
| commit | e776f64726836f4fc45f8e57496982296fa45d4c (patch) | |
| tree | 6890c51c1b1891237eb9a83ef77825dc3d0c695c /include/linux | |
| parent | 9ec08ea59b839ac61ee6fcd9f073e713d35fe3e8 (diff) | |
diag: Update new msg, log and event logging codes
New requirement of logging enablement for new msg SSIDs,
logs and events mask codes are added.
Change-Id: I00522d93dad690fd31ce1058dcdb71364edbe738
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/diagchar.h | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/include/linux/diagchar.h b/include/linux/diagchar.h index ec9e2edda345..3ae123acbaaa 100644 --- a/include/linux/diagchar.h +++ b/include/linux/diagchar.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2018, The Linux Foundation. All rights reserved. +/* Copyright (c) 2008-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -145,10 +145,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 26 -#define APPS_EVENT_LAST_ID 0xC92 +#define APPS_EVENT_LAST_ID 0xCA7 #define MSG_SSID_0 0 -#define MSG_SSID_0_LAST 129 +#define MSG_SSID_0_LAST 130 #define MSG_SSID_1 500 #define MSG_SSID_1_LAST 506 #define MSG_SSID_2 1000 @@ -166,7 +166,7 @@ the appropriate macros. */ #define MSG_SSID_8 5000 #define MSG_SSID_8_LAST 5036 #define MSG_SSID_9 5500 -#define MSG_SSID_9_LAST 5516 +#define MSG_SSID_9_LAST 5517 #define MSG_SSID_10 6000 #define MSG_SSID_10_LAST 6081 #define MSG_SSID_11 6500 @@ -346,6 +346,7 @@ static const uint32_t msg_bld_masks_0[] = { MSG_LVL_LOW, MSG_LVL_MED, MSG_LVL_MED, + MSG_LVL_HIGH, MSG_LVL_HIGH }; @@ -566,23 +567,24 @@ static const uint32_t msg_bld_masks_8[] = { }; static const uint32_t msg_bld_masks_9[] = { - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5, - MSG_LVL_MED|MSG_MASK_5 + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_MED | MSG_MASK_5, + MSG_LVL_LOW }; static const uint32_t msg_bld_masks_10[] = { @@ -908,7 +910,7 @@ static const uint32_t msg_bld_masks_25[] = { /* LOG CODES */ static const uint32_t log_code_last_tbl[] = { 0x0, /* EQUIP ID 0 */ - 0x1C7B, /* EQUIP ID 1 */ + 0x1C94, /* EQUIP ID 1 */ 0x0, /* EQUIP ID 2 */ 0x0, /* EQUIP ID 3 */ 0x4910, /* EQUIP ID 4 */ |
