Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a3deae7 authored by Manoj Prabhu B's avatar Manoj Prabhu B Committed by Gerrit - the friendly Code Review server
Browse files

diag: Update 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 log mask ranges.

Change-Id: Iaca4f1d10e8e61db42c5dafab33c772c026b3845
Signed-off-by: default avatarManoj Prabhu B <bmanoj@codeaurora.org>
parent e9b4bea3
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -142,10 +142,10 @@
 * a new RANGE of SSIDs to the msg_mask_tbl.
 */
#define MSG_MASK_TBL_CNT		26
#define APPS_EVENT_LAST_ID		0xCB4
#define APPS_EVENT_LAST_ID		0xCB7

#define MSG_SSID_0			0
#define MSG_SSID_0_LAST			130
#define MSG_SSID_0_LAST			131
#define MSG_SSID_1			500
#define MSG_SSID_1_LAST			506
#define MSG_SSID_2			1000
@@ -348,13 +348,15 @@ static const uint32_t msg_bld_masks_0[] = {
	MSG_LVL_MED,
	MSG_LVL_HIGH,
	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_ERROR |
		MSG_LVL_FATAL,
	MSG_LVL_HIGH,
	MSG_LVL_LOW,
	MSG_LVL_MED,
	MSG_LVL_MED,
	MSG_LVL_HIGH,
	MSG_LVL_HIGH
	MSG_LVL_HIGH,
	MSG_LVL_LOW | MSG_LVL_MED | MSG_LVL_HIGH | MSG_LVL_ERROR
};

static const uint32_t msg_bld_masks_1[] = {
@@ -916,7 +918,7 @@ static const uint32_t msg_bld_masks_25[] = {
/* LOG CODES */
static const uint32_t log_code_last_tbl[] = {
	0x0,	/* EQUIP ID 0 */
	0x1CB2,	/* EQUIP ID 1 */
	0x1CC0,	/* EQUIP ID 1 */
	0x0,	/* EQUIP ID 2 */
	0x0,	/* EQUIP ID 3 */
	0x4910,	/* EQUIP ID 4 */