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

Commit 9e911991 authored by Manoj Prabhu B's avatar Manoj Prabhu B
Browse files

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: default avatarManoj Prabhu B <bmanoj@codeaurora.org>
parent d4bea3de
Loading
Loading
Loading
Loading
+6 −5
Original line number Original line Diff line number Diff line
/* 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
 * 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
 * it under the terms of the GNU General Public License version 2 and
@@ -149,10 +149,10 @@
 * a new RANGE of SSIDs to the msg_mask_tbl.
 * a new RANGE of SSIDs to the msg_mask_tbl.
 */
 */
#define MSG_MASK_TBL_CNT		26
#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			0
#define MSG_SSID_0_LAST			131
#define MSG_SSID_0_LAST			132
#define MSG_SSID_1			500
#define MSG_SSID_1			500
#define MSG_SSID_1_LAST			506
#define MSG_SSID_1_LAST			506
#define MSG_SSID_2			1000
#define MSG_SSID_2			1000
@@ -363,7 +363,8 @@ static const uint32_t msg_bld_masks_0[] = {
	MSG_LVL_MED,
	MSG_LVL_MED,
	MSG_LVL_HIGH,
	MSG_LVL_HIGH,
	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[] = {
static const uint32_t msg_bld_masks_1[] = {
@@ -925,7 +926,7 @@ static const uint32_t msg_bld_masks_25[] = {
/* LOG CODES */
/* LOG CODES */
static const uint32_t log_code_last_tbl[] = {
static const uint32_t log_code_last_tbl[] = {
	0x0,	/* EQUIP ID 0 */
	0x0,	/* EQUIP ID 0 */
	0x1CC0,	/* EQUIP ID 1 */
	0x1CC6,	/* EQUIP ID 1 */
	0x0,	/* EQUIP ID 2 */
	0x0,	/* EQUIP ID 2 */
	0x0,	/* EQUIP ID 3 */
	0x0,	/* EQUIP ID 3 */
	0x4910,	/* EQUIP ID 4 */
	0x4910,	/* EQUIP ID 4 */