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

Commit 3ffde7e3 authored by Ravi Aravamudhan's avatar Ravi Aravamudhan
Browse files

diag: Bring SSIDs, Event Ids and Log Codes up to date



Diag ssids, event ids and log codes on the Apps were out of date.
This patch adds the new ssids, event ids and log codes.

Change-Id: Iccdaaea1620031a8e5bbe5ac99df26ff5ed653f8
Signed-off-by: default avatarRavi Aravamudhan <aravamud@codeaurora.org>
parent af83c6c7
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -129,10 +129,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		24
#define EVENT_LAST_ID			0x09D8
#define EVENT_LAST_ID			0x09F6

#define MSG_SSID_0			0
#define MSG_SSID_0_LAST			100
#define MSG_SSID_0_LAST			101
#define MSG_SSID_1			500
#define MSG_SSID_1_LAST			506
#define MSG_SSID_2			1000
@@ -148,7 +148,7 @@ the appropriate macros. */
#define MSG_SSID_7			4600
#define MSG_SSID_7_LAST			4614
#define MSG_SSID_8			5000
#define MSG_SSID_8_LAST			5030
#define MSG_SSID_8_LAST			5031
#define MSG_SSID_9			5500
#define MSG_SSID_9_LAST			5516
#define MSG_SSID_10			6000
@@ -176,7 +176,7 @@ the appropriate macros. */
#define MSG_SSID_21			10300
#define MSG_SSID_21_LAST		10300
#define MSG_SSID_22			10350
#define MSG_SSID_22_LAST		10374
#define MSG_SSID_22_LAST		10377
#define MSG_SSID_23			0xC000
#define MSG_SSID_23_LAST		0xC063

@@ -305,6 +305,7 @@ static const uint32_t msg_bld_masks_0[] = {
	MSG_LVL_HIGH,
	MSG_LVL_LOW,
	MSG_LVL_HIGH,
	MSG_LVL_HIGH
};

static const uint32_t msg_bld_masks_1[] = {
@@ -334,7 +335,8 @@ static const uint32_t msg_bld_masks_3[] = {
	MSG_LVL_MED,
	MSG_LVL_MED,
	MSG_LVL_MED,
	MSG_LVL_MED,
	MSG_LVL_MED|MSG_MASK_5|MSG_MASK_6|MSG_MASK_7|
			MSG_MASK_8|MSG_MASK_9|MSG_MASK_10,
	MSG_LVL_MED,
	MSG_LVL_MED,
	MSG_LVL_MED
@@ -452,6 +454,7 @@ static const uint32_t msg_bld_masks_8[] = {
	MSG_LVL_MED,
	MSG_LVL_MED,
	MSG_LVL_MED,
	MSG_LVL_MED,
	MSG_LVL_MED
};

@@ -736,13 +739,16 @@ static const uint32_t msg_bld_masks_22[] = {
	MSG_LVL_LOW,
	MSG_LVL_LOW,
	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 */
	0x182F,	/* EQUIP ID 1 */
	0x184A,	/* EQUIP ID 1 */
	0x0,	/* EQUIP ID 2 */
	0x0,	/* EQUIP ID 3 */
	0x4910,	/* EQUIP ID 4 */