blob: 5666cd24f6fe238b1ab0883a0e280f4b2c366a5d [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/**
2 *
3 * @file StdLogMsgID.h
4 * @brief
5 * This file is part of tools.
6 * ±ê×¼ÐÅÁîLog¶¨Òå³£Óõĺê
7 *
8 * @details
9 * @author Tools Team.
10 * @email
11 * @copyright Copyright (C) 2013 Sanechips Technology Co., Ltd.
12 * @warning
13 * @date 2019/02/02
14 * @version 1.1
15 * @pre
16 * @post
17 *
18 * @par
19 * Change History :
20 * ---------------------------------------------------------------------------
21 * date version author description
22 * ---------------------------------------------------------------------------
23 * 2013/01/14 1.0 li.minghui Create file
24 * 2019/02/02 1.1 jiang.fenglin ÐÞ¸Ä×¢ÊÍ·½Ê½Îªdoxygen
25 * ---------------------------------------------------------------------------
26 *
27 *
28 */
29
30#ifndef ZCAT_STD_LOG_H
31#define ZCAT_STD_LOG_H
32
33////////////////////////////////////// Log /////////////////////////////////
34#define LOG_TOOL_COMMON_BASE (WORD)0x0000//(WORD)0x01000000
35#define LOG_TOOL_COMMON_USIM_BASE (WORD)0x0000//(WORD)0x01000000
36//USIM
37#define USIM_CARD_MODE_LOG (WORD)(LOG_TOOL_COMMON_USIM_BASE + 1)
38#define USIM_SRV_TABLE_LOG (WORD)(LOG_TOOL_COMMON_USIM_BASE + 2)
39#define FRBDN_TAI_LIST_LOG (WORD)(LOG_TOOL_COMMON_USIM_BASE + 3)
40
41//other
42#define LOG_TOOL_COMMON_OTHER_BASE (WORD)0x0100//(WORD)0x01001000
43#define MSGTRACEPS_CELLRESORCCO_IND_EV (WORD)(LOG_TOOL_COMMON_OTHER_BASE + 0)
44#define ROADTEST_UEINFO_CNF_EV (WORD)(LOG_TOOL_COMMON_OTHER_BASE + 1)
45#define EM_CELL_INFO_LOG (WORD)(LOG_TOOL_COMMON_OTHER_BASE + 2)
46#define EM_SCELL_INFO_LOG (WORD)(LOG_TOOL_COMMON_OTHER_BASE + 3)
47
48//UMTS
49#define LOG_TOOL_UMTS_BASE (WORD)0x1000//(WORD)0x02000000
50//NAS
51#define LOG_TOOL_UMTS_NAS_BASE (WORD)0x1000//(WORD)0x02000000
52#define TG_NAS_MSG_IND_EV (WORD)(LOG_TOOL_UMTS_NAS_BASE + 0)
53//ARM/SIM
54#define LOG_TOOL_UMTS_ARM_BASE (WORD)0x1100//(WORD)0x02001000
55
56//GSM
57#define LOG_TOOL_GSM_BASE (WORD)0x2000//(WORD)0x03000000
58//Layer 1
59#define LOG_TOOL_GSM_LAYER1_BASE (WORD)0x2000//(WORD)0x03000000
60//Layer 2
61#define LOG_TOOL_GSM_LAYER2_BASE (WORD)0x2100//(WORD)0x03001000
62
63//Layer 3
64#define LOG_TOOL_GSM_LAYER3_BASE (WORD)0x2200//(WORD)0x03002000//£¨NASÏûÏ¢¶¼·ÅÔÚUMTSÀïµÄNASÄ£¿éÁË£©
65#define GSM_RRC_MSG_IND_EV (WORD)(LOG_TOOL_GSM_LAYER3_BASE + 0)
66
67//GPRS
68#define LOG_TOOL_GSM_GPRS_BASE (WORD)0x2300//(WORD)0x03003000
69//Obsolete
70#define LOG_TOOL_GSM_OBSOLETE_BASE (WORD)0x2400//(WORD)0x03004000
71//GSM User
72#define LOG_TOOL_GSM_GSMUSER_BASE (WORD)0x2500//(WORD)0x03005000
73//EGPRS
74#define LOG_TOOL_GSM_EGPRS_BASE (WORD)0x2600//(WORD)0x03006000
75//DSDS
76#define LOG_TOOL_GSM_DSDS_BASE (WORD)0x2700//(WORD)0x03007000
77
78//TD
79#define LOG_TOOL_TD_BASE (WORD)0x3000//(WORD)0x04000000
80//L1
81#define LOG_TOOL_TD_L1_BASE (WORD)0x3000//(WORD)0x04000000
82
83//L2
84#define LOG_TOOL_TD_L2_BASE (WORD)0x3100//(WORD)0x04001000
85#define UMAC_UL_UPA_TB_INFO_TRACE_EV (WORD)(LOG_TOOL_TD_L2_BASE + 0)
86#define URLC_UL_DATAPDU_TRACE_EV (WORD)(LOG_TOOL_TD_L2_BASE + 1)
87#define URLC_DL_DATAPDU_TRACE_EV (WORD)(LOG_TOOL_TD_L2_BASE + 2)
88#define URLC_UL_CTRLPDU_TRACE_EV (WORD)(LOG_TOOL_TD_L2_BASE + 3)
89#define URLC_DL_CTRLPDU_TRACE_EV (WORD)(LOG_TOOL_TD_L2_BASE + 4)
90#define PDCP2URLC_DATA_IND_TRACE_EV (WORD)(LOG_TOOL_TD_L2_BASE + 5)
91#define PDCP2URLC_DATA_REQ_TRACE_EV (WORD)(LOG_TOOL_TD_L2_BASE + 6)
92
93//L3
94#define LOG_TOOL_TD_L3_BASE (WORD)0x3200//(WORD)0x04002000//(NASÏûÏ¢¶¼·ÅÔÚUMTSÀïµÄNASÄ£¿éÁË)
95#define TD_RRC_MSG_IND_EV (WORD)(LOG_TOOL_TD_L3_BASE + 0)
96#define W_RRC_MSG_IND_EV (DWORD)(LOG_TOOL_TD_L3_BASE + 1)///////hb20130810
97
98//FW
99#define LOG_TOOL_TD_FW_BASE (WORD)0x3300//(WORD)0x04003000
100
101//LTE
102#define LOG_TOOL_LTE_BASE (WORD)0x4000//(WORD)0x05000000
103
104//L1
105#define LOG_TOOL_LTE_L1_BASE (WORD)0x4000//(WORD)0x05001000
106#define LOG_TOOL_LTE_PHY_ECSR_PSSINFO (WORD)(LOG_TOOL_LTE_L1_BASE + 0)
107#define LOG_TOOL_LTE_PHY_ECSR_SERCELLFRMTIMING (WORD)(LOG_TOOL_LTE_L1_BASE + 1)
108#define LOG_TOOL_LTE_PHY_ECSR_SSSINFO (WORD)(LOG_TOOL_LTE_L1_BASE + 2)
109#define LOG_TOOL_LTE_PHY_ECSR_SERCELL_MEAS_RESULT (WORD)(LOG_TOOL_LTE_L1_BASE + 3)
110#define LOG_TOOL_LTE_PHY_ECSR_NEBORCELL_MEAS_RESULT (WORD)(LOG_TOOL_LTE_L1_BASE + 4)
111#define LOG_TOOL_LTE_PHY_PBCH_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 5)
112#define LOG_TOOL_LTE_PHY_GLB_MIB_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 6)
113#define LOG_TOOL_LTE_PHY_GLB_CSR_MEASURE_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 7)
114#define LOG_TOOL_LTE_PHY_DL_PCFICH_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 8)
115#define LOG_TOOL_LTE_PHY_DL_PHICH_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 9)
116#define LOG_TOOL_LTE_PHY_DL_PDCCH_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 10)
117#define LOG_TOOL_LTE_PHY_DL_PDSCH_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 11)
118#define LOG_TOOL_LTE_PHY_DL_HARQ_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 12)
119#define LOG_TOOL_LTE_PHY_DL_PA_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 13)
120#define LOG_TOOL_LTE_PHY_DL_FLOW_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 14)
121#define LOG_TOOL_LTE_PHY_DL_DCI_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 15)
122#define LOG_TOOL_LTE_PHY_EXT_PUCCHFMT_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 16)
123#define LOG_TOOL_LTE_PHY_EXT_BUNLDINGAN_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 17)
124#define LOG_TOOL_LTE_PHY_EXT_MUTIPLEXAN_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 18)
125#define LOG_TOOL_LTE_PHY_EXT_SRHARQSIMUL_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 19)
126#define LOG_TOOL_LTE_PHY_EXT_CQIHARQSIMULSIMUL_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 20)
127#define LOG_TOOL_LTE_PHY_SRSTX_REPORT (WORD)(LOG_TOOL_LTE_L1_BASE + 21)
128#define LOG_TOOL_LTE_PHY_EXT_SRS_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 22)
129#define LOG_TOOL_LTE_PHY_EXT_PRACH_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 23)
130#define LOG_TOOL_LTE_PHY_EXT_ULHARQTRANS_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 24)
131#define LOG_TOOL_LTE_PHY_EXT_DCI0_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 25)
132#define LOG_TOOL_LTE_PHY_EXT_DCI3OR3A_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 26)
133#define LOG_TOOL_LTE_PHY_EXT_ULPOWERCTRL_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 27)
134#define LOG_TOOL_LTE_PHY_DFE_DEBUG_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 28)
135#define LOG_TOOL_LTE_PHY_RFC_DEBUG_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 29)
136#define LOG_TOOL_LTE_PHY_ECSR_DEBUGMIB_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 30)
137#define LOG_TOOL_LTE_PHY_DEBUG_PHYCELLID_RANGE (WORD)(LOG_TOOL_LTE_L1_BASE + 31)
138#define LOG_TOOL_LTE_PHY_DEBUG_MEAS_FREQ_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 32)
139#define LOG_TOOL_LTE_PHY_ECSR_DEBUGMEASCONFIG_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 33)
140#define LOG_TOOL_LTE_PHY_ECSR_DEBUGMEASMASKSET_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 34)
141#define LOG_TOOL_LTE_PHY_ECSR_DEBUGCSRAGE_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 35)
142#define LOG_TOOL_LTE_PHY_ECSR_DEBUGCSRPRIORITY_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 36)
143#define LOG_TOOL_LTE_PHY_ECSR_DEBUGCSR_MEAS_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 37)
144#define LOG_TOOL_LTE_PHY_DEBUG_SEG4TIME (WORD)(LOG_TOOL_LTE_L1_BASE + 38)
145#define LOG_TOOL_LTE_PHY_DEBUG_SEG3TIME (WORD)(LOG_TOOL_LTE_L1_BASE + 39)
146#define LOG_TOOL_LTE_PHY_DEBUG_TIME (WORD)(LOG_TOOL_LTE_L1_BASE + 40)
147#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_CSRFRAME_BOUNDRY_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 41)
148#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_CSR_SEARCH_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 42)
149#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_CSR_BCH_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 43)
150#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_CSR_CELL_STATE (WORD)(LOG_TOOL_LTE_L1_BASE + 44)
151#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_CSR_CELL_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 45)
152#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_FREQ_POINT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 46)
153#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_CELL_DATABASE_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 47)
154#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_CSR_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 48)
155#define LOG_TOOL_LTE_PHY_GLB_CALC_FOR_SINR (WORD)(LOG_TOOL_LTE_L1_BASE + 49)
156#define LOG_TOOL_LTE_PHY_GLB_FLOW_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 50)
157#define LOG_TOOL_LTE_PHY_GLB_UE_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 51)
158#define LOG_TOOL_LTE_PHY_RF_AUTOTEST_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 52)
159#define LOG_TOOL_LTE_PHY_TH_AUTOTEST_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 53)
160
161#define LOG_TOOL_LTE_PHY_RAPC_Msg1_UE_INFO (DWORD)(LOG_TOOL_LTE_L1_BASE + 54)
162#define LOG_TOOL_LTE_PHY_RAPC_Msg2_UE_INFO (DWORD)(LOG_TOOL_LTE_L1_BASE + 55)
163#define LOG_TOOL_LTE_PHY_RAPC_Msg3_UE_INFO (DWORD)(LOG_TOOL_LTE_L1_BASE + 56)
164#define LOG_TOOL_LTE_PHY_RAPC_Msg4_UE_INFO (DWORD)(LOG_TOOL_LTE_L1_BASE + 57)
165
166//ÐÂÔöLTEAµÄSCELLÏûÏ¢ID
167#define LOG_TOOL_LTEA_L1_BASE (WORD)(LOG_TOOL_LTE_L1_BASE + 100)
168#define LOG_TOOL_LTEA_PHY_DL_PHICH_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 1)
169#define LOG_TOOL_LTEA_PHY_DL_PDCCH_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 2)
170#define LOG_TOOL_LTEA_PHY_DL_PDSCH_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 3)
171#define LOG_TOOL_LTEA_PHY_DL_DCI_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 4)
172#define LOG_TOOL_LTEA_PHY_EXT_CQIHARQSIMULSIMUL_STAT_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 5)
173#define LOG_TOOL_LTEA_PHY_EXT_ULPOWERCTRL_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 6)
174#define LOG_TOOL_LTEA_PHY_DFE_DEBUG_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 7)
175#define LOG_TOOL_LTEA_PHY_GLB_CALC_FOR_SINR (WORD)(LOG_TOOL_LTEA_L1_BASE + 8)
176#define LOG_TOOL_LTEA_PHY_GLB_FLOW_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 9)
177#define LOG_TOOL_LTEA_PHY_GLB_UE_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 10)
178
179#define LOG_TOOL_LTE_L1_END (WORD)(LOG_TOOL_LTEA_L1_BASE + 11)
180//MAC Layer
181#define LOG_TOOL_LTE_MAC_LAY_BASE (WORD)0x4100//(WORD)0x05002000
182#define EUMAC_CFG_LOG (WORD)(LOG_TOOL_LTE_MAC_LAY_BASE + 0)
183#define EUMAC_RACH_TRACE_LOG (WORD)(LOG_TOOL_LTE_MAC_LAY_BASE + 1)
184#define EUMAC_DL_BLCS_LOG (WORD)(LOG_TOOL_LTE_MAC_LAY_BASE + 2)
185#define EUMAC_UL_BLCS_LOG (WORD)(LOG_TOOL_LTE_MAC_LAY_BASE + 3)
186#define EUMAC_STATISTICS_LOG (WORD)(LOG_TOOL_LTE_MAC_LAY_BASE + 4)
187
188//RLC Layer
189#define LOG_TOOL_LTE_RLC_LAY_BASE (WORD)0x4200//(WORD)0x05003000
190#define EURLC_DL_AM_ALLPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 0)
191#define EURLC_DL_AM_CTRLPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 1)
192#define EURLC_DL_AM_POLLPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 2)
193#define EURLC_DL_AM_SIGPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 3)
194#define EURLC_DL_UM_DATAPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 4)
195#define EURLC_DL_STATISTICS_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 5)
196#define EURLC_UL_AM_ALLPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 6)
197#define EURLC_UL_AM_CTRLPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 7)
198#define EURLC_UL_AM_POLLPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 8)
199#define EURLC_UL_AM_SIGPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 9)
200#define EURLC_UL_UM_DATAPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 10)
201#define EURLC_UL_STATISTICS_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 11)
202
203//PDCP Layer
204#define LOG_TOOL_LTE_PDCP_LAY_BASE (WORD)0x4300//(WORD)0x05004000
205#define EPDCP_DL_CFG_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 0)
206#define EPDCP_UL_CFG_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 1)
207#define EPDCP_DL_UNCIPHER_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 2)
208#define EPDCP_UL_UNCIPHER_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 3)
209#define EPDCP_DL_CIPHER_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 4)
210#define EPDCP_UL_CIPHER_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 5)
211#define EPDCP_DL_CTRL_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 6)
212#define EPDCP_UL_CTRL_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 7)
213#define EPDCP_DL_SRB_INTERGIRTY_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 8)
214#define EPDCP_UL_SRB_INTERGIRTY_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 9)
215#define EPDCP_DL_STATISTICS_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 10)
216#define EPDCP_UL_STATISTICS_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 11)
217
218//RRC Layer
219#define LOG_TOOL_LTE_RRC_LAY_BASE (WORD)0x4400//(WORD)0x05005000
220#define ZEUCER_RB_INFO_IND_EV (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 0)
221#define ZEUCER_RRC_UE_INFO_IND_EV (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 1)
222#define TD_RRC_UE_INFO_IND_EV (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 2)
223#define EURLC_DL_CFG_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 3)
224#define EURLC_UL_CFG_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 4)
225#define EUMCR_INTRA_FREQ_MEAS_RLTS_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 5)
226#define EUMCR_INTER_FREQ_MEAS_RLTS_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 6)
227#define EUMCR_UTRA_MEAS_RLTS_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 7)
228#define EUMCR_GSM_FREQ_MEAS_RLTS_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 8)
229#define EUMCR_EUTRA_MEAS_FREQ_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 9)
230#define EUMCR_UTRA_MEAS_FREQ_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 10)
231#define EUMCR_GSM_MEAS_FREQ_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 11)
232#define EUMCR_MOBILITY_CHG_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 12)
233#define EUMCR_MEAS_CONFIG_CONN_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 13)
234#define EUMCR_CELL_EVA_CONN_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 14)
235#define EUSIR_S_CHECK_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 15)
236#define EUSIR_PAGE_CONFIG_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 16)
237#define EUMCR_MEAS_RULE_IDLE_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 17)
238#define EUMCR_LOW_EQUAL_RESEL_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 18)
239#define EUMCR_CELL_EVA_IDLE_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 19)
240#define LTE_RRC_MSG_IND_EV (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 20)
241#define W_RRC_UE_INFO_IND_EV (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 21)
242
243//NAS Layer
244#define LOG_TOOL_LTE_NAS_LAY_BASE (WORD)0x4500//(WORD)0x05006000
245#define ZEMM_NAS_UE_INFO_IND_EV (WORD)(LOG_TOOL_LTE_NAS_LAY_BASE + 0)
246#define ESM_BEARER_CTX_STATE_LOG (WORD)(LOG_TOOL_LTE_NAS_LAY_BASE + 1)
247#define ESM_BEARER_CTX_INFO_LOG (WORD)(LOG_TOOL_LTE_NAS_LAY_BASE + 2)
248#define ESM_PROCE_STATE_LOG (WORD)(LOG_TOOL_LTE_NAS_LAY_BASE + 3)
249#define LTE_NAS_MSG_IND_EV (WORD)(LOG_TOOL_LTE_NAS_LAY_BASE + 4)
250
251//Espresso
252#define LOG_TOOL_LTE_ESPRESSO_BASE (WORD)0x4600//(WORD)0x05000000
253
254//Other
255#define LOG_TOOL_LTE_OTHER_BASE (WORD)0x4700//(WORD)0x05007000
256#define EUCSR_SYS_PARA_IND_EV (WORD)(LOG_TOOL_LTE_OTHER_BASE + 0)
257#define EUDBG_THROUGHPUT_IND_EV (WORD)(LOG_TOOL_LTE_OTHER_BASE + 1)
258#define MSGTRACEPS_DALAYTEST_IND_EV (WORD)(LOG_TOOL_LTE_OTHER_BASE + 2)
259#define LTE_EUL2_INFO_IND_EV (WORD)(LOG_TOOL_LTE_OTHER_BASE + 3)
260
261/////WCDMA
262#define LOG_TOOL_WCDMA_BASE (WORD)0x5000//
263/////W_L1
264#define LOG_TOOL_WCDMA_L1_BASE (WORD)0x5000
265#define LOG_TOOL_WCDMA_STATE_CNT (WORD)(LOG_TOOL_WCDMA_L1_BASE + 0)
266#define LOG_TOOL_WCDMA_MAIN_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 1)
267#define LOG_TOOL_WCDMA_ACTIVE_CELL_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 2)
268#define LOG_TOOL_WCDMA_TPC_PACKET_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 3)
269#define LOG_TOOL_WCDMA_UL_POWER_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 4)
270#define LOG_TOOL_WCDMA_PC_STATIC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 5)
271#define LOG_TOOL_WCDMA_RFC_GAP_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 6)
272#define LOG_TOOL_WCDMA_RFC_STATE_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 7)
273#define LOG_TOOL_WCDMA_DL_TRCH_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 8)
274#define LOG_TOOL_WCDMA_UL_TRCH_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 9)
275#define LOG_TOOL_WCDMA_DL_CPCH_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 10)
276#define LOG_TOOL_WCDMA_DL_DPCH_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 11)
277#define LOG_TOOL_WCDMA_UL_DPCH_PC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 12)
278#define LOG_TOOL_WCDMA_UL_DPCH_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 13)
279#define LOG_TOOL_WCDMA_PRACH_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 14)
280#define LOG_TOOL_WCDMA_SYNC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 15)
281#define LOG_TOOL_WCDMA_FS_PROC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 16)
282#define LOG_TOOL_WCDMA_CS_STATISTIC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 17)
283#define LOG_TOOL_WCDMA_PAGE_STATISTIC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 18)
284#define LOG_TOOL_WCDMA_SERVE_CELL_RESULT (WORD)(LOG_TOOL_WCDMA_L1_BASE + 19)
285#define LOG_TOOL_WCDMA_INTRA_CELL_RESULT (WORD)(LOG_TOOL_WCDMA_L1_BASE + 20)
286#define LOG_TOOL_WCDMA_INTER_CELL_RESULT (WORD)(LOG_TOOL_WCDMA_L1_BASE + 21)
287#define LOG_TOOL_WCDMA_STATISTIC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 22)
288#define LOG_TOOL_WCDMA_HSDPA_PACKET_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 23)
289#define LOG_TOOL_WCDMA_HSDPA_STATISTIC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 24)
290#define LOG_TOOL_WCDMA_HSUPA_PACKET_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 25)
291#define LOG_TOOL_WCDMA_HSUPA_STATISTIC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 26)
292#define LOG_TOOL_WCDMA_SLEEP_MIX_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 27)
293
294#define LOG_TOOL_WCDMA_L1_END LOG_TOOL_WCDMA_SLEEP_MIX_INFO + 1
295////W_RRC
296#define LOG_TOOL_W_AS_BASE (WORD)0x5100//
297#define Z_WCDMA_RRC_STATUS_LOG (DWORD)(LOG_TOOL_W_AS_BASE+0)
298#define Z_WCDMA_RRC_PROTOCOL_ERROR_LOG (DWORD)(LOG_TOOL_W_AS_BASE+1)
299#define Z_WCDMA_RRC_SERVCELL_INFO_LOG (DWORD)(LOG_TOOL_W_AS_BASE+2)
300#define Z_WCDMA_RRC_CMINFO_LOG (DWORD)(LOG_TOOL_W_AS_BASE+3)
301#define Z_WCDMA_RRC_RESELECTCELL_LOG (DWORD)(LOG_TOOL_W_AS_BASE+4)
302#define Z_WCDMA_RRC_FMOINFO_LOG (DWORD)(LOG_TOOL_W_AS_BASE+5)
303#define Z_WCDMA_RRC_MCEVENTINFO_LOG (DWORD)(LOG_TOOL_W_AS_BASE+6)
304#define Z_WCDMA_RRC_CELLINFO_LOG (DWORD)(LOG_TOOL_W_AS_BASE+7)
305#define Z_WCDMA_RRC_PRIOINFO_LOG (DWORD)(LOG_TOOL_W_AS_BASE+8)
306#define Z_WCDMA_RRC_EVENT_FREQQUA_LOG (DWORD)(LOG_TOOL_W_AS_BASE+9)
307#define Z_WCDMA_RRC_CELLRST_LOG (DWORD)(LOG_TOOL_W_AS_BASE+10)
308#define Z_WCDMA_RRC_TRAFFIC_REPORT_LOG (DWORD)(LOG_TOOL_W_AS_BASE+11)
309//RLC
310#define Z_WCDMA_RLC_DlAmSta_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+12)
311#define Z_WCDMA_RLC_UlAmSta_Tv_LOG (DWORD)(LOG_TOOL_W_AS_BASE+13)
312#define Z_WCDMA_RLC_Sta_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+14)
313#define Z_WCDMA_RLC_UlTm_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+15)
314#define Z_WCDMA_RLC_UlUm_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+16)
315#define Z_WCDMA_RLC_DlTm_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+17)
316#define Z_WCDMA_RLC_DlUm_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+18)
317#define Z_WCDMA_RLC_DlAmConfig_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+19)
318#define Z_WCDMA_RLC_UlAmConfig_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+20)
319#define Z_WCDMA_RLC_AmPdu_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+21)
320#define Z_WCDMA_RLC_RbRat_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+22)
321#define Z_WCDMA_RLC_AmCtrlPdu_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+23)
322#define Z_WCDMA_RLC_FlexPduPack_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+24)
323//MAC
324#define Z_WCDMA_MAC_UlLgchPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+25)
325#define Z_WCDMA_MAC_DlLgchPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+26)
326#define Z_WCDMA_MAC_RachCtrlPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+27)
327#define Z_WCDMA_MAC_UlTfcsPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+28)
328#define Z_WCDMA_MAC_DynamicUpaPduPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+29)
329#define Z_WCDMA_MAC_StaticsUpaPduPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+30)
330#define Z_WCDMA_MAC_MaceCfgPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+31)
331#define Z_WCDMA_MAC_MaceHeaderPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+32)
332#define Z_WCDMA_MAC_MacHsCfgPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+33)
333#define Z_WCDMA_MAC_DpaReorderingPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+34)
334#define Z_WCDMA_MAC_MacHsRstPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+35)
335#define Z_WCDMA_MAC_DpaPduPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+36)
336#define Z_WCDMA_MAC_Lgch_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+38)
337
338//PDCP
339#define Z_WCDMA_PDCP_RatRat_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+37)
340
341/////W_NAS
342#define LOG_TOOL_W_NAS_BASE (DWORD)0x5200
343#define GMM_STATE_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+1)
344#define MM_STATE_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+2)
345#define NAS_REGISRT_STATE_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+3)
346#define CC_MO_SETUP_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+4)
347#define SM_MO_SETUP_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+5)
348#define NAS_MM_CHARACTERISTICS_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+6)
349#define NAS_QoS_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+7)
350#define NAS_BC_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+8)
351#define UE_DYNAMICID_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+9)
352#define UE_STATIC_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+10)
353// ºóÐøÌí¼ÓÐÂLog£¬Ðè¸üÐÂLOG_TOOL_LASTµÄÖµ
354#define LOG_TOOL_LAST (WORD)(UE_STATIC_LOG + 1)
355
356////////////////////////////////////// Event /////////////////////////////////
357#define EVT_TOOL_BASE (WORD)0x0000//(WORD)0x0000
358
359//Common
360#define EVT_TOOL_COMMON_BASE (WORD)EVT_TOOL_BASE//(WORD)0x0000
361#define TRACS_DELAYEVENT_IND_EV (WORD)(EVT_TOOL_COMMON_BASE + 1)
362
363//LTE
364#define EVT_TOOL_LTE_BASE (WORD)0x1000//(WORD)0x0200
365
366//NAS
367#define EVT_TOOL_LTE_NAS_BASE (WORD)0x1000//(WORD)0x0200
368#define EMM_TIMER_START_EVENT (WORD)(EVT_TOOL_LTE_NAS_BASE + 0)
369#define EMM_TIMER_EXPIRY_EVENT (WORD)(EVT_TOOL_LTE_NAS_BASE + 1)
370#define ESM_TIMER_START_EVENT (WORD)(EVT_TOOL_LTE_NAS_BASE + 2)
371#define ESM_TIMER_EXPIRY_EVENT (WORD)(EVT_TOOL_LTE_NAS_BASE + 3)
372
373//MAC
374#define EVT_TOOL_LTE_MAC_BASE (WORD)0x1100//(WORD)0x0400
375#define EUMAC_TIMER_EVENT (WORD)(EVT_TOOL_LTE_MAC_BASE + 0)
376#define EUMAC_RESET_EVENT (WORD)(EVT_TOOL_LTE_MAC_BASE + 1)
377
378//RRC
379#define EVT_TOOL_LTE_RRC_BASE (WORD)0x1200//(WORD)0x0600
380#define EURRC_TIMER_EVENT (WORD)(EVT_TOOL_LTE_RRC_BASE + 0)
381#define PAGING_DRX_CYCLE_EVENT (WORD)(EVT_TOOL_LTE_RRC_BASE + 1)
382#define SIB_READ_FAIL_EVENT (WORD)(EVT_TOOL_LTE_RRC_BASE + 2)
383#define EURRC_SECUIRITY_CFG_EVENT (WORD)(EVT_TOOL_LTE_RRC_BASE + 3)
384
385//Other
386#define EVT_TOOL_OTHER_BASE (WORD)0x2000//(WORD)0x0800
387#define TA_EVENT (WORD)(EVT_TOOL_OTHER_BASE + 0)
388#define UL_OOS_EVENT (WORD)(EVT_TOOL_OTHER_BASE + 1)
389#define RACH_ACS_STARE_EVENT (WORD)(EVT_TOOL_OTHER_BASE + 2)
390#define RACH_ACS_RSLT_EVENT (WORD)(EVT_TOOL_OTHER_BASE + 3)
391#define BSR_OR_SR_REQ_EVENT (WORD)(EVT_TOOL_OTHER_BASE + 4)
392
393/////WCDMA
394#define LOG_TOOL_W_EVENT_BASE (DWORD)0x2100
395#define UMTS_TIMER_EVENT (DWORD)(LOG_TOOL_W_EVENT_BASE+1)
396#define W_CAMPFAIL_EVENT (DWORD)(LOG_TOOL_W_EVENT_BASE+2)
397#define W_OUTSYNC_EVENT (DWORD)(LOG_TOOL_W_EVENT_BASE+3)
398#define W_RLCUNRECOVERR_EVENT (DWORD)(LOG_TOOL_W_EVENT_BASE+4)
399#define NAS_INTIATIVE_DISCONN_EVENT (DWORD)(LOG_TOOL_W_EVENT_BASE+5)
400#define NAS_UNSOLICITED_DISCONN_EVENT (DWORD)(LOG_TOOL_W_EVENT_BASE+6)
401#define NAS_OOS_EVENT (DWORD)(LOG_TOOL_W_EVENT_BASE+7)
402// ºóÐøÌí¼ÓÐÂEvent£¬Ðè¸üÐÂEVT_TOOL_LASTµÄÖµ
403#define EVT_TOOL_LAST (WORD)(NAS_OOS_EVENT + 1)
404
405
406#endif
407