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

Commit 8dae1f1a authored by Ravi Aravamudhan's avatar Ravi Aravamudhan
Browse files

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: Iaee6f96d31cb602e62a5036a8cebbdb903a02191
Signed-off-by: default avatarRavi Aravamudhan <aravamud@codeaurora.org>
parent 7e314d1f
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -136,10 +136,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		0x0A39
#define APPS_EVENT_LAST_ID		0x0A70

#define MSG_SSID_0			0
#define MSG_SSID_0_LAST			107
#define MSG_SSID_0_LAST			111
#define MSG_SSID_1			500
#define MSG_SSID_1_LAST			506
#define MSG_SSID_2			1000
@@ -175,7 +175,7 @@ the appropriate macros. */
#define MSG_SSID_17			9000
#define MSG_SSID_17_LAST		9008
#define MSG_SSID_18			9500
#define MSG_SSID_18_LAST		9509
#define MSG_SSID_18_LAST		9510
#define MSG_SSID_19			10200
#define MSG_SSID_19_LAST		10210
#define MSG_SSID_20			10251
@@ -185,7 +185,7 @@ the appropriate macros. */
#define MSG_SSID_22			10350
#define MSG_SSID_22_LAST		10377
#define MSG_SSID_23			10400
#define MSG_SSID_23_LAST		10414
#define MSG_SSID_23_LAST		10415
#define MSG_SSID_24			0xC000
#define MSG_SSID_24_LAST		0xC063

@@ -314,7 +314,11 @@ static const uint32_t msg_bld_masks_0[] = {
	MSG_LVL_MED|MSG_LVL_HIGH,
	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_HIGH,
	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
};

static const uint32_t msg_bld_masks_1[] = {
@@ -695,6 +699,7 @@ static const uint32_t msg_bld_masks_18[] = {
		MSG_MASK_6 | MSG_MASK_7 | MSG_MASK_8 | MSG_MASK_9,
	MSG_LVL_LOW,
	MSG_LVL_LOW,
	MSG_LVL_LOW,
	MSG_LVL_LOW
};

@@ -770,13 +775,14 @@ static const uint32_t msg_bld_masks_23[] = {
	MSG_LVL_LOW,
	MSG_LVL_LOW,
	MSG_LVL_LOW,
	MSG_LVL_LOW,
	MSG_LVL_LOW
};

/* LOG CODES */
static const uint32_t log_code_last_tbl[] = {
	0x0,	/* EQUIP ID 0 */
	0x188F,	/* EQUIP ID 1 */
	0x18A4,	/* EQUIP ID 1 */
	0x0,	/* EQUIP ID 2 */
	0x0,	/* EQUIP ID 3 */
	0x4910,	/* EQUIP ID 4 */