blob: 5666cd24f6fe238b1ab0883a0e280f4b2c366a5d [file] [log] [blame]
/**
*
* @file StdLogMsgID.h
* @brief
* This file is part of tools.
* ±ê×¼ÐÅÁîLog¶¨Òå³£Óõĺê
*
* @details
* @author Tools Team.
* @email
* @copyright Copyright (C) 2013 Sanechips Technology Co., Ltd.
* @warning
* @date 2019/02/02
* @version 1.1
* @pre
* @post
*
* @par
* Change History :
* ---------------------------------------------------------------------------
* date version author description
* ---------------------------------------------------------------------------
* 2013/01/14 1.0 li.minghui Create file
* 2019/02/02 1.1 jiang.fenglin ÐÞ¸Ä×¢ÊÍ·½Ê½Îªdoxygen
* ---------------------------------------------------------------------------
*
*
*/
#ifndef ZCAT_STD_LOG_H
#define ZCAT_STD_LOG_H
////////////////////////////////////// Log /////////////////////////////////
#define LOG_TOOL_COMMON_BASE (WORD)0x0000//(WORD)0x01000000
#define LOG_TOOL_COMMON_USIM_BASE (WORD)0x0000//(WORD)0x01000000
//USIM
#define USIM_CARD_MODE_LOG (WORD)(LOG_TOOL_COMMON_USIM_BASE + 1)
#define USIM_SRV_TABLE_LOG (WORD)(LOG_TOOL_COMMON_USIM_BASE + 2)
#define FRBDN_TAI_LIST_LOG (WORD)(LOG_TOOL_COMMON_USIM_BASE + 3)
//other
#define LOG_TOOL_COMMON_OTHER_BASE (WORD)0x0100//(WORD)0x01001000
#define MSGTRACEPS_CELLRESORCCO_IND_EV (WORD)(LOG_TOOL_COMMON_OTHER_BASE + 0)
#define ROADTEST_UEINFO_CNF_EV (WORD)(LOG_TOOL_COMMON_OTHER_BASE + 1)
#define EM_CELL_INFO_LOG (WORD)(LOG_TOOL_COMMON_OTHER_BASE + 2)
#define EM_SCELL_INFO_LOG (WORD)(LOG_TOOL_COMMON_OTHER_BASE + 3)
//UMTS
#define LOG_TOOL_UMTS_BASE (WORD)0x1000//(WORD)0x02000000
//NAS
#define LOG_TOOL_UMTS_NAS_BASE (WORD)0x1000//(WORD)0x02000000
#define TG_NAS_MSG_IND_EV (WORD)(LOG_TOOL_UMTS_NAS_BASE + 0)
//ARM/SIM
#define LOG_TOOL_UMTS_ARM_BASE (WORD)0x1100//(WORD)0x02001000
//GSM
#define LOG_TOOL_GSM_BASE (WORD)0x2000//(WORD)0x03000000
//Layer 1
#define LOG_TOOL_GSM_LAYER1_BASE (WORD)0x2000//(WORD)0x03000000
//Layer 2
#define LOG_TOOL_GSM_LAYER2_BASE (WORD)0x2100//(WORD)0x03001000
//Layer 3
#define LOG_TOOL_GSM_LAYER3_BASE (WORD)0x2200//(WORD)0x03002000//£¨NASÏûÏ¢¶¼·ÅÔÚUMTSÀïµÄNASÄ£¿éÁË£©
#define GSM_RRC_MSG_IND_EV (WORD)(LOG_TOOL_GSM_LAYER3_BASE + 0)
//GPRS
#define LOG_TOOL_GSM_GPRS_BASE (WORD)0x2300//(WORD)0x03003000
//Obsolete
#define LOG_TOOL_GSM_OBSOLETE_BASE (WORD)0x2400//(WORD)0x03004000
//GSM User
#define LOG_TOOL_GSM_GSMUSER_BASE (WORD)0x2500//(WORD)0x03005000
//EGPRS
#define LOG_TOOL_GSM_EGPRS_BASE (WORD)0x2600//(WORD)0x03006000
//DSDS
#define LOG_TOOL_GSM_DSDS_BASE (WORD)0x2700//(WORD)0x03007000
//TD
#define LOG_TOOL_TD_BASE (WORD)0x3000//(WORD)0x04000000
//L1
#define LOG_TOOL_TD_L1_BASE (WORD)0x3000//(WORD)0x04000000
//L2
#define LOG_TOOL_TD_L2_BASE (WORD)0x3100//(WORD)0x04001000
#define UMAC_UL_UPA_TB_INFO_TRACE_EV (WORD)(LOG_TOOL_TD_L2_BASE + 0)
#define URLC_UL_DATAPDU_TRACE_EV (WORD)(LOG_TOOL_TD_L2_BASE + 1)
#define URLC_DL_DATAPDU_TRACE_EV (WORD)(LOG_TOOL_TD_L2_BASE + 2)
#define URLC_UL_CTRLPDU_TRACE_EV (WORD)(LOG_TOOL_TD_L2_BASE + 3)
#define URLC_DL_CTRLPDU_TRACE_EV (WORD)(LOG_TOOL_TD_L2_BASE + 4)
#define PDCP2URLC_DATA_IND_TRACE_EV (WORD)(LOG_TOOL_TD_L2_BASE + 5)
#define PDCP2URLC_DATA_REQ_TRACE_EV (WORD)(LOG_TOOL_TD_L2_BASE + 6)
//L3
#define LOG_TOOL_TD_L3_BASE (WORD)0x3200//(WORD)0x04002000//(NASÏûÏ¢¶¼·ÅÔÚUMTSÀïµÄNASÄ£¿éÁË)
#define TD_RRC_MSG_IND_EV (WORD)(LOG_TOOL_TD_L3_BASE + 0)
#define W_RRC_MSG_IND_EV (DWORD)(LOG_TOOL_TD_L3_BASE + 1)///////hb20130810
//FW
#define LOG_TOOL_TD_FW_BASE (WORD)0x3300//(WORD)0x04003000
//LTE
#define LOG_TOOL_LTE_BASE (WORD)0x4000//(WORD)0x05000000
//L1
#define LOG_TOOL_LTE_L1_BASE (WORD)0x4000//(WORD)0x05001000
#define LOG_TOOL_LTE_PHY_ECSR_PSSINFO (WORD)(LOG_TOOL_LTE_L1_BASE + 0)
#define LOG_TOOL_LTE_PHY_ECSR_SERCELLFRMTIMING (WORD)(LOG_TOOL_LTE_L1_BASE + 1)
#define LOG_TOOL_LTE_PHY_ECSR_SSSINFO (WORD)(LOG_TOOL_LTE_L1_BASE + 2)
#define LOG_TOOL_LTE_PHY_ECSR_SERCELL_MEAS_RESULT (WORD)(LOG_TOOL_LTE_L1_BASE + 3)
#define LOG_TOOL_LTE_PHY_ECSR_NEBORCELL_MEAS_RESULT (WORD)(LOG_TOOL_LTE_L1_BASE + 4)
#define LOG_TOOL_LTE_PHY_PBCH_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 5)
#define LOG_TOOL_LTE_PHY_GLB_MIB_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 6)
#define LOG_TOOL_LTE_PHY_GLB_CSR_MEASURE_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 7)
#define LOG_TOOL_LTE_PHY_DL_PCFICH_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 8)
#define LOG_TOOL_LTE_PHY_DL_PHICH_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 9)
#define LOG_TOOL_LTE_PHY_DL_PDCCH_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 10)
#define LOG_TOOL_LTE_PHY_DL_PDSCH_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 11)
#define LOG_TOOL_LTE_PHY_DL_HARQ_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 12)
#define LOG_TOOL_LTE_PHY_DL_PA_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 13)
#define LOG_TOOL_LTE_PHY_DL_FLOW_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 14)
#define LOG_TOOL_LTE_PHY_DL_DCI_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 15)
#define LOG_TOOL_LTE_PHY_EXT_PUCCHFMT_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 16)
#define LOG_TOOL_LTE_PHY_EXT_BUNLDINGAN_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 17)
#define LOG_TOOL_LTE_PHY_EXT_MUTIPLEXAN_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 18)
#define LOG_TOOL_LTE_PHY_EXT_SRHARQSIMUL_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 19)
#define LOG_TOOL_LTE_PHY_EXT_CQIHARQSIMULSIMUL_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 20)
#define LOG_TOOL_LTE_PHY_SRSTX_REPORT (WORD)(LOG_TOOL_LTE_L1_BASE + 21)
#define LOG_TOOL_LTE_PHY_EXT_SRS_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 22)
#define LOG_TOOL_LTE_PHY_EXT_PRACH_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 23)
#define LOG_TOOL_LTE_PHY_EXT_ULHARQTRANS_STAT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 24)
#define LOG_TOOL_LTE_PHY_EXT_DCI0_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 25)
#define LOG_TOOL_LTE_PHY_EXT_DCI3OR3A_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 26)
#define LOG_TOOL_LTE_PHY_EXT_ULPOWERCTRL_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 27)
#define LOG_TOOL_LTE_PHY_DFE_DEBUG_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 28)
#define LOG_TOOL_LTE_PHY_RFC_DEBUG_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 29)
#define LOG_TOOL_LTE_PHY_ECSR_DEBUGMIB_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 30)
#define LOG_TOOL_LTE_PHY_DEBUG_PHYCELLID_RANGE (WORD)(LOG_TOOL_LTE_L1_BASE + 31)
#define LOG_TOOL_LTE_PHY_DEBUG_MEAS_FREQ_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 32)
#define LOG_TOOL_LTE_PHY_ECSR_DEBUGMEASCONFIG_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 33)
#define LOG_TOOL_LTE_PHY_ECSR_DEBUGMEASMASKSET_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 34)
#define LOG_TOOL_LTE_PHY_ECSR_DEBUGCSRAGE_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 35)
#define LOG_TOOL_LTE_PHY_ECSR_DEBUGCSRPRIORITY_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 36)
#define LOG_TOOL_LTE_PHY_ECSR_DEBUGCSR_MEAS_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 37)
#define LOG_TOOL_LTE_PHY_DEBUG_SEG4TIME (WORD)(LOG_TOOL_LTE_L1_BASE + 38)
#define LOG_TOOL_LTE_PHY_DEBUG_SEG3TIME (WORD)(LOG_TOOL_LTE_L1_BASE + 39)
#define LOG_TOOL_LTE_PHY_DEBUG_TIME (WORD)(LOG_TOOL_LTE_L1_BASE + 40)
#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_CSRFRAME_BOUNDRY_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 41)
#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_CSR_SEARCH_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 42)
#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_CSR_BCH_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 43)
#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_CSR_CELL_STATE (WORD)(LOG_TOOL_LTE_L1_BASE + 44)
#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_CSR_CELL_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 45)
#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_FREQ_POINT_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 46)
#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_CELL_DATABASE_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 47)
#define LOG_TOOL_LTE_PHY_ECSR_DEBUG_CSR_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 48)
#define LOG_TOOL_LTE_PHY_GLB_CALC_FOR_SINR (WORD)(LOG_TOOL_LTE_L1_BASE + 49)
#define LOG_TOOL_LTE_PHY_GLB_FLOW_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 50)
#define LOG_TOOL_LTE_PHY_GLB_UE_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 51)
#define LOG_TOOL_LTE_PHY_RF_AUTOTEST_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 52)
#define LOG_TOOL_LTE_PHY_TH_AUTOTEST_INFO (WORD)(LOG_TOOL_LTE_L1_BASE + 53)
#define LOG_TOOL_LTE_PHY_RAPC_Msg1_UE_INFO (DWORD)(LOG_TOOL_LTE_L1_BASE + 54)
#define LOG_TOOL_LTE_PHY_RAPC_Msg2_UE_INFO (DWORD)(LOG_TOOL_LTE_L1_BASE + 55)
#define LOG_TOOL_LTE_PHY_RAPC_Msg3_UE_INFO (DWORD)(LOG_TOOL_LTE_L1_BASE + 56)
#define LOG_TOOL_LTE_PHY_RAPC_Msg4_UE_INFO (DWORD)(LOG_TOOL_LTE_L1_BASE + 57)
//ÐÂÔöLTEAµÄSCELLÏûÏ¢ID
#define LOG_TOOL_LTEA_L1_BASE (WORD)(LOG_TOOL_LTE_L1_BASE + 100)
#define LOG_TOOL_LTEA_PHY_DL_PHICH_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 1)
#define LOG_TOOL_LTEA_PHY_DL_PDCCH_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 2)
#define LOG_TOOL_LTEA_PHY_DL_PDSCH_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 3)
#define LOG_TOOL_LTEA_PHY_DL_DCI_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 4)
#define LOG_TOOL_LTEA_PHY_EXT_CQIHARQSIMULSIMUL_STAT_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 5)
#define LOG_TOOL_LTEA_PHY_EXT_ULPOWERCTRL_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 6)
#define LOG_TOOL_LTEA_PHY_DFE_DEBUG_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 7)
#define LOG_TOOL_LTEA_PHY_GLB_CALC_FOR_SINR (WORD)(LOG_TOOL_LTEA_L1_BASE + 8)
#define LOG_TOOL_LTEA_PHY_GLB_FLOW_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 9)
#define LOG_TOOL_LTEA_PHY_GLB_UE_INFO (WORD)(LOG_TOOL_LTEA_L1_BASE + 10)
#define LOG_TOOL_LTE_L1_END (WORD)(LOG_TOOL_LTEA_L1_BASE + 11)
//MAC Layer
#define LOG_TOOL_LTE_MAC_LAY_BASE (WORD)0x4100//(WORD)0x05002000
#define EUMAC_CFG_LOG (WORD)(LOG_TOOL_LTE_MAC_LAY_BASE + 0)
#define EUMAC_RACH_TRACE_LOG (WORD)(LOG_TOOL_LTE_MAC_LAY_BASE + 1)
#define EUMAC_DL_BLCS_LOG (WORD)(LOG_TOOL_LTE_MAC_LAY_BASE + 2)
#define EUMAC_UL_BLCS_LOG (WORD)(LOG_TOOL_LTE_MAC_LAY_BASE + 3)
#define EUMAC_STATISTICS_LOG (WORD)(LOG_TOOL_LTE_MAC_LAY_BASE + 4)
//RLC Layer
#define LOG_TOOL_LTE_RLC_LAY_BASE (WORD)0x4200//(WORD)0x05003000
#define EURLC_DL_AM_ALLPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 0)
#define EURLC_DL_AM_CTRLPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 1)
#define EURLC_DL_AM_POLLPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 2)
#define EURLC_DL_AM_SIGPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 3)
#define EURLC_DL_UM_DATAPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 4)
#define EURLC_DL_STATISTICS_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 5)
#define EURLC_UL_AM_ALLPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 6)
#define EURLC_UL_AM_CTRLPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 7)
#define EURLC_UL_AM_POLLPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 8)
#define EURLC_UL_AM_SIGPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 9)
#define EURLC_UL_UM_DATAPDU_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 10)
#define EURLC_UL_STATISTICS_LOG (WORD)(LOG_TOOL_LTE_RLC_LAY_BASE + 11)
//PDCP Layer
#define LOG_TOOL_LTE_PDCP_LAY_BASE (WORD)0x4300//(WORD)0x05004000
#define EPDCP_DL_CFG_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 0)
#define EPDCP_UL_CFG_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 1)
#define EPDCP_DL_UNCIPHER_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 2)
#define EPDCP_UL_UNCIPHER_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 3)
#define EPDCP_DL_CIPHER_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 4)
#define EPDCP_UL_CIPHER_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 5)
#define EPDCP_DL_CTRL_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 6)
#define EPDCP_UL_CTRL_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 7)
#define EPDCP_DL_SRB_INTERGIRTY_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 8)
#define EPDCP_UL_SRB_INTERGIRTY_PDU_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 9)
#define EPDCP_DL_STATISTICS_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 10)
#define EPDCP_UL_STATISTICS_LOG (WORD)(LOG_TOOL_LTE_PDCP_LAY_BASE + 11)
//RRC Layer
#define LOG_TOOL_LTE_RRC_LAY_BASE (WORD)0x4400//(WORD)0x05005000
#define ZEUCER_RB_INFO_IND_EV (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 0)
#define ZEUCER_RRC_UE_INFO_IND_EV (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 1)
#define TD_RRC_UE_INFO_IND_EV (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 2)
#define EURLC_DL_CFG_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 3)
#define EURLC_UL_CFG_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 4)
#define EUMCR_INTRA_FREQ_MEAS_RLTS_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 5)
#define EUMCR_INTER_FREQ_MEAS_RLTS_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 6)
#define EUMCR_UTRA_MEAS_RLTS_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 7)
#define EUMCR_GSM_FREQ_MEAS_RLTS_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 8)
#define EUMCR_EUTRA_MEAS_FREQ_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 9)
#define EUMCR_UTRA_MEAS_FREQ_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 10)
#define EUMCR_GSM_MEAS_FREQ_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 11)
#define EUMCR_MOBILITY_CHG_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 12)
#define EUMCR_MEAS_CONFIG_CONN_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 13)
#define EUMCR_CELL_EVA_CONN_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 14)
#define EUSIR_S_CHECK_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 15)
#define EUSIR_PAGE_CONFIG_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 16)
#define EUMCR_MEAS_RULE_IDLE_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 17)
#define EUMCR_LOW_EQUAL_RESEL_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 18)
#define EUMCR_CELL_EVA_IDLE_LOG (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 19)
#define LTE_RRC_MSG_IND_EV (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 20)
#define W_RRC_UE_INFO_IND_EV (WORD)(LOG_TOOL_LTE_RRC_LAY_BASE + 21)
//NAS Layer
#define LOG_TOOL_LTE_NAS_LAY_BASE (WORD)0x4500//(WORD)0x05006000
#define ZEMM_NAS_UE_INFO_IND_EV (WORD)(LOG_TOOL_LTE_NAS_LAY_BASE + 0)
#define ESM_BEARER_CTX_STATE_LOG (WORD)(LOG_TOOL_LTE_NAS_LAY_BASE + 1)
#define ESM_BEARER_CTX_INFO_LOG (WORD)(LOG_TOOL_LTE_NAS_LAY_BASE + 2)
#define ESM_PROCE_STATE_LOG (WORD)(LOG_TOOL_LTE_NAS_LAY_BASE + 3)
#define LTE_NAS_MSG_IND_EV (WORD)(LOG_TOOL_LTE_NAS_LAY_BASE + 4)
//Espresso
#define LOG_TOOL_LTE_ESPRESSO_BASE (WORD)0x4600//(WORD)0x05000000
//Other
#define LOG_TOOL_LTE_OTHER_BASE (WORD)0x4700//(WORD)0x05007000
#define EUCSR_SYS_PARA_IND_EV (WORD)(LOG_TOOL_LTE_OTHER_BASE + 0)
#define EUDBG_THROUGHPUT_IND_EV (WORD)(LOG_TOOL_LTE_OTHER_BASE + 1)
#define MSGTRACEPS_DALAYTEST_IND_EV (WORD)(LOG_TOOL_LTE_OTHER_BASE + 2)
#define LTE_EUL2_INFO_IND_EV (WORD)(LOG_TOOL_LTE_OTHER_BASE + 3)
/////WCDMA
#define LOG_TOOL_WCDMA_BASE (WORD)0x5000//
/////W_L1
#define LOG_TOOL_WCDMA_L1_BASE (WORD)0x5000
#define LOG_TOOL_WCDMA_STATE_CNT (WORD)(LOG_TOOL_WCDMA_L1_BASE + 0)
#define LOG_TOOL_WCDMA_MAIN_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 1)
#define LOG_TOOL_WCDMA_ACTIVE_CELL_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 2)
#define LOG_TOOL_WCDMA_TPC_PACKET_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 3)
#define LOG_TOOL_WCDMA_UL_POWER_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 4)
#define LOG_TOOL_WCDMA_PC_STATIC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 5)
#define LOG_TOOL_WCDMA_RFC_GAP_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 6)
#define LOG_TOOL_WCDMA_RFC_STATE_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 7)
#define LOG_TOOL_WCDMA_DL_TRCH_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 8)
#define LOG_TOOL_WCDMA_UL_TRCH_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 9)
#define LOG_TOOL_WCDMA_DL_CPCH_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 10)
#define LOG_TOOL_WCDMA_DL_DPCH_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 11)
#define LOG_TOOL_WCDMA_UL_DPCH_PC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 12)
#define LOG_TOOL_WCDMA_UL_DPCH_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 13)
#define LOG_TOOL_WCDMA_PRACH_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 14)
#define LOG_TOOL_WCDMA_SYNC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 15)
#define LOG_TOOL_WCDMA_FS_PROC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 16)
#define LOG_TOOL_WCDMA_CS_STATISTIC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 17)
#define LOG_TOOL_WCDMA_PAGE_STATISTIC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 18)
#define LOG_TOOL_WCDMA_SERVE_CELL_RESULT (WORD)(LOG_TOOL_WCDMA_L1_BASE + 19)
#define LOG_TOOL_WCDMA_INTRA_CELL_RESULT (WORD)(LOG_TOOL_WCDMA_L1_BASE + 20)
#define LOG_TOOL_WCDMA_INTER_CELL_RESULT (WORD)(LOG_TOOL_WCDMA_L1_BASE + 21)
#define LOG_TOOL_WCDMA_STATISTIC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 22)
#define LOG_TOOL_WCDMA_HSDPA_PACKET_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 23)
#define LOG_TOOL_WCDMA_HSDPA_STATISTIC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 24)
#define LOG_TOOL_WCDMA_HSUPA_PACKET_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 25)
#define LOG_TOOL_WCDMA_HSUPA_STATISTIC_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 26)
#define LOG_TOOL_WCDMA_SLEEP_MIX_INFO (WORD)(LOG_TOOL_WCDMA_L1_BASE + 27)
#define LOG_TOOL_WCDMA_L1_END LOG_TOOL_WCDMA_SLEEP_MIX_INFO + 1
////W_RRC
#define LOG_TOOL_W_AS_BASE (WORD)0x5100//
#define Z_WCDMA_RRC_STATUS_LOG (DWORD)(LOG_TOOL_W_AS_BASE+0)
#define Z_WCDMA_RRC_PROTOCOL_ERROR_LOG (DWORD)(LOG_TOOL_W_AS_BASE+1)
#define Z_WCDMA_RRC_SERVCELL_INFO_LOG (DWORD)(LOG_TOOL_W_AS_BASE+2)
#define Z_WCDMA_RRC_CMINFO_LOG (DWORD)(LOG_TOOL_W_AS_BASE+3)
#define Z_WCDMA_RRC_RESELECTCELL_LOG (DWORD)(LOG_TOOL_W_AS_BASE+4)
#define Z_WCDMA_RRC_FMOINFO_LOG (DWORD)(LOG_TOOL_W_AS_BASE+5)
#define Z_WCDMA_RRC_MCEVENTINFO_LOG (DWORD)(LOG_TOOL_W_AS_BASE+6)
#define Z_WCDMA_RRC_CELLINFO_LOG (DWORD)(LOG_TOOL_W_AS_BASE+7)
#define Z_WCDMA_RRC_PRIOINFO_LOG (DWORD)(LOG_TOOL_W_AS_BASE+8)
#define Z_WCDMA_RRC_EVENT_FREQQUA_LOG (DWORD)(LOG_TOOL_W_AS_BASE+9)
#define Z_WCDMA_RRC_CELLRST_LOG (DWORD)(LOG_TOOL_W_AS_BASE+10)
#define Z_WCDMA_RRC_TRAFFIC_REPORT_LOG (DWORD)(LOG_TOOL_W_AS_BASE+11)
//RLC
#define Z_WCDMA_RLC_DlAmSta_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+12)
#define Z_WCDMA_RLC_UlAmSta_Tv_LOG (DWORD)(LOG_TOOL_W_AS_BASE+13)
#define Z_WCDMA_RLC_Sta_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+14)
#define Z_WCDMA_RLC_UlTm_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+15)
#define Z_WCDMA_RLC_UlUm_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+16)
#define Z_WCDMA_RLC_DlTm_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+17)
#define Z_WCDMA_RLC_DlUm_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+18)
#define Z_WCDMA_RLC_DlAmConfig_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+19)
#define Z_WCDMA_RLC_UlAmConfig_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+20)
#define Z_WCDMA_RLC_AmPdu_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+21)
#define Z_WCDMA_RLC_RbRat_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+22)
#define Z_WCDMA_RLC_AmCtrlPdu_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+23)
#define Z_WCDMA_RLC_FlexPduPack_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+24)
//MAC
#define Z_WCDMA_MAC_UlLgchPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+25)
#define Z_WCDMA_MAC_DlLgchPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+26)
#define Z_WCDMA_MAC_RachCtrlPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+27)
#define Z_WCDMA_MAC_UlTfcsPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+28)
#define Z_WCDMA_MAC_DynamicUpaPduPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+29)
#define Z_WCDMA_MAC_StaticsUpaPduPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+30)
#define Z_WCDMA_MAC_MaceCfgPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+31)
#define Z_WCDMA_MAC_MaceHeaderPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+32)
#define Z_WCDMA_MAC_MacHsCfgPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+33)
#define Z_WCDMA_MAC_DpaReorderingPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+34)
#define Z_WCDMA_MAC_MacHsRstPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+35)
#define Z_WCDMA_MAC_DpaPduPara_LOG (DWORD)(LOG_TOOL_W_AS_BASE+36)
#define Z_WCDMA_MAC_Lgch_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+38)
//PDCP
#define Z_WCDMA_PDCP_RatRat_TV_LOG (DWORD)(LOG_TOOL_W_AS_BASE+37)
/////W_NAS
#define LOG_TOOL_W_NAS_BASE (DWORD)0x5200
#define GMM_STATE_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+1)
#define MM_STATE_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+2)
#define NAS_REGISRT_STATE_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+3)
#define CC_MO_SETUP_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+4)
#define SM_MO_SETUP_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+5)
#define NAS_MM_CHARACTERISTICS_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+6)
#define NAS_QoS_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+7)
#define NAS_BC_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+8)
#define UE_DYNAMICID_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+9)
#define UE_STATIC_LOG (DWORD)(LOG_TOOL_W_NAS_BASE+10)
// ºóÐøÌí¼ÓÐÂLog£¬Ðè¸üÐÂLOG_TOOL_LASTµÄÖµ
#define LOG_TOOL_LAST (WORD)(UE_STATIC_LOG + 1)
////////////////////////////////////// Event /////////////////////////////////
#define EVT_TOOL_BASE (WORD)0x0000//(WORD)0x0000
//Common
#define EVT_TOOL_COMMON_BASE (WORD)EVT_TOOL_BASE//(WORD)0x0000
#define TRACS_DELAYEVENT_IND_EV (WORD)(EVT_TOOL_COMMON_BASE + 1)
//LTE
#define EVT_TOOL_LTE_BASE (WORD)0x1000//(WORD)0x0200
//NAS
#define EVT_TOOL_LTE_NAS_BASE (WORD)0x1000//(WORD)0x0200
#define EMM_TIMER_START_EVENT (WORD)(EVT_TOOL_LTE_NAS_BASE + 0)
#define EMM_TIMER_EXPIRY_EVENT (WORD)(EVT_TOOL_LTE_NAS_BASE + 1)
#define ESM_TIMER_START_EVENT (WORD)(EVT_TOOL_LTE_NAS_BASE + 2)
#define ESM_TIMER_EXPIRY_EVENT (WORD)(EVT_TOOL_LTE_NAS_BASE + 3)
//MAC
#define EVT_TOOL_LTE_MAC_BASE (WORD)0x1100//(WORD)0x0400
#define EUMAC_TIMER_EVENT (WORD)(EVT_TOOL_LTE_MAC_BASE + 0)
#define EUMAC_RESET_EVENT (WORD)(EVT_TOOL_LTE_MAC_BASE + 1)
//RRC
#define EVT_TOOL_LTE_RRC_BASE (WORD)0x1200//(WORD)0x0600
#define EURRC_TIMER_EVENT (WORD)(EVT_TOOL_LTE_RRC_BASE + 0)
#define PAGING_DRX_CYCLE_EVENT (WORD)(EVT_TOOL_LTE_RRC_BASE + 1)
#define SIB_READ_FAIL_EVENT (WORD)(EVT_TOOL_LTE_RRC_BASE + 2)
#define EURRC_SECUIRITY_CFG_EVENT (WORD)(EVT_TOOL_LTE_RRC_BASE + 3)
//Other
#define EVT_TOOL_OTHER_BASE (WORD)0x2000//(WORD)0x0800
#define TA_EVENT (WORD)(EVT_TOOL_OTHER_BASE + 0)
#define UL_OOS_EVENT (WORD)(EVT_TOOL_OTHER_BASE + 1)
#define RACH_ACS_STARE_EVENT (WORD)(EVT_TOOL_OTHER_BASE + 2)
#define RACH_ACS_RSLT_EVENT (WORD)(EVT_TOOL_OTHER_BASE + 3)
#define BSR_OR_SR_REQ_EVENT (WORD)(EVT_TOOL_OTHER_BASE + 4)
/////WCDMA
#define LOG_TOOL_W_EVENT_BASE (DWORD)0x2100
#define UMTS_TIMER_EVENT (DWORD)(LOG_TOOL_W_EVENT_BASE+1)
#define W_CAMPFAIL_EVENT (DWORD)(LOG_TOOL_W_EVENT_BASE+2)
#define W_OUTSYNC_EVENT (DWORD)(LOG_TOOL_W_EVENT_BASE+3)
#define W_RLCUNRECOVERR_EVENT (DWORD)(LOG_TOOL_W_EVENT_BASE+4)
#define NAS_INTIATIVE_DISCONN_EVENT (DWORD)(LOG_TOOL_W_EVENT_BASE+5)
#define NAS_UNSOLICITED_DISCONN_EVENT (DWORD)(LOG_TOOL_W_EVENT_BASE+6)
#define NAS_OOS_EVENT (DWORD)(LOG_TOOL_W_EVENT_BASE+7)
// ºóÐøÌí¼ÓÐÂEvent£¬Ðè¸üÐÂEVT_TOOL_LASTµÄÖµ
#define EVT_TOOL_LAST (WORD)(NAS_OOS_EVENT + 1)
#endif