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

Commit 171539c9 authored by Manoj Prabhu B's avatar Manoj Prabhu B Committed by Gerrit - the friendly Code Review server
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 log mask ranges.

Change-Id: I73baecf34d8b39e4f9e29d369e00862178b192ab
Signed-off-by: default avatarManoj Prabhu B <bmanoj@codeaurora.org>
parent 59a6fd58
Loading
Loading
Loading
Loading
+6 −5
Original line number Original line Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 */
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (c) 2008-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2008-2020, The Linux Foundation. All rights reserved.
 */
 */


#ifndef DIAGCHAR_SHARED
#ifndef DIAGCHAR_SHARED
@@ -142,10 +142,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
@@ -356,7 +356,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[] = {
@@ -918,7 +919,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 */