diag: Add new diag logging mask definitions
Extend build mask range and define logging levels for SSID range 0.
Update event and log mask last ids to support latest
logging mask ranges.
Change-Id: I73baecf34d8b39e4f9e29d369e00862178b192ab
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
diff --git a/include/linux/diagchar.h b/include/linux/diagchar.h
index 90e8394..9a181d4 100644
--- a/include/linux/diagchar.h
+++ b/include/linux/diagchar.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008-2019, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2008-2020, 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
@@ -148,10 +148,10 @@
* a new RANGE of SSIDs to the msg_mask_tbl.
*/
#define MSG_MASK_TBL_CNT 26
-#define APPS_EVENT_LAST_ID 0xCB7
+#define APPS_EVENT_LAST_ID 0xCB9
#define MSG_SSID_0 0
-#define MSG_SSID_0_LAST 131
+#define MSG_SSID_0_LAST 132
#define MSG_SSID_1 500
#define MSG_SSID_1_LAST 506
#define MSG_SSID_2 1000
@@ -362,7 +362,8 @@
MSG_LVL_MED,
MSG_LVL_HIGH,
MSG_LVL_HIGH,
- MSG_LVL_LOW | MSG_LVL_MED | MSG_LVL_HIGH | MSG_LVL_ERROR
+ MSG_LVL_LOW | MSG_LVL_MED | MSG_LVL_HIGH | MSG_LVL_ERROR,
+ MSG_LVL_HIGH
};
static const uint32_t msg_bld_masks_1[] = {
@@ -924,7 +925,7 @@
/* LOG CODES */
static const uint32_t log_code_last_tbl[] = {
0x0, /* EQUIP ID 0 */
- 0x1CC0, /* EQUIP ID 1 */
+ 0x1CC6, /* EQUIP ID 1 */
0x0, /* EQUIP ID 2 */
0x0, /* EQUIP ID 3 */
0x4910, /* EQUIP ID 4 */