blob: 5e1b179d828eae61265c5c68b2f692955827a0d5 [file] [log] [blame]
/*****************************************************************************
*°æ±¾ËùÓÐ (C)2007ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾
* Ä£¿éÃû £º
* ÎļþÃû £ºpstraceint.h
* Îļþ±êʶ£º
* Ïà¹ØÎļþ£º
* ʵÏÖ¹¦ÄÜ£ºÐ­ÒéÕ»Éϱ¨¸ø¹¤¾ßÐÅÏ¢µÄ»ù±¾ºê¡¢Êý¾Ý½á¹¹¶¨Òå
* ×÷Õß £º
* °æ±¾ £º
* Íê³ÉÈÕÆÚ£º
* ÆäËü˵Ã÷£º
*****************************************************************************/
#ifndef ZPS_PS_TRACE_H
#define ZPS_PS_TRACE_H
#include "StdLogMsgID.h"
#define Z_URLC_MAX_TRACE_NUM (BYTE)25 /*ÐÅÁî¸ú×ÙpduµÄ×î´ó¸öÊý*/
#define Z_URLC_MAX_NACKTRACE_NUM (BYTE)20 /*ÿ´Î×î¶à¸ú×ÙµÄNACK¸öÊý,±ØÐëÊÇżÊý*/
#define Z_URLC_MAX_DATATRACE_NUM (BYTE)6 /*ÿ´Î×î¶à¸ú×ÙµÄ×Ö½ÚÊý*/
#define Z_EUMCR_TRACE_LTE_RLT_FREQ_NUM (BYTE)8
#define Z_EUMCR_TRACE_LTE_CELL_NUM (BYTE)32
#define Z_EUMCR_TRACE_TD_RLT_FREQ_NUM (BYTE)16
#define Z_EUMCR_TRACE_TD_CELL_NUM (BYTE)32
#define Z_EUMCR_TRACE_GSM_CELL_NUM (BYTE)32
#define Z_EUMCR_TRACE_MEASID_NUM (BYTE)32
#define Z_EUMCR_TRACE_EVAL_CELL_NUM (BYTE)32
#define Z_TRACE_MaxNTCellNum (BYTE)6 /*×î´óÉϱ¨TDÁÚÇø¸öÊý(º¬Í¬Æµ¡¢ÒìÆµ)£¬ÊÊÓÃÓÚ¿çÖÆÊ½*/
#define Z_TRACE_MaxNGCellNum (BYTE)6 /*×î´óÉϱ¨GSMÁÚÇø¸öÊý£¬ÊÊÓÃÓÚ¿çÖÆÊ½*/
#define Z_TRACE_MaxNLCellNum (BYTE)32 /*×î´óÉϱ¨LTEÁÚÇø¸öÊý£¬ÊÊÓÃÓÚ¿çÖÆÊ½*/
/*========================== ÖÆÊ½ºê¶¨Òå ==========================*/
#define Z_TRACE_GSM (BYTE)0
#define Z_TRACE_TD (BYTE)1
#define Z_TRACE_LTE (BYTE)2
#define Z_TRACE_W (BYTE)3
/*======================== ΪLTE¿çÖÆÊ½Ê±ÑÓÐèÇóÔö¼Óͳ¼ÆÔö¼Óºêȡֵ ========================*/
#define Z_DELAY_CNTTYPE_CR (BYTE)0 /*ʱÑÓͳ¼ÆÀàÐÍ, Ð¡ÇøÖØÑ¡*/
#define Z_DELAY_CNTTYPE_HO (BYTE)1 /*ʱÑÓͳ¼ÆÀàÐÍ, Çл»*/
#define Z_DELAY_CNTTYPE_RD (BYTE)2 /*ʱÑÓͳ¼ÆÀàÐÍ, ÖØ¶¨Ïò*/
#define Z_DELAY_CNTTYPE_CS (BYTE)3 /*ʱÑÓͳ¼ÆÀàÐÍ, Ð¡ÇøÑ¡Ôñ*/
#define Z_DELAY_CNTTYPE_SC (BYTE)4 /*ʱÑÓͳ¼ÆÀàÐÍ, Ð¡ÇøËÑË÷*/
#define Z_DELAY_CNTTYPE_ACC (BYTE)5 /*ʱÑÓͳ¼ÆÀàÐÍ, ½ÓÈëʱÑÓ*/
#define Z_DELAY_CNTTYPE_M2C (BYTE)6 /*ʱÑÓͳ¼ÆÀàÐÍ, MIBµ½camp on*/
#define Z_DELAY_CNTTYPE_M2A (BYTE)7 /*ʱÑÓͳ¼ÆÀàÐÍ, MSG1µ½attach complete*/
#define Z_DELAY_CNTTYPE_CP (BYTE)8 /*ʱÑÓͳ¼ÆÀàÐÍ, ¿ØÖÆÃæÊ±ÑÓ*/
#define Z_DELAY_CNTTYPE_PAG (BYTE)9 /*ʱÑÓͳ¼ÆÀàÐÍ, UEѰºôʱÑÓ*/
#define Z_DELAY_CNTTYPE_MAXVALUE (BYTE)Z_DELAY_CNTTYPE_PAG
#define Z_DELAY_DIRECT_L2T (BYTE)0 /*ʱÑÓͳ¼Æ·½Ïò, LTE->TDS*/
#define Z_DELAY_DIRECT_L2G (BYTE)1 /*ʱÑÓͳ¼Æ·½Ïò, LTE->GSM*/
#define Z_DELAY_DIRECT_T2L (BYTE)2 /*ʱÑÓͳ¼Æ·½Ïò, TDS->LTE*/
#define Z_DELAY_DIRECT_G2L (BYTE)3 /*ʱÑÓͳ¼Æ·½Ïò, GSM->LTE*/
#define Z_DELAY_DIRECT_L (BYTE)4 /*ʱÑÓͳ¼Æ·½Ïò, LTEÖÆÊ½ÄÚ*/
#define Z_DELAY_DIRECT_T (BYTE)5 /*ʱÑÓͳ¼Æ·½Ïò, TDÖÆÊ½ÄÚ*/
#define Z_DELAY_DIRECT_MAXVALUE (BYTE)Z_DELAY_DIRECT_T
#define Z_DELAY_DIRECT_INVALID (BYTE)0xFF /*ʱÑÓͳ¼Æ·½Ïò, »ñȡʧ°Üʱ·µ»ØµÄÎÞЧ·½Ïò²ÎÊý*/
/*======================== Ϊ¶àÄ£»¥²Ù×÷Éϱ¨Ê¼þºÅºêȡֵ ========================*/
#define Z_GSM_LOSENET (WORD)1 /* GSMÖÆÊ½Ï£¬¶ªÍø¿ªÊ¼Ê¼þ*/
#define Z_GSM_CRSTART (WORD)2 /* GSMÖÆÊ½Ï£¬ÖØÑ¡¿ªÊ¼Ê¼þ*/
#define Z_GSM_CRFAIL (WORD)3 /* GSMÖÆÊ½Ï£¬ÖØÑ¡Ê§°Üʼþ*/
#define Z_GSM_CAMPONSTART (WORD)4 /* GSMÖÆÊ½Ï£¬×¤Áô¿ªÊ¼Ê¼þ*/
#define Z_GSM_CAMPONSUCC (WORD)5 /* GSMÖÆÊ½Ï£¬×¤Áô³É¹¦Ê¼þ*/
#define Z_GSM_HOFAIL (WORD)6 /* GSMÖÆÊ½Ï£¬Çл»Ê§°Üʼþ*/
#define Z_GSM_IRATMEASTART (WORD)7 /* GSMÖÆÊ½Ï£¬Æô¶¯ÒìÖÆÊ½²âÁ¿Ê¼þ*/
#define Z_GSM_IRATMEASTOP (WORD)8 /* GSMÖÆÊ½Ï£¬Í£ÒìÖÆÊ½²âÁ¿Ê¼þ*/
#define Z_GSM_HOSTART (WORD)9 /* GSMÖÆÊ½Ï£¬Çл»¿ªÊ¼Ê¼þ*/
#define Z_GSM_HOSUCC (WORD)10 /* GSMÖÆÊ½Ï£¬Çл»³É¹¦Ê¼þ*/
#define Z_GSM_REDERICTSTART (WORD)11 /* GSMÖÆÊ½Ï£¬Öض¨Ïò¿ªÊ¼Ê¼þ*/
#define Z_GSM_REDERICTFAIL (WORD)12 /* GSMÖÆÊ½Ï£¬Öض¨Ïòʧ°Üʼþ*/
#define Z_GSM_CCOSTART (WORD)13 /* GSMÖÆÊ½Ï£¬CCO¿ªÊ¼Ê¼þ*/
#define Z_GSM_CCOFAIL (WORD)14 /* GSMÖÆÊ½Ï£¬CCOʧ°Üʼþ*/
#define Z_GSM_CCOSUCC (WORD)15 /* GSMÖÆÊ½Ï£¬CCO³É¹¦Ê¼þ*/
#define Z_TD_LOSENET (WORD)100 /* TDÖÆÊ½Ï£¬¶ªÍø¿ªÊ¼Ê¼þ*/
#define Z_TD_CRSTART (WORD)101 /* TDÖÆÊ½Ï£¬ÖØÑ¡¿ªÊ¼Ê¼þ*/
#define Z_TD_CRFAIL (WORD)102 /* TDÖÆÊ½Ï£¬ÖØÑ¡Ê§°Üʼþ*/
#define Z_TD_CAMPONSTART (WORD)103 /* TDÖÆÊ½Ï£¬×¤Áô¿ªÊ¼Ê¼þ*/
#define Z_TD_CAMPONSUCC (WORD)104 /* TDÖÆÊ½Ï£¬×¤Áô³É¹¦Ê¼þ*/
#define Z_TD_HOFAIL (WORD)105 /* TDÖÆÊ½Ï£¬Çл»Ê§°Üʼþ*/
#define Z_TD_IRATMEASTART (WORD)106 /* TDÖÆÊ½Ï£¬Æô¶¯ÒìÖÆÊ½²âÁ¿Ê¼þ*/
#define Z_TD_RESTFAIL (WORD)107 /* TDÖÆÊ½Ï£¬Öؽ¨Ê§°Üʼþ*/
#define Z_TD_IRATMEASTOP (WORD)108 /* TDÖÆÊ½Ï£¬Í£ÒìÖÆÊ½²âÁ¿Ê¼þ*/
#define Z_TD_HOSTART (WORD)109 /* TDÖÆÊ½Ï£¬Çл»¿ªÊ¼Ê¼þ*/
#define Z_TD_HOSUCC (WORD)110 /* TDÖÆÊ½Ï£¬Çл»³É¹¦Ê¼þ*/
#define Z_TD_RESTSTART (WORD)111 /* TDÖÆÊ½Ï£¬Öؽ¨¿ªÊ¼Ê¼þ*/
#define Z_TD_RESTSUCC (WORD)112 /* TDÖÆÊ½Ï£¬Öؽ¨³É¹¦Ê¼þ*/
#define Z_TD_REDERICTSTART (WORD)113 /* TDÖÆÊ½Ï£¬Öض¨Ïò¿ªÊ¼Ê¼þ*/
#define Z_TD_REDERICTFAIL (WORD)114 /* TDÖÆÊ½Ï£¬Öض¨Ïòʧ°Üʼþ*/
#define Z_TD_CCOSTART (WORD)115 /* TDÖÆÊ½Ï£¬CCO¿ªÊ¼Ê¼þ*/
#define Z_TD_CCOFAIL (WORD)116 /* TDÖÆÊ½Ï£¬CCOʧ°Üʼþ*/
#define Z_TD_CCOSUCC (WORD)117 /* TDÖÆÊ½Ï£¬CCO³É¹¦Ê¼þ*/
#define Z_W_CRSTART (WORD)301 /* WÖÆÊ½Ï£¬ÖØÑ¡¿ªÊ¼Ê¼þ*/
#define Z_W_CRFAIL (WORD)302 /* WÖÆÊ½Ï£¬ÖØÑ¡Ê§°Üʼþ*/
#define Z_W_CRSUCC (WORD)303 /* WÖÆÊ½Ï£¬ÖØÑ¡³É¹¦Ê¼þ*/
#define Z_W_HOSTART (WORD)304 /* WÖÆÊ½Ï£¬Çл»¿ªÊ¼Ê¼þ*/
#define Z_W_HOSUCC (WORD)305 /* WÖÆÊ½Ï£¬Çл»³É¹¦Ê¼þ*/
#define Z_W_HOFAIL (WORD)306 /* WÖÆÊ½Ï£¬Çл»Ê§°Üʼþ*/
#define Z_W_REDERICTSUCC (WORD)307 /* WÖÆÊ½Ï£¬Öض¨Ïò³É¹¦Ê¼þ*/
#define Z_W_REDERICTSTART (WORD)308 /* WÖÆÊ½Ï£¬Öض¨Ïò¿ªÊ¼Ê¼þ*/
#define Z_W_REDERICTFAIL (WORD)309 /* WÖÆÊ½Ï£¬Öض¨Ïòʧ°Üʼþ*/
#define Z_W_CCOSTART (WORD)310 /* WÖÆÊ½Ï£¬CCO¿ªÊ¼Ê¼þ*/
#define Z_W_CCOFAIL (WORD)311 /* WÖÆÊ½Ï£¬CCOʧ°Üʼþ*/
#define Z_W_CCOSUCC (WORD)312 /* WÖÆÊ½Ï£¬CCO³É¹¦Ê¼þ*/
#define Z_LTE_LOSENET (WORD)600 /* LTEÖÆÊ½Ï£¬¶ªÍø¿ªÊ¼Ê¼þ*/
#define Z_LTE_CRSTART (WORD)601 /* LTEÖÆÊ½Ï£¬ÖØÑ¡¿ªÊ¼Ê¼þ*/
#define Z_LTE_CRFAIL (WORD)602 /* LTEÖÆÊ½Ï£¬ÖØÑ¡Ê§°Üʼþ*/
#define Z_LTE_CAMPONSTART (WORD)603 /* LTEÖÆÊ½Ï£¬×¤Áô¿ªÊ¼Ê¼þ*/
#define Z_LTE_CAMPONSUCC (WORD)604 /* LTEÖÆÊ½Ï£¬×¤Áô³É¹¦Ê¼þ*/
#define Z_LTE_HOFAIL (WORD)605 /* LTEÖÆÊ½Ï£¬Çл»Ê§°Üʼþ*/
#define Z_LTE_IRATMEASTART (WORD)606 /* LTEÖÆÊ½Ï£¬Æô¶¯ÒìÖÆÊ½²âÁ¿Ê¼þ*/
#define Z_LTE_RESTFAIL (WORD)607 /* LTEÖÆÊ½Ï£¬Öؽ¨Ê§°Üʼþ*/
#define Z_LTE_IRATMEASTOP (WORD)608 /* LTEÖÆÊ½Ï£¬Í£ÒìÖÆÊ½²âÁ¿Ê¼þ*/
#define Z_LTE_HOSTART (WORD)609 /* LTEÖÆÊ½Ï£¬Çл»¿ªÊ¼Ê¼þ*/
#define Z_LTE_HOSUCC (WORD)610 /* LTEÖÆÊ½Ï£¬Çл»³É¹¦Ê¼þ*/
#define Z_LTE_RESTSTART (WORD)611 /* LTEÖÆÊ½Ï£¬Öؽ¨¿ªÊ¼Ê¼þ*/
#define Z_LTE_RESTSUCC (WORD)612 /* LTEÖÆÊ½Ï£¬Öؽ¨³É¹¦Ê¼þ*/
#define Z_LTE_REDERICTSTART (WORD)613 /* LTEÖÆÊ½Ï£¬Öض¨Ïò¿ªÊ¼Ê¼þ*/
#define Z_LTE_REDERICTFAIL (WORD)614 /* LTEÖÆÊ½Ï£¬Öض¨Ïòʧ°Üʼþ*/
#define Z_LTE_CCOSTART (WORD)615 /* LTEÖÆÊ½Ï£¬CCO¿ªÊ¼Ê¼þ*/
#define Z_LTE_CCOFAIL (WORD)616 /* LTEÖÆÊ½Ï£¬CCOʧ°Üʼþ*/
#define Z_LTE_CCOSUCC (WORD)617 /* LTEÖÆÊ½Ï£¬CCO³É¹¦Ê¼þ*/
/*==========ЭÒéÕ»Éϱ¨¸øÂ·²âʼþÐÅÏ¢µÄË÷ÒýÖµºêÖµ¶¨Òå =================*/
#define Z_CR_STRART_IDX (BYTE)1
#define Z_CAMPON_SUCC_IDX (BYTE)2
#define Z_IRATMEA_START_IDX (BYTE)3
#define Z_IRATMEA_STOP_IDX (BYTE)Z_IRATMEA_START_IDX
#define Z_HO_START_IDX (BYTE)Z_CR_STRART_IDX
#define Z_RD_START_IDX (BYTE)4
#define Z_CCO_START_IDX (BYTE)Z_CR_STRART_IDX
/*============= ¹¤¾ßUE²à´úÀíÇëÇóЭÒéÕ»Éϱ¨µÄÐÅÏ¢ÀàÐͺ궨Òå =======================*/
#define Z_TRACE_LTEUEINFO_REQ (BYTE)0
#define Z_TRACE_CELLRESORCCO_REQ (BYTE)1
#define Z_TRACE_CELLRESORCCO_STOP (BYTE)2
#define Z_TRACE_CELLINFO_REQ (BYTE)3
#define Z_TRACE_CELLINFO_STOP (BYTE)4
/*============================= ERRC ЭÒ鶨ʱÆ÷¶¨Òå=================================*/
typedef enum
{
Z_EURRC_TMRI_T300,
Z_EURRC_TMRI_T301,
Z_EURRC_TMRI_T302,
Z_EURRC_TMRI_T303,
Z_EURRC_TMRI_T304,
Z_EURRC_TMRI_T305,
Z_EURRC_TMRI_T310,
Z_EURRC_TMRI_T311,
Z_EURRC_TMRI_T320,
Z_EURRC_TMRI_T321,
Z_EURRC_TMRI_CONN_REL,
Z_EURRC_TMRI_OOS,
Z_EURRC_TMRI_3HOUR,
Z_EURRC_TMRI_ETWS,
Z_EURRC_TMRI_CMAS,
Z_EURRC_TMRI_PAGING_SIMODI_WAIT
} T_zEurrc_TimerType;
/* bNasRegState ȡֵ£º*/
#define REG_STATE_INACTIVE (BYTE)0 /* REG_STATE_INACTIVE*/
#define REG_STATE_IDLE (BYTE)1 /* REG_STATE_IDLE*/
#define REG_STATE_REGISTERING (BYTE)2 /* REG_STATE_REGISTERING*/
#define REG_STATE_DEREGISTERING (BYTE)3 /* REG_STATE_DEREGISTERING*/
#define REG_STATE_MANUAL_SEARCH (BYTE)4 /* REG_STATE_MANUAL_SEARCH*/
#define REG_STATE_AUTOMATIC_SEARCH (BYTE)5 /* REG_STATE_AUTOMATIC_SEARCH*/
#define REG_STATE_OFFLINE (BYTE)6 /* REG_STATE_OFFLINE*/
/* bPlmnSelMode ȡֵ£º*/
#define PlmnSelMode_Auto (BYTE)0 /* Automatic*/
#define PlmnSelMode_Manual (BYTE)1 /* Manual*/
/* bUeOperMode ȡֵ£º*/
#define UeOperMode_A (BYTE)0 /* Class A*/
#define UeOperMode_B (BYTE)1 /* Class B*/
#define UeOperMode_C (BYTE)2 /* Class C*/
/*bCcStateȡֵ£º*/
#define CC_STATE_U0 (BYTE)0 /* U0*/
#define CC_STATE_U1 (BYTE)1 /* U1*/
#define CC_STATE_U0_1 (BYTE)2 /* U0_1*/
#define CC_STATE_U0_2 (BYTE)34 /* U0_2*/
#define CC_STATE_U0_3 (BYTE)35 /* U0_3*/
#define CC_STATE_U0_4 (BYTE)36 /* U0_4*/
#define CC_STATE_U0_5 (BYTE)37 /* U0_5*/
#define CC_STATE_U0_6 (BYTE)38 /* U0_6*/
#define CC_STATE_U3 (BYTE)3 /* U3*/
#define CC_STATE_U4 (BYTE)4 /* U4*/
#define CC_STATE_U6 (BYTE)6 /* U6*/
#define CC_STATE_U7 (BYTE)7 /* U7*/
#define CC_STATE_U8 (BYTE)8 /* U8*/
#define CC_STATE_U9 (BYTE)9 /* U9*/
#define CC_STATE_U10 (BYTE)10 /* U10*/
#define CC_STATE_U11 (BYTE)11 /* U11*/
#define CC_STATE_U12 (BYTE)12 /* U12*/
#define CC_STATE_U19 (BYTE)19 /* U19*/
#define CC_STATE_U26 (BYTE)26 /* U26*/
#define CC_STATE_U27 (BYTE)27 /* U27*/
#define CC_STATE_U10_DTMF (BYTE)138 /* U10_DTMF*/
/*bHoldStare ȡֵ*/
#define CC_HOLD_IDLE (BYTE)0 /*HOLD_IDLE*/
#define CC_HOLD_REQUEST (BYTE)1 /*HOLD_REQUEST*/
#define CC_HOLD_CALL_HELD (BYTE)2 /*HOLD_CALL_HELD*/
#define CC_HOLD_RETRIEVE_REQUEST (BYTE)3 /*HOLD_RETRIEVE_REQUEST*/
/*bCallType ȡֵ*/
#define CC_VOICE_CALL (BYTE)0 /*Voice call*/
#define CC_DATA_CALL (BYTE)1 /*Data call*/
/*bCallOrigDir ȡֵ*/
#define CC_MT (BYTE)0 /*Mobile-terminated*/
#define CC_MO (BYTE)1 /*Mobile-originated*/
/*bNSAPI ȡֵ£º*/
#define NSAPI_5 (BYTE)5 /* NSAPI 5*/
#define NSAPI_6 (BYTE)6 /* NSAPI 6*/
#define NSAPI_7 (BYTE)7 /* NSAPI 7*/
#define NSAPI_8 (BYTE)8 /* NSAPI 8*/
#define NSAPI_9 (BYTE)9 /* NSAPI 9*/
#define NSAPI_10 (BYTE)10 /* NSAPI 10*/
#define NSAPI_11 (BYTE)11 /* NSAPI 11*/
#define NSAPI_12 (BYTE)12 /*NSAPI 12*/
#define NSAPI_13 (BYTE)10 /*NSAPI 13*/
#define NSAPI_14 (BYTE)11 /*NSAPI 14*/
#define NSAPI_15 (BYTE)12 /*NSAPI 15*/
#define Z_TRACE_MAX_PLMN_NUM (BYTE)15
/* mcr */
#define WRRC_MAX_RES_WCELL (BYTE)32
#define WRRC_MAX_RES_GSMCELL (BYTE)32
#define WRRC_MAX_RES_LTECELL (BYTE)16
#define WRRC_MAX_EVENT_NUM (BYTE)16
#define WRRC_MAX_INTERFREQ_NUM (BYTE)2
#define WRRC_MAX_AS_NUM (BYTE)8
#define WRRC_MAX_DS_NUM (BYTE)8
#define WRRC_MAX_MS_NUM (BYTE)32
#define WRRC_MAX_INTRACELL_NUM (BYTE)32
#define WRRC_MAX_INTERCELL_NUM (BYTE)32
#define WRRC_MAX_GSMCELL_NUM (BYTE)32
#define WRRC_MAX_LTECELL_NUM (BYTE)16
#define WRRC_MAX_LTEFREQ_NUM (BYTE)8
#define WRRC_MAX_CM_NUM (BYTE)6
#define WRRC_MAX_INTRAMEASEVENT (BYTE)9
#define WRRC_MAX_INTERMEASEVENT (BYTE)7
#define WRRC_MAX_RATMEASEVENT (BYTE)8
#define WRRC_MAX_PRIOUTRAFREQ_NUM (BYTE)8
/* rlc */
#define Z_WRLC_MAX_AMNUM (BYTE)4
#define Z_WRLC_MAX_LOGNUM (BYTE)20
#define Z_WRLC_MAX_TM_NUM (BYTE)8
#define Z_WRLC_MAX_UM_NUM (BYTE)3
#define Z_WRLC_MAX_AM_CFGUM (BYTE)4
#define Z_WRLC_MAX_DLPDU_NUM (BYTE)70
#define Z_WRLC_MAX_DLAM_NUM (BYTE)4
#define Z_WRLC_RB_NUM (BYTE)32
#define Z_WRLC_MAX_RLCLOGGED_NUM (BYTE)4
#define Z_WRLC_MAX_PDCP_RB_NUM (BYTE)5
/* mac */
#define WMAC_UPA_PDU_SAMPLE_MAX_NUM_LOG (BYTE)50 /*UPA PDU²ÉÑù×î´óÊýÁ¿*/
#define WMAC_UPA_MAC_D_FLOW_DDI_MAX_NUM_LOG (BYTE)32
#define WMAC_UPA_MAC_E_HEADER_DDI_MAX_NUM_LOG (BYTE)62
#define WMAC_DPA_RST_MAX_LGCH_NUM_LOG (BYTE)32
typedef BYTE T_zUrrc_ASN1NULL_Trace;
#define Z_MAX_RB_NUM_TRACE (BYTE)11
#define Z_W_P_MAX_UL_TRCH_NUM_TRACE (BYTE)8
#define Z_MAX_LGCH_ID_TRACE (BYTE)15
#define Z_W_P_MAX_DL_TRCH_NUM_TRACE (BYTE)8
#define Z_WMAC_MAX_NUM_OF_ASC_TRACE (BYTE)8
#define Z_W_P_MAX_UL_TFC_NUM_TRACE (BYTE)64
#define Z_WMAC_MAX_EMAC_D_FLOW_NUM_TRACE (BYTE)8
#define Z_WMAC_MAX_SID_NUM_TRACE (BYTE)8
#define Z_WMAC_MAX_DL_QUEUE_NUM_TRACE (BYTE)8
#define Z_TIMER_START (BYTE)0
#define Z_TIMER_STOP (BYTE)1
#define Z_TIMER_EXPIRE (BYTE)2
#define Z_CAMPFAIL_CAU_BCHFAIL (BYTE)0 /* SIR¾Ü¾ø×¤ÁôÔ­ÒòΪ´ò¿ªBCHʧ°Ü */
#define Z_CAMPFAIL_CAU_RSCP (BYTE)1 /* SIR¾Ü¾ø×¤ÁôÔ­ÒòΪ²»Âú×ãS×¼Ôò */
#define Z_CAMPFAIL_CAU_BAR (BYTE)2 /* SIR¾Ü¾ø×¤ÁôÔ­ÒòÎªÐ¡Çø±»Bar */
#define Z_CAMPFAIL_CAU_PLMN (BYTE)3 /* SIR¾Ü¾ø×¤ÁôÔ­ÒòΪPLMN²»Âú×ã */
#define Z_CAMPFAIL_CAU_LAC (BYTE)4
/*+ZEMSCI*/
#define Z_EM_MAX_GSM_NCELL_NUM 32
#define Z_EM_MAX_TD_NCELL_NUM 32
#define Z_EM_MAX_W_NCELL_NUM 32
#define Z_EM_MAX_LTE_NCELL_NUM 32
#define Z_EM_MAX_TD_EVENT_NUM 16
#define Z_EM_MAX_W_ASCELL_NUM 8
#define Z_EM_MAX_W_INTERFREQ_NUM 2
#define Z_EM_MAX_W_EVENT_NUM 16
#define Z_EM_MAX_QOS_NUM 8
/*LTE A ÏÂSCELLÉϱ¨²ÎÊý*/
#define Z_EM_LTE_SCELL_NUM 6
/*PlmnId*/
typedef struct {
BITS bMCC1 :4;
BITS bMCC2 :4;
BITS bMCC3 :4;
BITS bMNC3 :4; /*Ö»ÓÐ2¸öMNCʱ¸Ã×Ö¶ÎÌîд1111*/
BITS bMNC1 :4;
BITS bMNC2 :4;
}T_z_PlmnId_Trace;
typedef struct {
BYTE bNum; /*BCDÂë¸öÊý*/
BYTE abPadding[3];
BYTE abId[8];
}T_z_IMSI_Trace;
/*TDÐ¡Çø»ù±¾ÐÅÏ¢*/
typedef struct{
BYTE bCellParaId;
BYTE bPadding;
WORD wUarfcn;
}T_z_TdCell_Trace;
/*WCDMAÐ¡Çø»ù±¾ÐÅÏ¢*/
typedef struct{
WORD wPrimSc;
WORD wUarfcn;
}T_z_WCell_Trace;
/*GSMÐ¡Çø»ù±¾ÐÅÏ¢*/
typedef struct{
BYTE bBand;
BYTE bBsic;
WORD wArfcn;
}T_z_GsmCell_Trace;
/*LTEÐ¡Çø»ù±¾ÐÅÏ¢*/
typedef struct{
DWORD dwEarfcn;
WORD wPhyCellId;
}T_z_LteCell_Trace;
/*Ð¡ÇøÐÅÏ¢*/
typedef struct{
BYTE bAct;
BYTE abPadding[3];
union{
T_z_TdCell_Trace tTd;
T_z_WCell_Trace tW;
T_z_GsmCell_Trace tGsm;
T_z_LteCell_Trace tLte;
}uCell;
}T_z_CellInfo_Trace;
/*GSM,TD ÁÚÇøÐÅÏ¢*/
typedef struct {
T_z_GsmCell_Trace tNGCell; /*TD, GSMÁÚÇøÐÅÏ¢*/
BYTE bNGCellRssi;/*TD, GSMÁÚÇøRSSIÖµ*/
BYTE bNGCellMinRxlev;/*TD,GSMÁÚÇø×îС½ÓÊÕµçÆ½Öµ ȡֵ0..63£¬ÈôÎÞÏàӦϵͳÐÅÏ¢£¬ÔòֵΪ0xff*/
BYTE bSupGprs; /* GSMÐ¡ÇøÊÇ·ñÖ§³ÖGPRS£¬Ä¬Èϲ»Ö§³Ö*/
BYTE bPadding1;
SHORT C1; /* GSM·¾¶ËðºÄ, ÎÞЧֵΪ-1*/
SHORT C2; /* GSMÎÞЧֵΪ-1*/
SHORT C31; /* GSMÎÞЧֵΪ-1*/
SHORT C32; /* GSMÎÞЧֵΪ-1*/
}T_z_NGcell_info_Trace;
/* ========================================================================
±ê×¼ÐÅÁîLOG½Ó¿Ú¶¨Òå BIGEN
======================================================================== */
/*========================================================================
LOGÀàÐÍ£ºTG_NAS_MSG_IND_EV
˵Ã÷£ºÉϱ¨TG NAS±ê×¼ÐÅÁî
=========================================================================*/
typedef struct {
DWORD dwCodeLen;
PBYTE pCode;
BYTE bUpDownFlag;
BYTE bPadding[3];
}T_zTGNasMsg_Ind;
/*========================================================================
LOGÀàÐÍ£ºGSM_RRC_MSG_IND_EV
˵Ã÷£ºÉϱ¨GSM RRC±ê×¼ÐÅÁî
=========================================================================*/
typedef struct {
DWORD dwCodeLen;
PBYTE pCode;
BYTE bPduType;
BYTE bUpDownFlag;
BYTE abPadding[2];
}T_zGsm_RRCMsg_Ind;
/*========================================================================
LOGÀàÐÍ£ºTD_RRC_MSG_IND_EV /W_RRC_MSG_IND_EV
˵Ã÷£ºÉϱ¨TD /WRRC±ê×¼ÐÅÁî
=========================================================================*/
typedef struct {
DWORD dwCodeLen;
PBYTE pCode;
BYTE bPduType;
BYTE abPadding[3];
}T_zTd_RRCMsg_Ind,T_zW_RRCMsg_Ind;
/*========================================================================
LOGÀàÐÍ£ºLTE_NAS_MSG_IND_EV
˵Ã÷£ºÉϱ¨LTE NAS±ê×¼ÐÅÁî
=========================================================================*/
typedef struct {
DWORD wCodeLen;
PBYTE pCode;
BYTE bUpDownFlag;
BYTE bPadding[3];
}T_zEmm_NasMsg_Ind;
/*========================================================================
LOGÀàÐÍ£ºLTE_RRC_MSG_IND_EV
˵Ã÷£ºÉϱ¨LTE RRC±ê×¼ÐÅÁî
=========================================================================*/
typedef struct {
DWORD dwCodeLen;
PBYTE pCode;
BYTE bPduType;
BYTE abPadding[3];
}T_z_LteRRCMsg_Ind;
/* ========================================================================
Ò»°ãLOG½Ó¿Ú¶¨Òå BIGEN
======================================================================== */
/*========================================================================
LOGÀàÐÍ£ºUMAC_UL_UPA_TB_INFO_TRACE_EV
˵Ã÷£ºÉϱ¨UPA TB¿éÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bSiFlag;
BYTE bTebs;
BYTE bHlbs;
BYTE bHlid;
}T_SI_Info;
typedef struct {
BYTE bRlcPduSize;
BYTE bN;
BYTE bTsn;
BYTE bLgchId;
}T_Mac_E_Header_Info;
typedef struct {
BYTE bVersion;
BYTE abPadding[2];
BYTE bMacesPduNum;
T_SI_Info tSiInfo;
T_Mac_E_Header_Info atMaceHeaderInfo[15];
}T_UPA_TB_Header_Info;
/*========================================================================
LOGÀàÐÍ£ºURLC_UL_DATAPDU_TRACE_EV¡¢URLC_DL_DATAPDU_TRACE_EV
˵Ã÷£ºÉϱ¨URLC ÉÏ¡¢ÏÂÐÐData PduÐÅÏ¢
=========================================================================*/
/*Êý¾ÝpduÐÅÁî¸ú×Ù½Úµã½á¹¹*/
typedef struct {
BYTE bRbId;
BYTE bPollFg;
WORD wSn;
BYTE bLiNum;
BYTE bErrInd;
WORD wPduSize;
}T_zUrlc_DataPduNode_Trace;
typedef struct {
BYTE bVersion;
BYTE bPadding;
BYTE bDirection;
BYTE bPduNum;
T_zUrlc_DataPduNode_Trace atDataPduNode[Z_URLC_MAX_TRACE_NUM];
}T_zUrlc_DataPdu_Trace;
/*========================================================================
LOGÀàÐÍ£ºURLC_UL_CTRLPDU_TRACE_EV¡¢URLC_DL_CTRLPDU_TRACE_EV
˵Ã÷£ºÉϱ¨URLC ÉÏ¡¢ÏÂÐÐCtrl PduÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE abPadding[3];
BYTE bDirection;
BYTE bRbId;
BYTE bPduType;
BYTE bNackNum;
WORD wNackSn[Z_URLC_MAX_NACKTRACE_NUM];
WORD wAckSn;
BYTE abData[Z_URLC_MAX_DATATRACE_NUM];
}T_zUrlc_CtrlPdu_Trace;
/*========================================================================
LOGÀàÐÍ£ºPDCP2URLC_DATA_IND_TRACE_EV¡¢PDCP2URLC_DATA_REQ_TRACE_EV
˵Ã÷£ºÉϱ¨PDCP ÉÏ¡¢ÏÂÐÐData ÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE abPadding[3];
BYTE bDirection;
BYTE bRbId;
WORD wDataLen;
}T_zPdcp_PsData_Trace;
/*========================================================================
LOGÀàÐÍ£ºMSGTRACEPS_CELLRESORCCO_IND_EV
˵Ã÷£º¹¤³ÌģʽÏÂUCSRÖ÷¶¯Éϱ¨ÖØÑ¡¡¢CCO´ÎÊýÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE abPadding[2];
BYTE bAct; /*ÖÆÊ½ÐÅÏ¢£º 0x00--GSMÖÆÊ½£¬0x01---TDÖÆÊ½£»*/
WORD wIntraRatResSuccCount; /*ÖÆÊ½ÄÚÖØÑ¡³É¹¦´ÎÊý,bAct=ZPS_TD_ACT¸üÐÂTDÖÆÊ½ÄÚÖØÑ¡,bAct=ZPS_GSM_ACT¸üÐÂGSMÖÆÊ½ÄÚÖØÑ¡*/
WORD wIntraRatResFailCount; /*ÖÆÊ½ÄÚÖØÑ¡Ê§°Ü´ÎÊý,bAct=ZPS_TD_ACT¸üÐÂTDÖÆÊ½ÄÚÖØÑ¡,bAct=ZPS_GSM_ACT¸üÐÂGSMÖÆÊ½ÄÚÖØÑ¡*/
WORD wInterRatResSuccCount; /*ÖÆÊ½¼äÖØÑ¡³É¹¦´ÎÊý,bAct=ZPS_TD_ACT¸üÐÂTD->GSMÖØÑ¡,bAct=ZPS_GSM_ACT¸üÐÂGSM->TDÖØÑ¡*/
WORD wInterRatResFailCount; /*ÖÆÊ½¼äÖØÑ¡³É¹¦´ÎÊý,bAct=ZPS_TD_ACT¸üÐÂTD->GSMÖØÑ¡,bAct=ZPS_GSM_ACT¸üÐÂGSM->TDÖØÑ¡*/
WORD wInterRatCcoSuccCount; /*ÖÆÊ½¼äCCO³É¹¦´ÎÊý£¬bAct=ZPS_TD_ACT¸üÐÂTD->GSMÖÆÊ½CCO,bAct=ZPS_GSM_ACT¸üÐÂGSM->TDÖÆÊ½CCO*/
WORD wInterRatCcoFailCount; /*ÖÆÊ½¼äCCOʧ°Ü´ÎÊý£¬bAct=ZPS_TD_ACT¸üÐÂTD->GSMÖÆÊ½CCO,bAct=ZPS_GSM_ACT¸üÐÂGSM->TDÖÆÊ½CCO*/
}T_z_CellresOrCco_Ind;
/*========================================================================
LOGÀàÐÍ£ºZEMM_NAS_UE_INFO_IND_EV
˵Ã÷£ºÉϱ¨NAS ÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE abPadding[3];
BYTE bMmeGroupID[2];
BYTE bMmeCode;
BYTE bMTmsi[4];
BYTE bEmmStatus;
}T_zEmm_NasUeInfo_Ind;
/*========================================================================
LOGÀàÐÍ£ºZEUCER_RB_INFO_IND_EV
˵Ã÷£ºÉϱ¨LTE RRC RBÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bRbId;
BYTE bRbType;
BYTE bRlcMode;
BYTE bLogChType;
BYTE bLogChId;
BYTE bLogChGrp;
BYTE bRbStatus;
}T_zEucer_RbInfo;
typedef struct {
BYTE bVersion;
BYTE bRbCount;
T_zEucer_RbInfo atRbInfo[34];
}T_zEucer_RbInfo_Ind;
/*========================================================================
LOGÀàÐÍ£ºZEUCER_RRC_UE_INFO_IND_EV
˵Ã÷£ºÉϱ¨LTE RRC ÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE bCRntiFlag;
BYTE bSpsCRntiFlag;
BYTE bTpcRntiFlag;
WORD wCRnti;
WORD wSpsCRnti;
WORD wTpcRnti;
BYTE bTmMode;
BYTE bRrcStatus;
}T_zEucer_RrcUeInfo_Ind;
/*========================================================================
LOGÀàÐÍ£ºEUCSR_SYS_PARA_IND_EV
˵Ã÷£ºÉϱ¨LTE ϵͳ²ÎÊýÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE bPadding;
WORD wPhyCellId;
WORD wTac;
T_z_PlmnId_Trace tPlmnId;
BYTE bBand;
BYTE bBandWidthUL;
BYTE bBandWidthDL;
BYTE bWorkMode;
BYTE bSubFrmAssignType;
BYTE bSpclSubFrmPatt;
CHAR chPuschP0;
BYTE bPuschAlpha;
BYTE bServTresele;
BYTE bServQHyst;
BYTE bPadding1;
}T_zEucsr_SysPara_Ind;
/*========================================================================
LOGÀàÐÍ£ºEUDBG_THROUGHPUT_IND_EV
˵Ã÷£ºÉϱ¨LTE ÍÌÍÂÁ¿ÐÅÏ¢
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE abPadding[3];
DWORD dwMacThroughPutDl;
DWORD dwMacThroughPutUl;
DWORD dwRlcThroughPutDl;
DWORD dwRlcThroughPutUl;
DWORD dwPdcpThroughPutDl;
DWORD dwPdcpThroughPutUl;
}T_zEudbg_ThroughPut_Ind;
/*========================================================================
LOGÀàÐÍ£ºMSGTRACEPS_DALAYTEST_IND_EV
˵Ã÷£ºÉϱ¨LTE ʱÑÓÐÅÏ¢ÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE bCountType;
BYTE bDirect;
BYTE bRslt;
DWORD dwTimeCount;
} T_z_DelayTest_Ind;
/*========================================================================
LOGÀàÐÍ£ºROADTEST_UEINFO_CNF_EV
˵Ã÷£ºÉϱ¨ÖÕ¶ËÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE abPadding[3];
BYTE abEquipName[10];
BYTE abSoftVersion[10];
BYTE abImei[8];
T_z_IMSI_Trace tImsi;
}T_zAti_RTUeInfo_Cnf;
/*========================================================================
LOGÀàÐÍ£ºTD_RRC_UE_INFO_IND_EV/W_RRC_UE_INFO_IND_EV
˵Ã÷£ºÉϱ¨TD/W RRC״̬ÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE bRrcStatus;
BYTE abPadding[2];
} T_z_TdRrcUeInfo_Ind, T_z_WRrcUeInfo_Ind;
/*========================================================================
LOGÀàÐÍ£ºEM_CELL_INFO_LOG
˵Ã÷£ºÉϱ¨·þÎñÐ¡ÇøºÍÁÚÇøÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bPadding1;
/*ÍøÂçÐÅÏ¢*/
DWORD dwCellId; /*ϵͳÐÅÏ¢Öй㲥µÄCI*/
BYTE bRac; /*·ÓÉÇø*/
BYTE bPadding2;
WORD wLac; /*λÖÃÇø*/
T_z_PlmnId_Trace tPlmnId; /*µ±Ç°×¤ÁôµÄplmnid*/
BYTE bPadding3;
/*·þÎñÐ¡ÇøÐÅÏ¢*/
T_z_CellInfo_Trace tSCell;
BYTE bSubMode; /*T/GÏÂ×Óģʽ£¬0xFFΪÎÞЧֵ*/
BYTE bAtt; /*0xFFΪÎÞЧֵ*/
BYTE bNmo; /*Network mode,0xFFΪÎÞЧֵ*/
BYTE bRssi; /*·þÎñÐ¡ÇøÐźÅÖÊÁ¿£¬TDÐ¡ÇøÎªRSCP£¬GSMÐ¡ÇøÎªRSSI£¬LTEÏÂΪRSRP*/
BYTE bRsrq; /*LTEÏÂΪRsrq£¬0xFFΪÎÞЧֵ*/
BYTE abPadding4[3];
WORD wT3212; /*oxffffΪÎÞЧֵ*/
WORD wDchArfcn; /*GSMϵ±Ç°Æµµã£¬TDϹ¤×÷Ƶµã£¬LTEÏÂΪwEarfcn£¬0xffffΪÎÞЧ*/
BYTE bLinkTimeOut; /*ÎÞÏßÁ´Â·Ê§°Ü¼ÆÊýÆ÷ ,0xffΪÎÞЧ*/
BYTE bBand; /*LTE/GSM/TDƵ¶Î£¬(ÈçGSM900/1800/1900 TD:A/F LTE 38/40µÈ)*/
BYTE abUlFddArfcnPadding[2];
DWORD dwUlFddArfcn; /*FDD-LTEÏÂΪÉÏÐÐÆµµã£¬0xFFΪÎÞЧֵ*/
/*GSM·þÎñÐ¡Çø¸½¼ÓÐÅÏ¢,½öÔÚ·þÎñÐ¡ÇøÖÆÊ½ÎªGSMʱÓÐЧ*/
SHORT sC1; /* ·¾¶ËðºÄ, -1 ΪÎÞЧ*/
SHORT sC2; /* -1 ΪÎÞЧ */
SHORT sC31; /* -1 ΪÎÞЧ */
SHORT sC32; /* -1 ΪÎÞЧ */
BYTE bSupGprs; /* Ð¡ÇøÊÇ·ñÖ§³ÖGPRS*/
BYTE bSupDtxFg; /* Ð¡ÇøÊÇ·ñÖ§³ÖDTX*/
BYTE bSupHop; /* Ð¡ÇøÊÇ·ñÖ§³ÖÌøÆµ*/
BYTE bTav; /* ʱ¼äÌáǰÁ¿*/
/*ÁÚÇøÐÅÏ¢*/
BYTE bNTCellNum; /*ʵ¼ÊÉϱ¨TDÁÚÇøÊý£¬¿ÉÒÔΪ0*/
BYTE bNGCellNum; /*ʵ¼ÊÉϱ¨GSMÁÚÇøÊý,¿ÉÒÔΪ0*/
BYTE bNLCellNum; /*ʵ¼ÊÉϱ¨LTEÁÚÇøÊý,¿ÉÒÔΪ0*/
BYTE bPadding5;
T_z_TdCell_Trace atNTCellList[Z_TRACE_MaxNTCellNum]; /*TDÁÚÇøÁÐ±í£¬°´RSCP´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/
BYTE abNTCellRscpList[Z_TRACE_MaxNTCellNum];/*TDÁÚÇøRSCPÖµ£¬ºÍatNTCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
BYTE abPadding6[2];
T_z_LteCell_Trace atNLCellList[Z_TRACE_MaxNLCellNum]; /*LTEÁÚÇøÁÐ±í£¬°´RSRP´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/
BYTE abNLCellRsrpList[Z_TRACE_MaxNLCellNum];/*LTEÁÚÇøRSRPÖµ£¬ºÍatNLCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
BYTE abNLCellRsrqList[Z_TRACE_MaxNLCellNum];/*LTEÁÚÇøRSRqÖµ£¬ºÍatNLCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
BYTE abDetetFlg[Z_TRACE_MaxNLCellNum];/*×Ô¼ìÐ¡Çø±êʶ£¬ºÍatNLCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
T_z_NGcell_info_Trace aNGcellInfo[Z_TRACE_MaxNGCellNum];/*GSMÁÚÇøÐÅÏ¢£¬°´RSSI´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/
DWORD dwCsgId;/*·þÎñÐ¡Çø¶ÔÓ¦CSGÐ¡ÇøµÄID ÎÞЧֵΪȫF*/
}T_z_CellInfo_Ind;
/*========================================================================
LOGÀàÐÍ£ºEUMAC_CFG_LOG
˵Ã÷£ºÉϱ¨EUMACÅäÖÃÐÅÏ¢
=========================================================================*/
/* Log¼Ç¼µÄ×î¶àÂß¼­ÐŵÀ¸öÊý */
#define Z_TOOLS_L2_LOG_LCH_MAXNUM (BYTE)10
/* Eumacÿ¸öÂß¼­ÐŵÀÅäÖÃÊý¾Ý */
typedef struct
{
BYTE bRbId;
BYTE bLcId;
BYTE bPriority;
BYTE bLcgId; //ȡֵ·¶Î§Îª£º0-3
WORD wPBR; //µ¥Î»ÎªkByte/s
BYTE abPadding[2];
DWORD dwBSD; //µ¥Î»Îªbyte
}T_zToolsL2_Eumac_ConfigData;
typedef struct
{
BYTE bVersion;
BYTE abPadding[3];
WORD wTaTimer; //msΪµ¥Î»
WORD wBsrTimer; //msΪµ¥Î»
WORD wBsrRetxTimer; //msΪµ¥Î»
WORD wNumOfDelLogch; //Ҫɾ³ýµÄÂß¼­ÐŵÀÊý
BYTE abDelLcId[Z_TOOLS_L2_LOG_LCH_MAXNUM]; //ɾ³ýµÄÂß¼­ÐŵÀID
WORD wNumOfAddModLogch; //ÒªÔö¼Ó»òÐ޸ĵÄÂß¼­ÐŵÀÊý
T_zToolsL2_Eumac_ConfigData atAddModData[Z_TOOLS_L2_LOG_LCH_MAXNUM]; //ËùÓÐÔö¼Ó»òÐÞ¸ÄÂß¼­ÐŵÀµÄÅäÖÃÊý¾Ý
}T_zToolsL2_Eumac_ConfigInfo;
/*========================================================================
LOGÀàÐÍ£ºEUMAC_RACH_TRACE_LOG
˵Ã÷£ºÉϱ¨RA¸ú×Ù×Ó°üÐÅÏ¢
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE abPadding[3];
BYTE bRaStep; //RA²½Ö裺0±íʾÆô¶¯RA£»1±íʾÊÕµ½CNF¡£
BYTE bRaReason; //Æô¶¯RAµÄÔ­Òò£º0£¬ÓÉÓÚ½¨Á´£»1£¬ÓÉÓÚÖØ½¨£»2£¬ÓÉÓÚÇл»£»3£¬ÓÉPHY´¥·¢µÄRA¡£
BYTE bRachContention; //0±íʾ·Ç¾ºÕù£¬1±íʾ¾ºÕù¡£
BYTE bMsg3Size;
WORD wRarRecvSfn;
WORD wMsg3SendSfn;
BYTE bRaResult; //RAÖ´Ðнá¹û£º0±íʾ·Ç¾ºÕù³É¹¦£»1±íʾ¾ºÕù³É¹¦£»2±íʾ¾ºÕù³¬Ê±£»3±íʾǰµ¼×î´ó¡£
BYTE bRaPreambleCnt; //ǰµ¼¼ÆÊý
WORD wCRnti; //C-RNTIÖµ
}T_zToolsL2_Eumac_RaInfo;
/*========================================================================
LOGÀàÐÍ£ºEURLC_DL_CFG_LOG
˵Ã÷£ºÉϱ¨EURLCÏÂÐÐÅäÖÃ×Ó°üÐÅÏ¢
=========================================================================*/
/* Log¼Ç¼µÄRB×î¶à¸öÊý */
#define Z_TOOLS_L2_LOG_RB_MAXNUM (BYTE)10
/* EURLC RBÅäÖÃÐÅÏ¢ */
typedef struct
{
BYTE bRbId; //RB ID
BYTE bAction; //¶Ô¸ÃRBÖ´ÐеIJÙ×÷£º1±íʾÔö¼Ó£»2±íʾÐ޸ģ»4±íʾÊÍ·Å¡£
}T_zToolsL2_Eurlc_ConfigInfo;
/* EURLCÏÂÐÐRBÅäÖÃÊý¾Ý */
typedef struct
{
BYTE bRbMode; //1¶ÔÓ¦AM£»2¶ÔÓ¦UM¡£
BYTE bLcId; //Âß¼­ÐŵÀID
BYTE bRbId; //RB ID
BYTE bRbType; //1¶ÔÓ¦SRB£»2¶ÔÓ¦DRB¡£
union {
struct {
WORD wTreordering; //msΪµ¥Î»
WORD wStatusProhibit; //msΪµ¥Î»
} Am_ConfigData;
struct {
WORD wTreordering; //msΪµ¥Î»
BYTE bSnFieldLength; //SN³¤¶È£¬5»ò10¡£
BYTE bPadding;
} Um_ConfigData;
}ConfigData;
}T_zToolsL2_Eurlc_DlConfigData;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bCfgReason; //bit0-bit3·Ö±ð¶ÔÓ¦Config¡¢Handover¡¢Reest¡¢Release¡£
BYTE bNumOfRelRb; //ɾ³ýµÄRB¸öÊý
BYTE abRbId[Z_TOOLS_L2_LOG_RB_MAXNUM]; //Áгöɾ³ýµÄRB
BYTE bNumOfAddedModifiedRb; //Ôö¼Ó»òÐ޸ĵÄRBÊý
T_zToolsL2_Eurlc_ConfigInfo atRbConfigInfo[Z_TOOLS_L2_LOG_RB_MAXNUM];
BYTE abPadding1[3];
BYTE bNumOfActiveRb; //¼¤»îµÄRB¸öÊý
T_zToolsL2_Eurlc_DlConfigData atRbConfigData[Z_TOOLS_L2_LOG_RB_MAXNUM];
}T_zToolsL2_Eurlc_DlConfig;
/*========================================================================
LOGÀàÐÍ£ºEURLC_UL_CFG_LOG
˵Ã÷£ºÉϱ¨EURLCÉÏÐÐÅäÖÃ×Ó°üÐÅÏ¢
=========================================================================*/
/* EURLCÉÏÐÐRBÅäÖÃÊý¾Ý */
typedef struct
{
BYTE bRbMode; //1¶ÔÓ¦AM£»2¶ÔÓ¦UM¡£
BYTE bLcId; //Âß¼­ÐŵÀID
BYTE bRbId; //RB ID
BYTE bRbType; //1¶ÔÓ¦SRB£»2¶ÔÓ¦DRB¡£
union {
struct {
DWORD dwPollByte; //byteΪµ¥Î»
WORD wPollPdu; //PDU¸öÊý
WORD wPollRetrans; //PollÖØ´«¶¨Ê±Ê±³¤£¬msΪµ¥Î»
BYTE bMaxRetxCnt; //×î´óÖØ´«´ÎÊý
BYTE abPadding[3];
} Am_ConfigData;
struct {
BYTE wSnFieldLength; //SN³¤¶È£¬5»ò10¡£
BYTE abPadding[11];
} Um_ConfigData;
}ConfigData;
}T_zToolsL2_Eurlc_UlConfigData;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bCfgReason; //bit0-bit3·Ö±ð¶ÔÓ¦Config¡¢Handover¡¢Reest¡¢Release¡£
BYTE bNumOfRelRb; //ɾ³ýµÄRB¸öÊý
BYTE abRbId[Z_TOOLS_L2_LOG_RB_MAXNUM]; //Áгöɾ³ýµÄRB
BYTE bNumOfAddedModifiedRb; //Ôö¼Ó»òÐ޸ĵÄRBÊý
T_zToolsL2_Eurlc_ConfigInfo atRbConfigInfo[Z_TOOLS_L2_LOG_RB_MAXNUM];
BYTE abPadding1[3];
BYTE bNumOfActiveRb; //¼¤»îµÄRB¸öÊý
T_zToolsL2_Eurlc_UlConfigData atRbConfigData[Z_TOOLS_L2_LOG_RB_MAXNUM];
}T_zToolsL2_Eurlc_UlConfig;
/*========================================================================
LOGÀàÐÍ£ºEPDCP_DL_CFG_LOG
˵Ã÷£ºÉϱ¨EPDCPÏÂÐÐÅäÖÃ×Ó°üÐÅÏ¢
=========================================================================*/
/* EPDCP RBÅäÖÃÐÅÏ¢ */
typedef struct
{
BYTE bRbId; //RB ID
BYTE bAction; //¶Ô¸ÃRBÖ´ÐеIJÙ×÷£º1±íʾadd£»2±íʾmodify£»3±íʾModifySuspend£»4±íʾModifyResume£»5±íʾRelease£»6±íʾFullconfig¡£
}T_zToolsL2_Epdcp_ConfigInfo;
/* EPDCPÏÂÐÐRBÅäÖÃÊý¾Ý */
typedef struct
{
BYTE bRbId; //RB ID
BYTE bEpsId; //³ÐÔØID
BYTE bRbMode; //1¶ÔÓ¦AM£»2¶ÔÓ¦UM¡£
BYTE bRbType; //1¶ÔÓ¦SRB£»2¶ÔÓ¦DRB¡£
BYTE bSnLength; //5¡¢7»ò12¡£
BYTE bIsStatusRptEnable;
WORD wRohcMaxCid;
WORD wRohcMask; //Enabled Rohc Profile
}T_zToolsL2_Epdcp_DlConfigData;
typedef struct
{
BYTE bVersion;
BYTE bCfgReason; //bit0-bit3£¬·Ö±ð¶ÔÓ¦Config¡¢Handover¡¢Reest¡¢Release¡£
BYTE bCipherAlg; //¼ÓÃÜËã·¨
BYTE bIntAlg; //ÍêÕûÐÔ±£»¤Ëã·¨
BYTE bNumOfRelRb; //ɾ³ýµÄRB¸öÊý
BYTE abRbId[Z_TOOLS_L2_LOG_RB_MAXNUM]; //Áгöɾ³ýµÄRB
BYTE bNumOfAddModRb; //Ôö¼Ó»òÐ޸ĵÄRBÊý
T_zToolsL2_Epdcp_ConfigInfo atRbConfigInfo[Z_TOOLS_L2_LOG_RB_MAXNUM];
BYTE abPadding[3];
BYTE bNumOfActiveRb; //¼¤»îµÄRB¸öÊý
T_zToolsL2_Epdcp_DlConfigData atRbConfigData[Z_TOOLS_L2_LOG_RB_MAXNUM];
}T_zToolsL2_Epdcp_DlConfig;
/*========================================================================
LOGÀàÐÍ£ºEPDCP_UL_CFG_LOG
˵Ã÷£ºÉϱ¨EPDCPÉÏÐÐÅäÖÃ×Ó°üÐÅÏ¢
=========================================================================*/
/* EPDCPÉÏÐÐRBÅäÖÃÊý¾Ý */
typedef struct
{
BYTE bRbId; //RB ID
BYTE bEpsId; //³ÐÔØID
BYTE bRbMode; //1¶ÔÓ¦AM£»2¶ÔÓ¦UM¡£
BYTE bRbType; //1¶ÔÓ¦SRB£»2¶ÔÓ¦DRB¡£
BYTE bSnLength; //5¡¢7»ò12¡£
BYTE bPadding;
WORD wDiscardTimer;
WORD wRohcMaxCid;
WORD wRohcMask; //Enabled Rohc Profile
}T_zToolsL2_Epdcp_UlConfigData;
typedef struct
{
BYTE bVersion;
BYTE bCfgReason; //bit0-bit3£¬·Ö±ð¶ÔÓ¦Config¡¢Handover¡¢Reest¡¢Release¡£
BYTE bCipherAlg; //¼ÓÃÜËã·¨
BYTE bIntAlg; //ÍêÕûÐÔ±£»¤Ëã·¨
BYTE bNumOfRelRb; //ɾ³ýµÄRB¸öÊý
BYTE abRbId[Z_TOOLS_L2_LOG_RB_MAXNUM]; //Áгöɾ³ýµÄRB
BYTE bNumOfAddModRb; //Ôö¼Ó»òÐ޸ĵÄRBÊý
T_zToolsL2_Epdcp_ConfigInfo atRbConfigInfo[Z_TOOLS_L2_LOG_RB_MAXNUM];
BYTE abPadding[3];
BYTE bNumOfActiveRb; //¼¤»îµÄRB¸öÊý
T_zToolsL2_Epdcp_UlConfigData atRbConfigData[Z_TOOLS_L2_LOG_RB_MAXNUM];
}T_zToolsL2_Epdcp_UlConfig;
/*========================================================================
LOGÀàÐÍ£ºUSIM_CARD_MODE_LOG
˵Ã÷£ºÉϱ¨Usim¿¨Ä£Ê½Ïà¹ØÐÅÏ¢
=========================================================================*/
typedef struct{
BYTE bIdType:3;
BITS bOorE:1;
BITS :4;
T_z_PlmnId_Trace tPlmn;
BYTE bMMEGROUPID[2];
BYTE bMMECODE;
BYTE bMTMSI[4];
BYTE bPadding;
}T_z_GUTI_Trace;
/*TAC*/
typedef WORD T_z_TAC_Trace;
/*Tracking Area Identity*/
typedef struct {
T_z_PlmnId_Trace tPlmnId;
T_z_TAC_Trace tTac;
}T_z_TAI_Trace;
typedef struct
{
T_z_GUTI_Trace tGuti; /*GUTI */
T_z_TAI_Trace tTai; /*TAI */
BYTE bTauStatus;
BYTE abPadding2[2];
}T_z_UiccId_EpsLoci_Trace;
typedef struct
{
BYTE bVersion;
BYTE bCardMode;
BYTE bIsLTEServSupp;
BYTE bPadding;
T_z_IMSI_Trace tImsi;
T_z_UiccId_EpsLoci_Trace tEpsLoci;
}T_zApUicc_UsimCardInfo;
/*========================================================================
LOGÀàÐÍ£ºUSIM_SRV_TABLE_LOG
˵Ã÷£ºÉϱ¨USim·þÎñÁбíÐÅÏ¢
=========================================================================*/
typedef struct {
BITS bLocalPbFg:1; /* Service n¡ã1: Local Phone Book */
BITS bFdnFg:1; /* Service n¡ã2: Fixed Dialling Numbers (FDN) */
BITS bExtension2:1; /* Service n¡ã3: Extension 2 */
BITS bSdnFg:1; /* Service n¡ã4: Service Dialling Numbers (SDN) */
BITS bExtension3:1; /* Service n¡ã5: Extension3 */
BITS bBdnFg:1; /* Service n¡ã6: Barred Dialling Numbers (BDN) */
BITS bExtension4:1; /* Service n¡ã7: Extension4 */
BITS bOciFg:1; /* Service n¡ã8: Outgoing Call Information (OCI and OCT) */
BITS bIciFg:1; /* Service n¡ã9: Incoming Call Information (ICI and ICT) */
BITS bSmsFg:1; /* Service n¡ã10: Short Message Storage (SMS) */
BITS bSmsrFg:1; /* Service n¡ã11: Short Message Status Reports (SMSR) */
BITS bSmspFg:1; /* Service n¡ã12: Short Message Service Parameters (SMSP) */
BITS bAocFg:1; /* Service n¡ã13: Advice of Charge (AoC) */
BITS bCcpFg:1; /* Service n¡ã14: Capability Configuration Parameters (CCP) */
BITS bCbmiFg:1; /* Service n¡ã15: Cell Broadcast Message Identifier */
BITS bCbmirFg:1; /* Service n¡ã16: Cell Broadcast Message Identifier Ranges */
BITS bGrpIdL1Fg:1; /* Service n¡ã17: Group Identifier Level 1 */
BITS bGrpIdL2Fg:1; /* Service n¡ã18: Group Identifier Level 2 */
BITS bBspnFg:1; /* Service n¡ã19: Service Provider Name */
BITS bUPlmnFg:1; /* Service n¡ã20: User controlled PLMN selector with Access Technology */
BITS bMsisdnFg:1; /* Service n¡ã21: MSISDN */
BITS bImgFg:1; /* Service n¡ã22: Image (IMG) */
BITS bSolsaFg:1; /* Service n¡ã23: Support of Localised Service Areas (SoLSA) */
BITS bEmlppFg:1; /* Service n¡ã24: Enhanced Multi Level Precedence and Pre emption Service */
BITS bAaemlppFg:1; /* Service n¡ã25: Automatic Answer for eMLPP */
BITS :1; /* Service n¡ã26: RFU */
BITS bGsmAccFg:1; /* Service n¡ã27: GSM Access */
BITS bDdvSmsPpFg:1; /* Service n¡ã28: Data download via SMS-PP */
BITS bDdvSmsCbFg:1; /* Service n¡ã29: Data download via SMS CB */
BITS bCcByUsimFg:1; /* Service n¡ã30: Call Control by USIM */
BITS bMosmsByUsimFg:1;/* Service n¡ã31: MO-SMS Control by USIM */
BITS bRunAtcmdFg:1; /* Service n¡ã32: RUN AT COMMAND command */
BITS :1; /* Service n¡ã33: shall be set to '1' */
BITS bEstFg:1; /* Service n¡ã34: Enabled Services Table */
BITS bAclFg:1; /* Service n¡ã35: APN Control List (ACL) */
BITS bDckFg:1; /* Service n¡ã36: Depersonalisation Control Keys */
BITS bCoopNetListFg:1; /* Service n¡ã37: Co-operative Network List */
BITS bGsmSecFg:1; /* Service n¡ã38: GSM security context */
BITS bCpbcchInfoFg:1; /* Service n¡ã39: CPBCCH Information */
BITS bIsFg:1; /* Service n¡ã40: Investigation Scan */
BITS bMexeFg:1; /* Service n¡ã41: MExE */
BITS bOPlmnFg:1; /* Service n¡ã42: Operator controlled PLMN selector with Access Technology */
BITS bHPlmnFg:1; /* Service n¡ã43: HPLMN selector with Access Technology */
BITS bExtension5:1; /* Service n¡ã44: Extension 5 */
BITS bPlmnNetNameFg:1; /* Service n¡ã45: PLMN Network Name */
BITS bOPlmnListFg:1; /* Service n¡ã46: Operator PLMN List */
BITS bMdnFg:1; /* Service n¡ã47: Mailbox Dialling Numbers */
BITS bMwiStaFg:1; /* Service n¡ã48: Message Waiting Indication Status */
BITS bCfiStaFg:1; /* Service n¡ã49: Call Forwarding Indication Status */
BITS :1; /* Service n¡ã50: Reserved and shall be ignored */
BITS bSpdInfoFg:1; /* Service n¡ã51: Service Provider Display Information */
BITS bMmsFg:1; /* Service n¡ã52 Multimedia Messaging Service (MMS) */
BITS bExtension8:1; /* Service n¡ã53 Extension 8 */
BITS bCcOnGprsUsimFg:1; /* Service n¡ã54 Call control on GPRS by USIM */
BITS bMmsUcpFg:1; /* Service n¡ã55 MMS User Connectivity Parameters */
BITS bNiaFg:1; /* Service n¡ã56 Network's indication of alerting in the MS (NIA) */
BITS bVgcsFg:1; /* Service n¡ã57 VGCS Group Identifier List (EFVGCS and EFVGCSS) */
BITS bVbsFg:1; /* Service n¡ã58 VBS Group Identifier List (EFVBS and EFVBSS) */
BITS bPseudonymFg:1; /* Service n¡ã59 Pseudonym */
BITS bUPlmnForIWlanFg:1; /* Service n¡ã60 User Controlled PLMN selector for I-WLAN access */
BITS bOPlmnForIWlanFg:1; /* Service n¡ã61 Operator Controlled PLMN selector for I-WLAN access */
BITS bUWsidListFg:1; /* Service n¡ã62 User controlled WSID list */
BITS bOWsidListFg:1; /* Service n¡ã63 Operator controlled WSID list */
BITS bVgcsSecurityFg:1; /* Service n¡ã64 VGCS security */
BITS bVbsSecurityFg:1; /* Service n¡ã65 VBS security */
BITS bWlanReAuthIdFg:1; /* Service n¡ã66 WLAN Reauthentication Identity */
BITS bMultiMediaMsgStoFg:1; /* Service n¡ã67 Multimedia Messages Storage */
BITS bGbaFg:1; /* Service n¡ã68 Generic Bootstrapping Architecture (GBA) */
BITS bMbmsSecurityFg:1; /* Service n¡ã69 MBMS security */
BITS bDataDlViaUssdAndUssdAppFg:1; /* Service n¡ã70 Data download via USSD and USSD application mode */
BITS bEHplmnFg:1; /* Service n¡ã71 Equivalent HPLMN */
BITS bAdTermProfAfterUiccActFg:1; /* Service n¡ã72 Additional TERMINAL PROFILE after UICC activation */
BITS bEHplmnPresentIndFg:1; /* Service n¡ã73 Equivalent HPLMN Presentation Indication */
BITS bLastRplmnSelIndFg:1; /* Service n¡ã74 Last RPLMN Selection Indication */
BITS bOmaBcastSmartCardProfFg:1; /* Service n¡ã75 OMA BCAST Smart Card Profile */
BITS bGbaBasedLocalKeyFg:1; /* Service n¡ã76 GBA-based Local Key Establishment Mechanism */
BITS bTermAppFg:1; /* Service n¡ã77 Terminal Applications */
BITS bSpnIconFg:1; /* Service n¡ã78 Service Provider Name Icon */
BITS bPlmnNameIconFg:1; /* Service n¡ã79 PLMN Network Name Icon */
BITS bParaForUsimIpConnecFg:1; /* Service n¡ã80 Connectivity Parameters for USIM IP connections */
BITS bHomeIWlanSpecIdListFg:1; /* Service n¡ã81 Home I-WLAN Specific Identifier List */
BITS bIWlanEHplmnPresentIndFg:1; /* Service n¡ã82 I-WLAN Equivalent HPLMN Presentation Indication */
BITS bIWlanHplmnPriorityIndFg:1; /* Service n¡ã83 I-WLAN HPLMN Priority Indication */
BITS bIWlanLastRplmnFg:1; /* Service n¡ã84 I-WLAN Last Registered PLMN */
BITS bEmmInfoFg:1; /* Service n¡ã85 EPS Mobility Management Information */
BITS bAllowedCsgListAndIndFg:1; /* Service n¡ã86 Allowed CSG Lists and corresponding indications */
BITS bCallCtrlOnEPdnConnectFg:1; /* Service n¡ã87 Call control on EPS PDN connection by USIM */
BITS bHplmnDirectAccessFg:1; /* Service n¡ã88 HPLMN Direct Access */
BITS bECallDataFg:1; /* Service n¡ã89 eCall Data */
BITS bOperatorCsgListAndIndFg:1; /* Service n¡ã90 Operator CSG Lists and corresponding indications */
BITS bSuppSmOverIpFg:1; /* Service n¡ã91 Support for SM-over-IP */
BITS :5;
}T_z_UICC_Ust_Trace;
typedef struct{
BYTE bVersion;
BYTE abPadding[3];
T_z_UICC_Ust_Trace tUst;
}T_zApUicc_UsimServTable;
/*========================================================================
LOGÀàÐÍ£ºFRBDN_TAI_LIST_LOG
˵Ã÷£ºÉϱ¨µ±Ç°µÄ½ûÖ¹TA listºÍ·þÎñ½ûÖ¹TA List
=========================================================================*/
#define Z_TRACE_MAX_FTAI_NUM (BYTE)40 /*½ûÖ¹TAI¸öÊý*/
typedef struct {
BYTE bVersion;
BYTE bPadding;
BYTE bFTaiNum;
BYTE bFSTaiNum;
T_z_TAI_Trace atFTaiList[Z_TRACE_MAX_FTAI_NUM];
T_z_TAI_Trace atFSTaiList[Z_TRACE_MAX_FTAI_NUM];
} T_z_FrbdnTaListLog;
/*========================================================================
LOGÀàÐÍ£ºESM_BEARER_CTX_STATE_LOG
˵Ã÷£ºÉϱ¨ESM³ÐÔØÉÏÏÂÎÄ״̬ÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE bEpsBearerId;
BYTE bEpsBearerState;
BYTE bConnectId;
} T_z_EsmBearerStateLog;
/*========================================================================
LOGÀàÐÍ£ºESM_BEARER_CTX_INFO_LOG
˵Ã÷£ºÉϱ¨ESM³ÐÔØÉÏÏÂÎÄÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bLength;
BYTE bQci;
BYTE bUlMBR;
BYTE bDLMBR;
BYTE bULGBR;
BYTE bDLGBR;
BYTE bEXUlMBR;
BYTE bEXDLMBR;
BYTE bEXULGBR;
BYTE bEXDLGBR;
} T_zEsm_EpsQosInfo;
typedef struct {
BYTE bVersion;
BYTE bEpsBearerType;
BYTE bEpsBearerId;
BYTE bEpsBearerState;
WORD wSdfId;
BYTE bConnectId;
BYTE bLbiFlg;
BYTE bLbi;
BYTE bRbId;
T_zEsm_EpsQosInfo tEpsQos;
} T_z_EsmBearerInfoLog;
/*========================================================================
LOGÀàÐÍ£ºESM_PROCE_STATE_LOG
˵Ã÷£ºÉϱ¨ESMÁ÷³Ì·¢ÆðÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE bInstanceId;
BYTE bProcState;
BYTE bPti;
WORD wSdfId;
BYTE bPendingMsg;
BYTE bPadding;
} T_z_EsmProcStateLog;
/*========================================================================
LOGÀàÐÍ£ºEUMCR_INTRA_FREQ_MEAS_RLTS_LOG
˵Ã÷£ºÉϱ¨·þÎñÐ¡Çø¡¢Í¬ÆµÁÚÇøÁÚÇø²âÁ¿½á¹û
=========================================================================*/
typedef struct
{
WORD wPci;
BYTE bRsrp;
BYTE bRsrq;
BYTE bSrxlev;
BYTE bSqual;
SHORT sRValue;
} T_zEumcr_NEutraCellMeasRlts;
typedef struct
{
BYTE bVersion;
DWORD dwEarfcn;
WORD wPci;
BYTE bRsrp;
BYTE bRsrq;
BYTE bSrxlev;
BYTE bSqual;
SHORT sRValue;
CHAR cScellPrior;
BYTE bThreshServingLowQIndicator;
BYTE bCellNum;
DWORD dwTreselection;
T_zEumcr_NEutraCellMeasRlts tNIntraCellMeasRlts[Z_EUMCR_TRACE_LTE_CELL_NUM];
} T_zEumcr_EutraIntraFreqMeasRlts;
/*========================================================================
LOGÀàÐÍ£ºEUMCR_INTER_FREQ_MEAS_RLTS_LOG
˵Ã÷£ºÉϱ¨ÒìÆµÁÚÇø²âÁ¿½á¹û
=========================================================================*/
typedef struct
{
DWORD dwEarfcn;
BYTE bReselPrior;
BYTE bThresh;
DWORD dwTreselection;
BYTE bCellNum;
BYTE bCsgFreqInd;
T_zEumcr_NEutraCellMeasRlts tNEutraCellRlts[Z_EUMCR_TRACE_LTE_CELL_NUM];
} T_zEumcr_NEutraFreqMeasRlts;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bFreqNum;
T_zEumcr_NEutraFreqMeasRlts tNInterFreqMeasRlts[Z_EUMCR_TRACE_LTE_RLT_FREQ_NUM];
} T_zEumcr_EutraInterFreqMeasRlts;
/*========================================================================
LOGÀàÐÍ£ºEUMCR_UTRA_MEAS_RLTS_LOG
˵Ã÷£ºÉϱ¨TDÁÚÇø²âÁ¿½á¹û
=========================================================================*/
typedef struct
{
WORD wPci;
BYTE bRscp;
BYTE bSrxlev;
} T_zEumcr_NUtraCellMeasRlts;
typedef struct
{
WORD wUarfcn;
BYTE bPrior;
BYTE bThresh;
DWORD dwTreselection;
BYTE bCellNum;
BYTE abPadding[3];
T_zEumcr_NUtraCellMeasRlts tNUtraCellRlts[Z_EUMCR_TRACE_TD_CELL_NUM];
} T_zEumcr_NUtraFreqMeasRlts;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bFreqNum;
T_zEumcr_NUtraFreqMeasRlts tNUtraFreqMeasRlts[Z_EUMCR_TRACE_TD_RLT_FREQ_NUM];
} T_zEumcr_UtraMeasRlts;
/*========================================================================
LOGÀàÐÍ£ºEUMCR_GSM_FREQ_MEAS_RLTS_LOG
˵Ã÷£ºÉϱ¨GSMÁÚÇø²âÁ¿½á¹û
=========================================================================*/
typedef struct
{
WORD wArfcn;
BYTE bRssi;
BYTE bBsic;
BYTE bPrior;
BYTE bSrxlev;
BYTE bThresh;
BYTE bBandindicator;
DWORD dwTreselection;
} T_zEumcr_NGeranCellMeasRlts;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bCellNum;
T_zEumcr_NGeranCellMeasRlts tNGeranCellInfo[Z_EUMCR_TRACE_GSM_CELL_NUM];
} T_zEumcr_GeranMeasRlts;
/*========================================================================
LOGÀàÐÍ£ºEUMCR_EUTRA_MEAS_FREQ_LOG
˵Ã÷£ºÉϱ¨ÅäÖõ½ÎïÀí²ãµÄLTEƵµã
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bFreqNum;
DWORD dwEarfcn[Z_EUMCR_TRACE_LTE_RLT_FREQ_NUM];
} T_zEumcr_EutraMeasConfigEphy;
/*========================================================================
LOGÀàÐÍ£ºEUMCR_UTRA_MEAS_FREQ_LOG
˵Ã÷£ºÉϱ¨ÅäÖõ½ÎïÀí²ãµÄUTRAƵµã
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bFreqNum;
WORD wUarfcn[Z_EUMCR_TRACE_TD_RLT_FREQ_NUM];
} T_zEumcr_UtraMeasConfigEphy;
/*========================================================================
LOGÀàÐÍ£ºEUMCR_GSM_MEAS_FREQ_LOG
˵Ã÷£ºÉϱ¨ÅäÖõ½ÎïÀí²ãµÄGSMƵµã
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bFreqNum;
WORD wArfcn[Z_EUMCR_TRACE_GSM_CELL_NUM];
} T_zEumcr_GeranMeasConfigEphy;
/*========================================================================
LOGÀàÐÍ£ºEUMCR_MOBILITY_CHG_LOG
˵Ã÷£ºUEÒÆ¶¯×´Ì¬·¢Éú±ä»¯½øÐиú×Ù,°üÀ¨ÔÚHystNormal¶¨Ê±Æ÷³¬Ê±»Øµ½¿ÕÏÐ̬ϵĹý³Ì
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE abPadding[3];
DWORD dwEarfcn;
WORD wPci;
BYTE bPreviousMobilityState;
BYTE bCurrentMobilityState;
BYTE bTevalution;
BYTE bHystNormal;
BYTE bCellChangeNumMedium;
BYTE bCellChangeNumHigh;
} T_zEumcr_MoblityStateChange;
/*========================================================================
LOGÀàÐÍ£ºEUMCR_MEAS_CONFIG_CONN_LOG
˵Ã÷£ºÊÕµ½²âÁ¿ÅäÖÃʱ½øÐб¨¸æÅäÖøú×Ù
=========================================================================*/
typedef struct
{
WORD wCellId;
CHAR cCellOffset;
BYTE bPadding;
} T_zEumcr_ListCellInfo;
typedef struct
{
BYTE bMeasId;
BYTE bEventCfgId;
DWORD dwArfcn;
BYTE abPadding[2];
CHAR cFreqOffset;
BYTE bScellTriggerQuatity;
BYTE bNcellTriggerQuatity;
BYTE bScellThreshHold;
BYTE bNcellThreshHold;
CHAR cA3offset;
BYTE bHyst;
BYTE bPadding;
DWORD dwReportInterval;
WORD wTTT;
BYTE bReportAmount;
BYTE bListCellNum;
T_zEumcr_ListCellInfo tCellInfo[Z_EUMCR_TRACE_LTE_CELL_NUM];
} T_zEumcr_MeasIdConfig;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bSmeasure;
BYTE bGapIndicator;
BYTE bTTTSf[2];
BYTE bMeasIdNum;
T_zEumcr_MeasIdConfig tEvalReport[Z_EUMCR_TRACE_MEASID_NUM];
} T_zEumcr_EvalConfigInfo;
/*========================================================================
LOGÀàÐÍ£ºEUMCR_CELL_EVA_CONN_LOG
˵Ã÷£ºÐ¡ÇøµÄ´¥·¢×´Ì¬·¢Éú¸Ä±äʱ½øÐиú×Ù
=========================================================================*/
typedef struct
{
BYTE bMeasId;
BYTE bCellState;
WORD wCellId;
DWORD dwArfcn;
BYTE bRatType;
BYTE abPadding[3];
} T_zEumcr_EvalCellInfoConn;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bCellNum;
T_zEumcr_EvalCellInfoConn tEvalCellInfo[Z_EUMCR_TRACE_EVAL_CELL_NUM];
} T_zEumcr_EvalInfoConn;
/*========================================================================
LOGÀàÐÍ£ºEUSIR_S_CHECK_LOG
˵Ã÷£ºÔÚ´ÓÁ¬½Ó̬»Ø¿ÕÏÐ̬»òÕß·¢ÆðÐ¡ÇøÖØÑ¡Ê±¸ú×ÙÐ¡ÇøS¼ì²é½á¹û
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE abPadding[3];
DWORD dwEarfcn;
WORD wPci;
BYTE bRsrp;
BYTE bRsrq;
CHAR cSrxlev;
CHAR cSqual;
SHORT sQxlevMin;
BYTE bQxlevMinOffset;
CHAR cPemax;
CHAR cPumax;
CHAR cQualMin;
BYTE bQualMinOffset;
BYTE abPadding1[3];
} T_zEusir_SCheckInfo;
/*========================================================================
LOGÀàÐÍ£ºEUSIR_PAGE_CONFIG_LOG
˵Ã÷£ºÍê³ÉÐ¡Çø×¤Áô»òÕßSIB2µÄDRXÖÜÆÚ·¢Éú±ä»¯Ê±½øÐиú×Ù
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE abPadding[3];
DWORD dwEarfcn;
WORD wPci;
WORD wPageCycle;
} T_zEusir_PageInfo;
/*========================================================================
LOGÀàÐÍ£ºEUMCR_MEAS_RULE_IDLE_LOG
˵Ã÷£º²âÁ¿×¼Ôò·¢Éú¸Ä±äµÄʱºò¸ú×Ù
=========================================================================*/
typedef struct
{
BYTE bVersion;
DWORD dwEarfcn;
WORD wPci;
BYTE bRsrp;
BYTE bRsrq;
BYTE bSrxlev;
BYTE bSqual;
BYTE bMeasRule;
BYTE bSintraSearchP;
BYTE bSintraSearchQ;
BYTE bSnonintraSearchP;
BYTE bSnonintraSearchQ;
} T_zEumcr_MeasRuleInfo;
/*========================================================================
LOGÀàÐÍ£ºEUMCR_LOW_EQUAL_RESEL_LOG
˵Ã÷£º·þÎñÐ¡Çø²âÁ¿Öµ±ä»¯µ¼Ö¶Եȡ¢µÍÓÅÏȼ¶ÖØÑ¡×¼Ôò¸Ä±äʱ¸ú×Ù
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bPadding;
BYTE bAllowEqualLowPriorResel;
BYTE bUseRsrq;
BYTE bScellSrxlev;
BYTE bScellSqual;
BYTE bThreshServingLow;
BYTE bThreshServingLowQ;
} T_zEumcr_EqualLowPriorReselIndicator;
/*========================================================================
LOGÀàÐÍ£ºEUMCR_CELL_EVA_IDLE_LOG
˵Ã÷£º¿ÕÏÐ̬ϲâÁ¿Ð¡ÇøÆÀ¹À״̬·¢Éú¸Ä±äʱ½øÐиú×Ù
=========================================================================*/
typedef struct
{
DWORD dwArfcn;
WORD wPadding;
WORD wCellId;
BYTE bCellState;
BYTE bRsrp;
BYTE bRsrq;
BYTE bRat ;
DWORD dwTreselection;
} T_zEumcr_EvalCellInfoIdle;
typedef struct
{
BYTE bVersion;
BYTE bPadding[2];
BYTE bCellNum;
T_zEumcr_EvalCellInfoIdle tEvalCellInfo[Z_EUMCR_TRACE_EVAL_CELL_NUM];
} T_zEumcr_EvalInfoIdle;
/* ========================================================================
Ò»°ãEVENT½Ó¿Ú¶¨Òå BIGEN
======================================================================== */
/*========================================================================
EVENTÀàÐÍ£ºTRACS_DELAYEVENT_IND_EV
˵Ã÷£ºÉϱ¨ÖØÑ¡¡¢Çл»¡¢Öؽ¨¡¢ÒìÖÆÊ½²âÊÔ¡¢¶ªÍø¡¢×¤ÁôµÈʼþÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bAct;
BYTE abPadding[3];
union{
T_z_TdCell_Trace tTd;
T_z_GsmCell_Trace tGsm;
T_z_LteCell_Trace tLte;
T_z_WCell_Trace tW;
}uCell;
}T_z_TargetCell;
typedef struct {
DWORD dwCellId;
} T_z_CampOnCell;
typedef struct {
BYTE bAct;
BYTE abPadding[3];
}T_z_IratMeaAct,T_z_RedirectAct;
typedef struct {
BYTE bHoTypeFlg;/*Çл»ÀàÐÍ¡£µ±bHoTypeFlg Ϊ1ʱÓÐЧ£º0£ºÓ²ÇУ¬1£ºÈíÇУ¬2½ÓÁ¦ÇУ¬3ͬ²½ÇУ¬4Òì²½ÇÐ*/
BYTE bHoType;
BYTE bPadding;
BYTE bIdx;/*idx==0£¬±íʾ²»ÐèÒª¿´UnionµÄÄÚÈÝ¡£±ÈÈç cco½âÂëʧ°ÜÎÞ·¨È·ÈÏÐ¡Çø£¬´ËidxȡֵΪ0.*/
union{
T_z_TargetCell tTCell;
T_z_CampOnCell tCOCell;
T_z_IratMeaAct tIMAct;
T_z_RedirectAct tRDAct;
}uInfo;
} T_z_EventInfo;
typedef struct {
BYTE bVersion;
BYTE bPadding;
WORD wDelayEvent;
T_z_EventInfo tEventinfo;
} T_z_DelayEvent_Ind;
/*========================================================================
EVENTÀàÐÍ£ºTA_EVENT
˵Ã÷£ºÊÕµ½Ta advanceÃüÁîºóÊä³ö´Ëʼþ
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bPadding;
WORD wTaTimer; //Ta¶¨Ê±Ê±³¤£¬msΪµ¥Î»
}T_zToolsL2_Event_Ta;
/*========================================================================
EVENTÀàÐÍ£ºUL_OOS_EVENT
˵Ã÷£ºµ±Ta³¬Ê±ÓÖûÓÐÊÕµ½ÐµÄTa advanceÃüÁîʱÊä³ö´Ëʼþ£¬ÎÞ²ÎÊý
=========================================================================*/
/*========================================================================
EVENTÀàÐÍ£ºRACH_ACS_STARE_EVENT
˵Ã÷£º¿ªÊ¼Rach¹ý³ÌʱÊä³ö´Ëʼþ
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bPadding;
BYTE bRachCause; //Æô¶¯Rach¹ý³ÌµÄÔ­Òò
BYTE bRachContention; //Rach½ÓÈ뷽ʽ
}T_zToolsL2_Event_RaStart;
/*========================================================================
EVENTÀàÐÍ£ºRACH_ACS_RSLT_EVENT
˵Ã÷£ºRach¹ý³Ì½áÊøÉϱ¨´Ëʼþ
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bRachResult; //Rach¹ý³ÌÖ´Ðнá¹û
}T_zToolsL2_Event_RaResult;
/*========================================================================
EVENTÀàÐÍ£ºBSR_OR_SR_REQ_EVENT
˵Ã÷£ºµ±´¥·¢BSR»òSRÇëÇóʱÉϱ¨´Ëʼþ
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bCauseMask; //ÿλ¼Ç¼BSR¡¢SRÏà¹ØÐÅÏ¢
}T_zToolsL2_Event_BsrOrSrReq;
/*========================================================================
EVENTÀàÐÍ£ºEUMAC_TIMER_EVENT
˵Ã÷£ºµ±´¥·¢Mac¸÷ÀඨʱÆ÷±»Æô¶¯¡¢³¬Ê±»òֹͣʱÉϱ¨´Ëʼþ
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bPadding;
BYTE bTimerType; //¶¨Ê±Æ÷ÀàÐÍ
BYTE bAction; //¶¨Ê±Æ÷ʼþÀàÐÍ
}T_zToolsL2_Event_EUMACTIMER;
/*========================================================================
EVENTÀàÐÍ£ºEUMAC_RESET_EVENT
˵Ã÷£ºÉϱ¨EUMAC±»RESETʼþ
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bCause;
BYTE bPadding[2];
} T_zEucer_MacResetEvent;
/*========================================================================
EVENTÀàÐÍ£ºEURRC_TIMER_EVENT
˵Ã÷£ºÔÚÆô¶¯¡¢Í£Ö¹»ò³¬Ê±Ê±¸ú×Ù¶¨Ê±Æ÷ÐÅÏ¢
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bTimerName;
BYTE bTimerStatus;
BYTE bPadding;
DWORD dwTimerLength;
} T_zEurrc_TimerInfo;
/*========================================================================
EVENTÀàÐÍ£ºPAGING_DRX_CYCLE_EVENT
˵Ã÷£ºÉϱ¨Ñ°ºôDRCÅäÖÃ
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bDrxcycleindex;
BYTE abPadding[2];
} T_zEucer_DrxCycleCfgEvent;
/*========================================================================
EVENTÀàÐÍ£ºSIB_READ_FAIL_EVENT
˵Ã÷£ºÔÚפÁô¡¢SI¸üлòÇл»³É¹¦ºó¶ÁÈ¡SIBÓÐʧ°ÜµÄÇéÐÎϸú×Ù
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bPadding;
WORD wPci;
DWORD dwEarfcn;
DWORD dwSibRecvMask;
} T_zEusir_ReadSibFailInfo;
/*========================================================================
EVENTÀàÐÍ£ºEURRC_SECUIRITY_CFG_EVENT
˵Ã÷£ºÉϱ¨LTE RRC°²È«ÅäÖÃ
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bStatus;
BYTE bPadding[2];
} T_zEucer_RrcSecurityCfgEvent;
/*========================================================================
EVENTÀàÐÍ£ºEMM_TIMER_START_EVENT
˵Ã÷£ºEMM¶¨Ê±Æ÷Æô¶¯Ê¼þ
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE bTimerId;
BYTE abpadding[2];
} T_zEmm_Timer_Start;
/*========================================================================
EVENTÀàÐÍ£ºEMM_TIMER_EXPIRY_EVENT
˵Ã÷£ºEMM¶¨Ê±Æ÷ֹͣʼþ
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE bTimerId;
BYTE abpadding[2];
} T_zEmm_Timer_Expiry;
/*========================================================================
EVENTÀàÐÍ£ºESM_TIMER_START_EVENT
˵Ã÷£ºESM¶¨Ê±Æ÷Æô¶¯Ê¼þ
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE bEsmTimerId;
BYTE abpadding[2];
} T_zEsm_Timer_Start;
/*========================================================================
EVENTÀàÐÍ£ºESM_TIMER_EXPIRY_EVENT
˵Ã÷£ºESM¶¨Ê±Æ÷ֹͣʼþ
=========================================================================*/
typedef struct {
BYTE bVersion;
BYTE bEsmTimerId;
BYTE abpadding[2];
} T_zEsm_Timer_Expiry;
/* ========================================================================
LTE EUL2 ¹ýÂËÐÅÏ¢½Ó¿Ú¶¨Òå
======================================================================== */
typedef struct {
BYTE bEUMacDlBlc;
BYTE bEUMacUlBlc;
BYTE bEUMacStatic;
BYTE bEURlcDlAMAllPdu;
BYTE bEURlcDlAMCtrlPdu;
BYTE bEURlcDlAMPollPdu;
BYTE bEURlcDlAMSignalPdu;
BYTE bEURlcDlUMPdu;
BYTE bEURlcDlStatic;
BYTE bEURlcUlAMAllPdu;
BYTE bEURlcUlAMCtrlPdu;
BYTE bEURlcUlAMPollPdu;
BYTE bEURlcUlAMSignalPdu;
BYTE bEURlcUlUMPdu;
BYTE bEURlcUlStatic;
BYTE bEPdcpDlPdu;
BYTE bEPdcpUlPdu;
BYTE bEPdcpDlCipherPdu;
BYTE bEPdcpUlCipherPdu;
BYTE bEPdcpDlCtrlPdu;
BYTE bEPdcpUlCtrlPdu;
BYTE bEPdcpDlSrbIntegrityPdu;
BYTE bEPdcpUlSrbIntegrityPdu;
BYTE bEPDCPDlStatic;
BYTE bEPDCPUlStatic;
BYTE abPadding[3];
} T_zEUL2_LogMask_Ind;
/*==============================================================================
Ô­ÓMSGTRACEPS_CELLRESORCCOCOUNT_REQ_EV (¹¤¾ß->MMIA)
˵Ã÷£º¹¤³ÌģʽÏÂ֪ͨMMIA¿ªÆô¡¢¹Ø±ÕÖ÷¶¯Éϱ¨ÖØÑ¡¡¢CCO´ÎÊýÐÅÏ¢
==============================================================================*/
typedef struct {
BYTE bStackIndex;
BYTE bAction; /*1:´ò¿ªÐ¡ÇøÖØÑ¡¡¢¿çÖÆÊ½CCO´ÎÊýͳ¼ÆÖ÷¶¯Éϱ¨£¬0:¹Ø±ÕÐ¡ÇøÖØÑ¡¡¢¿çÖÆÊ½CCO´ÎÊýͳ¼ÆÖ÷¶¯Éϱ¨*/
BYTE abPadding[2];
}T_z_MsgtracePs_CellresOrCcoCount_Req;
/* for MsgTrace */
typedef struct {
BYTE bStackIndex;
BYTE bAction;
BYTE abPadding[2];
}T_zMsgtracePs_CellDisplay_Req;
/*========================================================================
LOGÀàÐÍ£ºGMM_STATE_LOG
˵Ã÷£ºNAS GMM state
=========================================================================*/
typedef struct
{ BYTE bVersion;
BYTE bGmmState;
BYTE bGmmUpdateState;
BYTE bPadding;
}T_zNas_Gmm_StateInfo;
/*========================================================================
LOGÀàÐÍ£ºMM_STATE_LOG
˵Ã÷£ºNAS MM state
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bMmState;
BYTE bMmUpdateState;
BYTE bPadding;
}T_zNas_Mm_StateInfo;
/*========================================================================
LOGÀàÐÍ£ºNAS_REGISRT_STATE_LOG
˵Ã÷£ºNAS_REG state
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bPlmnSelMode;
BYTE bUeOperMode;
BYTE bPadding;
}T_zNas_MM_RegState;
/*========================================================================
LOGÀàÐÍ£ºCC_MO_SETUP_LOG
˵Ã÷£ºWCDMA NAS CS connection management call set up
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bCircuitcallID; /*integer from 0 to 6, 8 to 14*/
BYTE bStreamId; /*0 (no bearer) to 255*/
BYTE bCcState;
BYTE bMpartyStare; /*State of multiparty calls*/
BYTE bHoldStare; /*hold State of the call*/
BYTE bCallType;
BYTE bCallOrigDir; /*This is the call origination direction*/
BYTE bCallingNumberLen; /*The number of CALLING_Number ; if 0, there is no number available*/
BYTE abCallingNumber[20]; /*Calling party BCD number*/
BYTE bCalledNumberLenth; /*The number of CALLED_Number ; if 0, there is no number available*/
BYTE abCalledNumber[40]; /*Called party BCD number*/
BYTE abPadding[2];
} T_zNas_Cc_Setup;
/*========================================================================
LOGÀàÐÍ£ºSM_MO_SETUP_LOG
˵Ã÷£ºWCDMA NAS PS connection management call set up
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bPsConnInd; /*Packet switch call ID; integer from 0 to 6*/
BYTE bNSAPI; /*The NSAPI value*/
BYTE bPadding;
} T_zNas_Sm_Setup;
/*========================================================================
LOGÀàÐÍ£ºNAS_MM_CHARACTERISTICS_LOG
˵Ã÷£ºUMTS NAS MM characteristics
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bNetOpMode; /*ÍøÂç²Ù×÷ģʽ £º0 ¨C Class 1£¬ 1 ¨C Class 2£¬2 ¨C Class 3*/
BYTE bServType; /*·þÎñÀàÐÍ£º0 ¨C NO_SERVICE£¬ 1 ¨C CS_ONLY£¬2 ¨C PS_ONLY£¬3 ¨C CS_PS_SERVICE£¬4 ¨C LIMITED_SERVICE*/
T_z_PlmnId_Trace bServPlmnId; /*·þÎñÍøÂçID*/
WORD wLac; /*λÖÃÇøÂë*/
BYTE bRac; /*·ÓÉÇøÂë*/
BYTE bEplmnNum; /*EPLMN¸öÊý*/
T_z_PlmnId_Trace atPLMN[Z_TRACE_MAX_PLMN_NUM]; /*EPLMN Áбí*/
} T_zNas_Mm_Characteristics;
/*========================================================================
LOGÀàÐÍ£ºNAS_QoS_LOG
˵Ã÷£ºUMTS NAS QoS
=========================================================================*/
/*24008_10.5.6.5 , Quality_of_service*/
typedef struct{
BYTE bVersion;
BYTE abPadding[3];
BYTE bSpare0:2;
BYTE bDlyClss :3;
BYTE bReliabClss :3;
BYTE bPeakPut :4;
BYTE bSpare4:1;
BYTE bPrecClss :3;
BYTE bSpare6:3;
BYTE bMeanPut :5;
BYTE bpresentfg1;
BYTE bTraffClss :3;
BYTE bDelivOrd :2;
BYTE bDelivErrSDU :3;
BYTE bMaxSDUsiz;
BYTE bMaxBitUp;
BYTE bMaxBitDown;
BYTE bResiBER :4;
BYTE bSDUerrRat :4;
BYTE bTranLay :6;
BYTE bTrafHand :2;
BYTE bGuarBitUp;
BYTE bGuarBitDown;
BYTE bpresentfg2;
BYTE bSpare20:3;
BYTE bSignInd :1;
BYTE bSourDescr :4;
BYTE bpresentfg3;
BYTE bMaxBitExtDl;
BYTE bGuarBitExtDl;
BYTE bpresentfg4;
BYTE bMaxBitExtUl;
BYTE bGuarBitExtUl;
}T_zNas_QoS;
/*========================================================================
LOGÀàÐÍ£ºNAS_BC_LOG
˵Ã÷£º UMTS NAS connection bearer capability
=========================================================================*/
typedef struct{
BYTE bVersion;
BYTE abPadding[3];
BYTE bSpare0:1;
BYTE bRChReq :2;
BYTE bCodeStd :1;
BYTE bTranMode :1;
BYTE bTranCapa :3;
BYTE bpresentfg1;
BYTE bSpare5:1;
BYTE bCmprss :1;
BYTE bStru :2;
BYTE bDuplMode :1;
BYTE bCfg :1;
BYTE bNIRR :1;
BYTE bEst :1;
BYTE bpresentfg2;
BYTE bExt2 :1;
BYTE bSpare13:2;
BYTE bRateAdap :2;
BYTE bSignalAP :3;
BYTE bSpare16:1;
BYTE bOtherITC :2;
BYTE bOtherAdapt :2;
BYTE bSpare19:3;
BYTE bpresentfg3;
BYTE bExt4 :1;
BYTE bSpare21:2;
BYTE bUserlay1 :4;
BYTE bSyncAsync :1;
BYTE bExt5 :1;
BYTE bNumStopBit :1;
BYTE bNego :1;
BYTE bNumDataBit :1;
BYTE bUserRate :4;
BYTE bExt6 :1;
BYTE bIntermRate :2;
BYTE bNIConTX :1;
BYTE bNIConRX :1;
BYTE bParity :3;
BYTE bExt7 :1;
BYTE bConnElem :2;
BYTE bModemType :5;
BYTE bExt8 :1;
BYTE bOtherType :2;
BYTE bFixRate :5;
BYTE bExt9 :1;
BYTE bAccptCode :4;
BYTE bMaxNum :3;
BYTE bExt10 :1;
BYTE bUIMI :3;
BYTE bWantUserRate :4;
BYTE bSpare46:1;
BYTE bAccptCodeExt :3;
BYTE bAsyInd :2;
BYTE bSpare49:2;
BYTE bpresentfg4;
BYTE bSpare50:1;
BYTE bSpare51:2;
BYTE bLay2Proto :5;
}T_zNas_BC;
/*========================================================================
LOGÀàÐÍ£ºUE_DYNAMICID_LOG
˵Ã÷£º UMTS UE Dynamic ID
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bTmsiFlag; /*ÁÙʱÓû§IDÀàÐÍ £º0 ¨C TMSI£»1 ¨C PTMSI*/
BYTE abPadding[2];
BYTE abId[4]; /*TMSI»òP-TMSIÄÚÈÝ*/
} T_zUe_DynamicId;
/*========================================================================
LOGÀàÐÍ£ºUE_STATIC_LOG
˵Ã÷£º UMTS UE Static ID
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE abPadding[3];
T_z_IMSI_Trace tImsiId; /*IMSI*/
BYTE abImeiId[8]; /*IMEI*/
BYTE abImeisvId[8]; /*IMEISV*/
} T_zUe_StaticId;
/*========================================================================
EVENTÀàÐÍ£ºW_TIMER_EVENT
˵Ã÷:¶¨Ê±Æ÷Æô¶¯£¬Í£Ö¹£¬³¬Ê±Ê±¸ú×Ù¶¨Ê±Æ÷ÐÅÏ¢
=========================================================================*/
typedef enum{
Z_UMTS_T300,/*WRRC*/
Z_UMTS_T302,
Z_UMTS_T304,
Z_UMTS_T305,
Z_UMTS_T307,
Z_UMTS_T308,
Z_UMTS_T309,
Z_UMTS_T312Idle,
Z_UMTS_T312Con,
Z_UMTS_T313,
Z_UMTS_T314,
Z_UMTS_T315,
Z_UMTS_T316,
Z_UMTS_T317,
Z_UMTS_T319,
Z_UMTS_T320,
Z_UMTS_T323,
Z_UMTS_T325,
Z_UMTS_Twait,
Z_UMTS_Treselect,
Z_T3210, /*MM*/
Z_T3211,
Z_T3212,
Z_T3213,
Z_T3214,
Z_T3216,
Z_T3218,
Z_T3220,
Z_T3230,
Z_T3240,
Z_T3310, /*GMM*/
Z_T3311,
Z_T3316,
Z_T3318,
Z_T3320,
Z_T3321,
Z_T3330,
Z_T3340,
Z_T3302,
Z_T3312,
Z_T3314,
Z_T3317,
Z_T3319,
Z_T3323,
Z_T3380, /*SM*/
Z_T3381,
Z_T3390,
// Z_T3320,
Z_T303, /*CC*/
Z_T305,
Z_T308,
Z_T310,
Z_T313,
Z_T323,
Z_T324,
Z_T332,
Z_T335,
Z_T336,
Z_T337,
Z_TR1M, /*SMS*/
Z_TRAM,
Z_TR2M,
Z_TC1M,
Z_SS_T_M, /*SS*/
Z_SS_T_ML,
Z_SS_T_MS_USSD
}T_zUmts_TimerType;
typedef struct
{
BYTE bVersion;
BYTE bPadding;
BYTE bTimerName;
BYTE bTimerStatus;
DWORD dwTimerLength;
} T_Umts_TimerInfo;
/*========================================================================
EVENTÀàÐÍ£ºW_CAMPFAIL_EVENT
˵Ã÷£º×¤Áôʧ°ÜʼþÉϱ¨
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bFailCause;
BYTE abPadding[2];
} T_zUmts_CampFailEvent;
/*========================================================================
EVENTÀàÐÍ£ºW_OUTSYNC_EVENT
˵Ã÷£ºÊ§²½Ê¼þÉϱ¨
=========================================================================*/
/*========================================================================
EVENTÀàÐÍ£ºW_RLCUNRECOVERR_EVENT
˵Ã÷£ºWRLCÎÞ·¨»Ö¸´ÐÔ´íÎóʼþÉϱ¨
=========================================================================*/
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RRC_STATUS_LOG
˵Ã÷£ºWRRC״̬ÐÅÏ¢
=========================================================================*/
typedef struct{
BYTE bVersion;
BYTE bRrcStatus; /* 0: Dch; 1: Fach; 2: CellPch; 3: UraPch; 4: Idle; 5 FachCcch*/
BYTE abPadding[2];
}T_zWRRC_STATUS;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RRC_PROTOCOL_ERROR_LOG
˵Ã÷£ºWRRCЭÒé´íÎóÐÅÏ¢
=========================================================================*/
typedef struct{
BYTE bVersion;
BYTE bProtocolError; /* 0 ¨C ASN.1 violation or encoding error;
1 ¨C Message type non-existent or not implemented;
2 ¨C Message not compatible with receiver state;
3 ¨C Information element value not comprehended;
4 ¨C Information element missing;
5 ¨C Message extension not comprehended 10.3.3.26*/
BYTE abPadding[2];
}T_zWRRC_PROTOCOL_ERROR;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RRC_SERVCELL_INFO_LOG
˵Ã÷£ºW ServCellÐÅÏ¢(·ÇDch̬ʹÓã¬Dch̬½öwDlUarfcnÓÐЧ£¬½øÈëDch̬ʱ»á·¢ËÍÒ»Ìõ³ýwDlUarfcnÍâȫΪ0xFFµÄÏûÏ¢)
=========================================================================*/
typedef struct{
BYTE bHcsInd:1;
BYTE :7;
BYTE bServHcs;
BYTE bQhyst;
BYTE bQhcs;
CHAR cSIntraSrh; /*ʵ¼ÊÖµ*2, ÎÞЧֵΪ0*/
CHAR cSInterSrh; /*ʵ¼ÊÖµ*2, ÎÞЧֵΪ0*/
CHAR cSSrhHcs; /*ÎÞЧֵΪ0*/
CHAR cQQualMin;
CHAR cQRxlevMin;
CHAR cSrhRat; /*ʵ¼ÊÖµ*2, ÎÞЧֵΪ0*/
CHAR cSHcsRat; /*ÎÞЧֵΪ0*/
CHAR cSLimitSrhRat; /*ʵ¼ÊÖµ*2, ÎÞЧֵΪ0*/
CHAR cMaxAlwUlTxPwr;
CHAR cPadding[3];
WORD wTreselect; /*ÖØÑ¡ÆÀ¹Àʱ¼ä£¬²»´æÔÚΪ0,µ¥Î»Îªms*/
WORD wPadding;
}T_zWRRC_SERVCELL_RESINFO;
typedef struct{
BYTE bVersion;
BYTE abPadding[2];
BYTE bCellAccessRest; /*First bit£º 0 ¨C Cell barred,1 ¨C Cell not barred
Second bit: 0 ¨C Cell reserved for operator use; 1 ¨C Cell not reserved for operator use
Third bit: 0 ¨C Cell reserved Extension, 1 ¨C Cell not reserved Extension
ÎÞЧֵ£º0xFF(DCH)*/
WORD wUlUarfcn; /*0..16383*/
WORD wDlUarfcn; /*0..16383*/
WORD wPrimSrc; /*Dch̬ȡֵΪ0xFFFF*/
WORD wCallAccs; /*½ÓÈëµÈ¼¶ÊÇ·ñ±»barÐÅÏ¢£¬Bit0~15¶ÔÓ¦½ÓÈëµÈ¼¶0~15£¬0 ¨C Cell not barred,1 ¨C Cell barred*/
WORD wUraId; /*Which URA to use in case of overlapping URAs, bit string (16) 10.3.2.6 RecfgMsg, ÎÞЧֵ£º0xFFFF(DCH)*/
WORD wPadding;
DWORD dwCellId; /*Cell identity, bit string (28), ·ÇDch̬±¨¸æ£¬ÎÞЧֵ£º0xFFFFFFFF(DCH)*/
T_zWRRC_SERVCELL_RESINFO tResInfo;
}T_zWRRC_SERVCELLINFO;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RRC_CMINFO_LOG
˵Ã÷£ºWΪÖ÷ÖÆÊ½Ê±£¬×¨ÓÃ̬ÏÂѹËõģʽÅäÖÃÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bRpp; /*Recovery Period Powerģʽ0»¹ÊÇģʽ1*/
BYTE bItp; /*initial Transmit Power ģʽ0»¹ÊÇģʽ1*/
BYTE bCmMode; /*ÓÃÓÚÉÏÐУ¬ÏÂÐл¹ÊÇÉÏÏÂÐÐ, 0:ÉÏÐУ¬ 1:ÏÂÐУ¬2:ÉÏÏÂÐÐ*/
BYTE bDlCmMethod; /*0: SF/2, 1: higher layer scheduling)*/
BYTE bUlCmMethod; /*0: SF/2, 1: higher layer scheduling)*/
BYTE bDlFrameType; /*0:A 1:B*/
BYTE bDeltaSir1; /*0~30, ʵ¼ÊÖµ³ËÒÔ0.1*/
BYTE bDeltaSirAfter1; /*0~30, ʵ¼ÊÖµ³ËÒÔ0.1*/
BYTE bDeltaSir2; /*0~30, ʵ¼ÊÖµ³ËÒÔ0.1£¬²»´æÔÚĬÈÏΪbDeltaSir1*/
BYTE bDeltaSirAfter2; /*0~30, ʵ¼ÊÖµ³ËÒÔ0.1£¬²»´æÔÚĬÈÏΪbDeltaSirAfter1*/
BYTE abPadding[2];
}T_zWRRC_CmStaticInfo;
typedef struct{
BYTE bTgmp; /*ѹËõģʽÅäÖÃÄ¿µÄ£¬0:TDD; 1:FDD; 2:GsmRssi; 3: InitBsic; 4: Bsic Recnf; 5: Multicarrier; 6: Eutra*/
BYTE bTgsn; /*Æðʼʱ϶ºÅ£¬ 0~14*/
BYTE bTgl1; /*µÚÒ»¸öGAPµÄ³¤¶È£¬Ê±Ï¶Êý 1~14*/
BYTE bTgl2; /*µÚ¶þ¸öGAPµÄ³¤¶È£¬ 1~14£¬ASN.1ֵΪ0ʱÌî³äbTgl1*/
BYTE bTgpl; /*´«Êä¼ä¸ô³¤¶È£¬Ö¡Êý1~144*/
BYTE abPadding[3];
WORD wTgd; /*Á½¸öGAPÆðʼµãµÄ¾àÀ룬ʱ϶Êý15~269,0XFFFF±íʾundifined*/
WORD wTgprc; /*´«Êä¼ä¸ôÖØ¸´¸öÊý1~511£¬0XFFFF£ºinfinity*/
T_zWRRC_CmStaticInfo tStaticInfo;
}T_zWRRC_CmCfgInfo;
typedef struct{
BYTE bTgpsi; /*1~6*/
BYTE bStatus; /*0±íʾ¼¤»î¡£1±íʾȥ»î*/
BYTE bCmCfgFlg; /*ָʾbCmCfgFlgÊÇ·ñ´æÔÚ£¬Èô²»´æÔÚÔò½ö¸üÐÂÏàÓ¦TgpsiµÄStatusÐÅÏ¢*/
BYTE bPadding;
T_zWRRC_CmCfgInfo tCmCfgInfo;
}T_zWRRC_CmItem;
typedef struct{
BYTE bVersion;
BYTE bCmNum;
BYTE abPadding[2];
T_zWRRC_CmItem atCmItem[WRRC_MAX_CM_NUM];
}T_zWRRC_CMINFO;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RRC_RESELECTCELL_LOG
˵Ã÷£ºWΪÖ÷ÖÆÊ½Ê±£¬Ð¡ÇøÖØÑ¡ÐÅÏ¢£¬WºÍGSMµÄÁÚÇø²âÁ¿ÐÅÏ¢
=========================================================================*/
typedef struct{
WORD wDlUarfcn;
WORD wPrimSrc; /*Primary scrambling code, 0~511*/
BYTE bRscp; /*0~96*/
BYTE bEcNo; /*0~49*/
BYTE abPadding[2];
SHORT sValueRscp; /*ÓÉRscp¼ÆËãµÄRÖµ»òSÖµ£¬ÏûÏ¢bResType¾ö¶¨£¬0£ºRÖµ£»1£ºSÖµ*/
SHORT sValueEcNo; /*ÓÉEcNo¼ÆËãµÄRÖµ»òSÖµ£¬ÏûÏ¢bResType¾ö¶¨£¬0£ºRÖµ£»1£ºSÖµ£¨Èô²»´æÔÚ¸ÃÖµ¶¨ÒåΪ-10000£©*/
}T_zWRRC_BETTER_WCELL;
typedef struct{
BYTE bBsic; /*Bcc: Bit0~2, Ncc:Bit3~5*/
BYTE bRssi; /*0~63*/
BYTE abPadding[2];
WORD wArfcn; /*0 ~1023, ¶ÔÓÚBand900¸ßλÖÃ1*/
SHORT sValue; /*ÓÉÏûÏ¢bResType¾ö¶¨£¬0£ºRÖµ£»1£ºSÖµ*/
}T_zWRRC_BETTER_GSMCELL;
typedef struct{
DWORD dwEarfcn;
WORD wPci;
SHORT sSrxlev;
SHORT sSqual; /*Èô²»´æÔÚ¸ÃÖµ£¬¶¨ÒåΪ10000*/
BYTE abPadding[2];
}T_zWRRC_BETTER_LTECELL;
typedef struct{
BYTE bVersion;
BYTE bResType; /*1:ÆÕÍ¨ÖØÑ¡£»2£ºµÈ¼¶ÆÀ¹ÀÖØÑ¡£¬¸ÃÖµ¾ö¶¨WÓëGSMÐ¡ÇøÖÐValueֵΪRÖµ»òSÖµ*/
BYTE bWCellNum; /*0~32*/
BYTE bGsmCellNum; /*0~32*/
BYTE bLteCellNum; /*0~16*/
BYTE abPadding[3];
T_zWRRC_BETTER_WCELL atBetterWCell[WRRC_MAX_RES_WCELL];
T_zWRRC_BETTER_GSMCELL atBetterGsmCell[WRRC_MAX_RES_GSMCELL];
T_zWRRC_BETTER_LTECELL atBetterLteCell[WRRC_MAX_RES_LTECELL];
}T_zWRRC_RESELECTCELL;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RRC_FMOINFO_LOG
˵Ã÷£ºFACH Measurement Occasion Information
=========================================================================*/
typedef struct{
BYTE bVersion;
BYTE bFmoCfgInd; /*1:confg, 0: not cfg*/
BYTE abPadding[2];
WORD wTtiPeriod; /*FACH Measurement occasion cycle length, 1~4096*/
WORD wTtiOffset;
}T_zWRRC_FMOINFO;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RRC_MCEVENTINFO_LOG
˵Ã÷£ºWÖ÷ÖÆÊ½Ï£¬Dch EventÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bMcId;
BYTE bEventId; /*0:1A,1:1B,...5:1F, 9:1J (ͬƵʼþÆ«ÒÆ10) */
BYTE bW;
BYTE bHysteresis;
BYTE bTimeToTrigger;
BYTE bCellNumThld; /*0~7 ¶ÔÓÚ1AʼþΪReporting deactivation threshold£¬ 1C£¬1JʼþΪReplacement activation threshold*/
BYTE bTriggerCondition; /* 0: not used, 1: Active set cells, 2:Monitored set cells,
3:Active set cells and monitored set cells, 4: Detected set cells,
5: Detected set cells and monitored set cells.*/
BYTE bRptRange;
SHORT sThld; /*ʹÓÃÓÚ1E£¬Fʼþ*/
SHORT sPadding;
}T_zWRRC_IntraEventInfo;
typedef struct {
BYTE bMcId;
BYTE bEventId; /*0:2A,1:2B,...5:2F (ÒìÆµÊ¼þÆ«ÒÆ20)*/
BYTE bUsedFreqW;
BYTE bNotUsedFreqW;
BYTE bHysteresis;
BYTE bTimeToTrigger;
BYTE abPadding[2];
SHORT sUsedFreqThld; /*Event2B,2D,2F*/
SHORT sNotUsedFreqThld; /*Event2B,2C,2E*/
}T_zWRRC_InterEventInfo;
typedef struct {
BYTE bMcId;
BYTE bEventId; /*0:2A,1:2B,...5:2F(RATʼþÆ«ÒÆ30)*/
BYTE bW;
BYTE bHysteresis;
BYTE bTimeToTrigger;
BYTE abPadding[3];
SHORT sOwnThreshold; /*Integer (-115..0),in event 3A*/
SHORT sOtherSysThreshold;
}T_zWRRC_RatEventInfo;
typedef struct{
BYTE bIdx; /*bIdx=0: dch*//*bIdx=1: NULL*//*bIdx=2: usch*/
union{
BYTE bDch;
T_zUrrc_ASN1NULL_Trace tRachNull;
BYTE bUsch;
}Val;
BYTE abPadding[2];
}T_zWRRC_UlTrchId;
typedef struct {
BYTE bMcId;
BYTE bEventId; /*0:4A 1:4B, (ÒµÎñÁ¿²âÁ¿Ê¼þÆ«ÒÆ40)*/
BYTE bThreshold; /*0~25*/
BYTE bPadding;
WORD wTimeToTrigger; /*0~15*/
WORD wPendTime; /*0~5*/
WORD wTxIntAfterTrig; /*0~6*/
WORD wPadding;
T_zWRRC_UlTrchId tTrchId;
}T_zWRRC_TvEventInfo;
typedef struct {
BYTE bMcId;
BYTE bTrchId; /*1~32*/
BYTE abPadding[2];
WORD wTotalCrc; /*1~512*/
WORD wBadCrc; /*1~512*/
WORD wPendAfterTrig; /*1~512*/
WORD wPadding;
}T_zWRRC_QuaEventInfo;
typedef struct {
BYTE bMcId;
BYTE bEventId; /*0:6A 1:6B ... 5:6F£¬ (UEÄÚ²¿²âÁ¿Ê¼þÆ«ÒÆ60)*/
BYTE bPadding;
BYTE bTxpThld; /*Event 6A,6B, -50~33Ôö¼ÓÆ«ÒÆ71*/
WORD wRtdThld; /*Event 6F,6G, 768~1280*/
WORD wTimeToTrigger; /*0 ~ 5000*/
}T_zWRRC_UeInterEventInfo;
typedef struct {
BYTE bEventType; /*0:Intra, 1:Inter, 2: Rat, 4:Tv, 5:Qua, 6:UeInter (No 3)*/
BYTE abPadding[3];
union{
T_zWRRC_IntraEventInfo tIntraEvent;
T_zWRRC_InterEventInfo tInterEvent;
T_zWRRC_RatEventInfo tRatEvent;
T_zWRRC_TvEventInfo tTvEvent;
T_zWRRC_QuaEventInfo tQuaEvent;
T_zWRRC_UeInterEventInfo tUeInterEvent;
}uEventInfo;
}T_zWRRC_MeasEventInfo;
typedef struct {
BYTE bVersion;
BYTE bEventNum;
BYTE abPadding[2];
T_zWRRC_MeasEventInfo atMeasEventInfo[WRRC_MAX_EVENT_NUM];
}T_zWRRC_MCEVENTINFO;
/*========================================================================
LOGÀàÐÍ£º Z_WCDMA_RRC_CELLINFO_LOG
˵Ã÷£ºWÖ÷ÖÆÊ½Ï£¬ÁÚÇøÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bHcsCellFlg:1;
BYTE bQrxlevminFlg:1;
BYTE bQqualinFlg:1;
BYTE :5;
BYTE bHcsPrio; /*Integer (0..7)*/
BYTE bQhcs;
CHAR cQoffset1; /*Integer(-50..50), default is 0*/
CHAR cQoffset2; /*Integer(-50..50), default is 0*/
CHAR cMaxTxP; /*Maximum allowed UL TX power,Integer(-50..33)*/
CHAR cQrxlevmin; /*Integer (-115..-25 by step of 2)*/
CHAR cQqualmin; /*Integer(-24~0), default serv*/
}T_zWRRC_CellCsrInfo;
typedef struct {
BYTE bReadSfnInd:1;
BYTE bTxDivInd:2;
BYTE :5;
BYTE bCellId;
CHAR cCellIndvOff;
CHAR cPcpichTxPwr;
WORD wPrimSrc;
WORD wPadding;
T_zWRRC_CellCsrInfo tCsrInfo;
}T_zWRRC_FddCellInfo;
typedef struct {
BYTE bCellId;
BYTE bBand;
BYTE bBsic;
CHAR cCellIndvOff;
WORD wArfcn; /*Band 1900ʱ¸ßλÖÃ1*/
WORD wPadding;
T_zWRRC_CellCsrInfo tCsrInfo;
}T_zWRRC_GsmCellInfo;
typedef struct {
BYTE bVersion;
BYTE abPadding[3];
BYTE bIntraCellNum;
BYTE bInterCellNum;
BYTE bGsmCellNum;
BYTE bLteFreqNum;
WORD awDlUarfcn[WRRC_MAX_INTERCELL_NUM]; /*ÓëÊý×éatInterCellInfo[]¶ÔÓ¦*/
T_zWRRC_FddCellInfo atIntraCellInfo[WRRC_MAX_INTRACELL_NUM];
T_zWRRC_FddCellInfo atInterCellInfo[WRRC_MAX_INTERCELL_NUM];
T_zWRRC_GsmCellInfo atGsmCellInfo[WRRC_MAX_GSMCELL_NUM];
DWORD adwEuarfcn[WRRC_MAX_LTEFREQ_NUM];
}T_zWRRC_CELLINFO;
/*========================================================================
LOGÀàÐÍ£º Z_WCDMA_RRC_PRIOINFO_LOG
˵Ã÷£ºWÖ÷ÖÆÊ½Ï£¬ÁÚÇøÆµµãÓÅÏȼ¶ÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bPrio; /*0-7*/
BYTE bSprioSearch1; /*MP, 0..62 by step of 2*/
BYTE bSprioSearch2; /*MD, default:0, 0..7 by step of 1£¬ ʵ¼ÊÖµ³ËÒÔ2*/
BYTE bThreshServlow; /*MP, 0..62 by step of 2*/
BYTE bThreshServlow2; /*MD,default 0, 0..62, FDD. R9°æ±¾Ö®Ç°²»Ê¹ÓÃ*/
BYTE abPadding[3];
}T_zWRRC_ServPrioInfo;
typedef struct {
BYTE bPrio;
BYTE bThodhighFg:1;
BYTE bThodlowFg:1;
BYTE :6;
BYTE bThreshxhigh; /*0..62 by step of 2*/
BYTE bThreshxlow; /*0..62 by step of 2*/
CHAR cQrxlevmin; /*MD, -119..-25 by step of 2, */
CHAR cQqualmin; /*MD, -24..0, Default value is -24*/
WORD wUarfcn;
}T_zWRRC_UtraFreqPrioInfo;
typedef struct {
BYTE bFreqNum;
BYTE abPadding[3];
T_zWRRC_UtraFreqPrioInfo atFreqPrioInfo[WRRC_MAX_PRIOUTRAFREQ_NUM];
}T_zWRRC_UtraPrioInfo;
typedef struct {
BYTE bPrio;
BYTE bThodhighFg:1;
BYTE bThodlowFg:1;
BYTE :6;
BYTE bThreshxhigh; /*0..62 by step of 2*/
BYTE bThreshxlow; /*0..62 by step of 2*/
CHAR cQmin; /*MD, -115..-56 by step of 2, Default value is -115*/
CHAR cPadding;
WORD wArfcn; /*MP, 0..1023*/
}T_zWRRC_GsmCellPrioInfo;
typedef struct {
BYTE bCellNum;
BYTE abPadding[3];
T_zWRRC_GsmCellPrioInfo atGsmCellPrioInfo[WRRC_MAX_GSMCELL_NUM];
}T_zWRRC_GsmPrioInfo;
typedef struct {
BYTE bPrio;
BYTE bThodhighFg:1;
BYTE bThodlowFg:1;
BYTE bThodhigh2Fg:1; /*½öR8ºó·ÖÖ§¿ÉÄÜÓÐЧ*/
BYTE bThodlow2Fg:1; /*½öR8ºó·ÖÖ§¿ÉÄÜÓÐЧ*/
BYTE :4;
BYTE bThreshxhigh; /*0..62 by step of 2*/
BYTE bThreshxlow; /*0..62 by step of 2*/
BYTE bThreshxhigh2; /*Integer (0..31)*2, ʵ¼ÊÖµ*2*/
BYTE bThreshxlow2; /*Integer (0..31)*2, ʵ¼ÊÖµ*2*/
CHAR cQqualmin; /*MD, -34..-3, Default value is negative infinity*/
CHAR cPadding;
SHORT sQrxlevmin; /*MD, -140..-44 by step of 2, Default value is -140*/
BYTE abPadding[2];
DWORD dwEarfcn; /*MP, 0 .. 65535*/
}T_zWRRC_LteFreqPrioInfo;
typedef struct {
BYTE bFreqNum;
BYTE abPadding[3];
T_zWRRC_LteFreqPrioInfo atLteFreqPrioInfo[WRRC_MAX_LTEFREQ_NUM];
}T_zWRRC_LtePrioInfo;
typedef struct {
BYTE bVersion;
BYTE abPadding[3];
T_zWRRC_ServPrioInfo tServPrioInfo;
T_zWRRC_UtraPrioInfo tUtraFreqPrioInfo;
T_zWRRC_GsmPrioInfo tGsmPrioInfo;
T_zWRRC_LtePrioInfo tLteFreqPrioInfo;
}T_zWRRC_PRIOINFO;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RRC_EVENT_FREQQUA_LOG
˵Ã÷£ºWÖ÷ÖÆÊ½Ï£¬Í¬ÆµÊ¼þƵµãÖÊÁ¿ÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bMcId;
BYTE bEventId;
SHORT sFreqQua;
}T_zWRRC_IntraEventFreqQua;
typedef struct {
BYTE bEventNum;
BYTE abPadding[3];
T_zWRRC_IntraEventFreqQua atIntraEventFreqQua[WRRC_MAX_INTRAMEASEVENT];
}T_zWRRC_IntraMcEventFreqQua;
typedef struct{
BYTE bAsQuaFlg;
BYTE bFreqQuaInd; /*Ƶµã½á¹ûÊÇ·ñÓÐЧָʾ£¬ÓëasFreqQua[]¶ÔÓ¦*/
BYTE abPadding[2];
WORD awDlUarfcn[WRRC_MAX_INTERFREQ_NUM];
SHORT asFreqQua[WRRC_MAX_INTERFREQ_NUM];
SHORT sAsQua;
SHORT sPadding;
}T_zWRRC_EventFreqQua;
typedef struct {
BYTE bMcId;
BYTE bEventId;
BYTE abPadding[2];
T_zWRRC_EventFreqQua tFreqQua;
}T_zWRRC_InterEventFreqQua;
typedef struct {
BYTE bEventNum;
BYTE abPadding[3];
T_zWRRC_InterEventFreqQua atInterEventFreqQua[WRRC_MAX_INTERMEASEVENT];
}T_zWRRC_InterMcEventFreqQua;
typedef struct {
BYTE bMcId;
BYTE bEventId;
BYTE abPadding[2];
SHORT sAsQua;
SHORT sPadding;
}T_zWRRC_RatEventAsQua;
typedef struct {
BYTE bEventNum;
BYTE abPadding[3];
T_zWRRC_RatEventAsQua atRatEventAsQua[WRRC_MAX_RATMEASEVENT];
}T_zWRRC_RatMcEventFreqQua;
typedef struct {
BYTE bVersion;
BYTE abPadding[3];
T_zWRRC_IntraMcEventFreqQua tIntraEventFreqQua;
T_zWRRC_InterMcEventFreqQua tInterEventFreqQua;
T_zWRRC_RatMcEventFreqQua tRatEventAsQua;
}T_zWRRC_EVENTFREQ_QUA;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RRC_CELLRST_LOG
˵Ã÷£ºWÖ÷ÖÆÊ½Ï£¬Ð¡Çø½á¹ûÐÅÏ¢
=========================================================================*/
typedef struct {
BYTE bRscp;
BYTE bEcNo;
BYTE abPadding[2];
SHORT sSrxlev;
SHORT sQqual;
SHORT sRvalue; /*ÎÞЧֵÌî³ä0*/
SHORT sHvalue; /*ÎÞЧֵÌî³ä0*/
}T_zWRRC_CELLVALUE;
typedef struct {
WORD wPrimSrc;
WORD wPadding;
T_zWRRC_CELLVALUE tCellValue;
}T_zWRRC_IntraCellRst;
typedef struct {
BYTE bAsNum; /*0~8, ·ÇDch̬Ìî³ä1£¬¶ÔÓ¦atAsCell[]Ìî³ä·þÎñÐ¡Çø½á¹û*/
BYTE bMsNum; /*0~32*/
BYTE bDsNum; /*0~8*/
BYTE bPadding;
T_zWRRC_IntraCellRst atAsCell[WRRC_MAX_AS_NUM];
T_zWRRC_IntraCellRst atMsCell[WRRC_MAX_MS_NUM];
T_zWRRC_IntraCellRst atDsCell[WRRC_MAX_DS_NUM];
}T_zWRRC_IntraCellRstInfo;
typedef struct {
WORD wUarfcn;
WORD wPrimSrc;
T_zWRRC_CELLVALUE tCellValue;
}T_zWRRC_InterCellRst;
typedef struct {
BYTE bInterCellNum; /*0~32*/
BYTE abPadding[3];
T_zWRRC_InterCellRst atInterCell[WRRC_MAX_INTERCELL_NUM];
}T_zWRRC_InterCellRstInfo;
typedef struct{
BYTE bBsic;
BYTE bRssi; /*0~63*/
SHORT sSrxlev;
SHORT sRvalue;
SHORT sHvalue;
WORD wArfcn; /*¸ßλÖÃ1±íʾ1900Ƶ¶Î*/
WORD wPadding;
}T_zWRRC_GsmCellRst;
typedef struct {
BYTE bGsmNum; /*0~32*/
BYTE abPadding[3];
T_zWRRC_GsmCellRst atGsmCell[WRRC_MAX_GSMCELL_NUM];
}T_zWRRC_GsmCellRstInfo;
typedef struct {
BYTE bRsrp;
BYTE bRsrq;
WORD wPci;
DWORD dwEarfcn;
SHORT sSrxlev;
SHORT sSqual;
}T_zWRRC_LteCellRst;
typedef struct {
BYTE bLteNum;
BYTE abPadding[3];
T_zWRRC_LteCellRst atLteCell[WRRC_MAX_LTECELL_NUM];
}T_zWRRC_LteCellRstInfo;
typedef struct {
BYTE bVersion;
BYTE abPadding[3];
T_zWRRC_IntraCellRstInfo tIntraCellInfo;
T_zWRRC_InterCellRstInfo tInterCellInfo;
T_zWRRC_GsmCellRstInfo tGsmCellInfo;
T_zWRRC_LteCellRstInfo tLteCellInfo;
}T_zWRRC_CELLRSTINFO;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RRC_TRAFFIC_REPORT_LOG
˵Ã÷£ºWÖ÷ÖÆÊ½Ï£¬Ð¡Çø½á¹ûÐÅÏ¢
=========================================================================*/
typedef struct{
BYTE bRbId; /*1-32*/
BYTE bBo; /*´¥·¢±¨¸æÊ±µÄBOÖµ£¬ÕæÊµBOÖµ.ÊÇ2^bBo*/
BYTE bAvgBo; /*Íø²àÅäÖüä¸ôÄڵľùÖµ ÕæÊµBOÖµ.ÊÇ2^bAvgBo¡£0±íʾÎÞЧֵ£¬UEÎÞ·¨¼ÆËã*/
BYTE bVarBo; /*Íø²àÅäÖüä¸ôÄڵķ½²î ÕæÊµBOÖµ.ÊÇ2^bAvgBo¡£0±íʾÎÞЧֵ£¬UEÎÞ·¨¼ÆËã*/
}T_zWRRC_RbBoInfo;
typedef struct{
BYTE bEventId; /*½öʼþ±¨¸æÊ±ÓÐЧ£¬40±íʾ4A, 41±íʾ4B*/
BYTE bTrchType; /*´¥·¢Ê¼þ±¨¸æµÄ´«ÊäÐŵÀÀàÐÍ£¬0±íʾDCH,1±íʾRACH, 3±íʾEDCH*/
BYTE bTrchId; /*´¥·¢Ê¼þ±¨¸æµÄ´«ÊäÐŵÀID£º1-32*/
BYTE bPadding;
}T_zWRRC_TvEventRst;
typedef struct {
BYTE bVersion;
BYTE bMeasId; /*1-32*/
BYTE bRepMode; /*0±íʾʼþÀàÐÍ,1±íʾÖÜÆÚÀàÐÍ*/
BYTE bRbNum; /*RB¸öÊý£º0-11*/
union{
T_zWRRC_TvEventRst tEventRst;
BYTE bPrdRptSendNum; /*ÖÜÆÚ±¨¸æÒѾ­·¢Ë͵ĴÎÊý£¬ÎÞÏÞÖÜÆÚʱÌî³ä0*/
}uRptCriInfo;
T_zWRRC_RbBoInfo atRbBoInfo[Z_MAX_RB_NUM_TRACE];
}T_zWRRC_TRAFFIC_REPORT;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RLC_DlAmSta_TV_LOG
˵Ã÷£ºWCDMA RLC DL AM Statistics
=========================================================================*/
typedef struct
{
BYTE bDlAmdLochId; /*DL DATA LOCH ID ; ȡֵ0-255 */
BYTE bDlCtrlLochId; /*DL Ctrl LOCH ID ; ȡֵ0-255 */
BYTE bDlLochType; /*LOCH ÀàÐÍ; 0: BCCH ,1: PCCH, 2: CCCH, 3: DCCH, 4: CTCH, 5-DTCH*/
BYTE bPadding;
WORD wVrr; /*Vrr ; ȡֵ0-4095*/
WORD wVrh; /*vrh; ȡֵ0-4095*/
DWORD dwRecvPduNum; /*ÀۼƽÓÊÕµ½µÄPDU¸öÊý(ÕýÈ·µÄ)*/
DWORD dwRecvSduNum; /*ÀÛ¼Æ×é³öµÄSDU¸öÊý*/
DWORD dwRecvErrPduNum; /*ÀۼƽÓÊÕµ½²»ÕýÈ·µÄPDU¸öÊý(´°Íâ»òÕß´íÎóµÄ)*/
DWORD dwRecvAmdPduNum; /*ÀۼƽÓÊÕµ½AMD PDU¸öÊý(ÕýÈ·µÄ)*/
DWORD dwRecvCtrlPduNum; /*ÀۼƽÓÊÕµ½¿ØÖÆPDU¸öÊý*/
DWORD dwNackedPduNum; /* Íø²âCtrl PDUÉϱ¨µÄNACK'd AMD PDU¸öÊý*/
}T_zWrlcDlAmSta_Info;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bDlLogNum;/*ÏÂÐдýAMʵÌåͳ¼Æ¸öÊý*/
T_zWrlcDlAmSta_Info atRlcDlAmInfo[Z_WRLC_MAX_AMNUM];/*ÏÂÐÐAMʵÌåͳ¼ÆÐÅÏ¢*/
}T_zWrlcDlAmSta_TV;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RLC_UlAmSta_Tv_LOG
˵Ã÷£ºWCDMA RLC UL AM Statistics
=========================================================================*/
typedef struct
{
BYTE bUlAmdLogId; /*ÉÏÐÐÊý¾Ý·¢ËÍLoch ID ; ȡֵ0-255*/
BYTE bUlCtrlLogId; /*ÉÏÐпØÖÆÊý¾Ý·¢ËÍLoch ID; ȡֵ0-255*/
BYTE bUlLogType; /*Loch ÀàÐÍ; 0 :BCCH, 1: PCCH, 2: CCCH, 3: DCCH, 4: CTCH,5: DTCH;MACÌṩ*/
BYTE bPadding;
WORD wResetNum; /*´¥·¢Reset´ÎÊý*/
WORD wVts; /*vts ȡֵ0-4095*/
WORD wVta; /*vta ȡֵ0-4095*/
WORD wVtMs; /*vtMsȡֵ0-4095*/
WORD wSendSecRetrNum; /*Á½´ÎÖØ´«PDU¸öÊý*/
WORD wSendthirdRetrNum; /*Èý´ÎÖØ´«PDU¸öÊý*/
WORD wSendFourRetrNum; /*ËÄ´ÎÖØ´«PDU¸öÊý*/
WORD wSendFiveRetrNum; /*Îå´ÎÖØ´«PDU¸öÊý*/
WORD wSendsixMoreRetrNum; /*>=Áù´ÎÖØ´«PDU¸öÊý*/
WORD wPadding;
DWORD dwBoSize; /*BOÖµBIT*/
DWORD dwSendPduBytes; /*ÉÏÐÐÀۼƷ¢ËÍPDU bytes,°üÀ¨¿ØÖƵĺÍÊý¾ÝµÄ*/
DWORD dwSendSduBytes; /*ÉϲãÀۼƷ¢Ë͸øRLCµÄSDU bytes*/
DWORD dwFstSendDataBytes; /*AMD PDUs ÖÐ Ê״η¢Ë͵ÄÀÛ¼ÆBytes*/
DWORD dwRetrDataBytes; /*AMD PDU ÖØ´«µÄÀÛ¼ÆBytes*/
DWORD dwCtrlPduBytes; /*·¢Ë͵ÄCtrl PDUÀÛ¼ÆBytes*/
DWORD dwNakPduNum; /*UE Ctrl PDUÖÐNACK'd PDUµÄÀۼƸöÊý*/
}T_zWrlcUlAmSta_Info;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bUlLogNum; /*ÉÏÐдýAMʵÌåͳ¼Æ¸öÊý*/
T_zWrlcUlAmSta_Info atRlcUlAmInfo[Z_WRLC_MAX_AMNUM];/*ÉÏÐÐAMʵÌåͳ¼ÆÐÅÏ¢*/
}T_zWrlcUlAmSta_TV;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RLC_Sta_TV_LOG
˵Ã÷£ºWCDMA RLC UL/DL states
=========================================================================*/
typedef struct
{
BYTE bLochId;/*UL LOCH ID ȡֵ0- 19 ; DL Loch ID ȡֵ0-18*/
BYTE bStatus;
/*0 ¨C UL_NULL_STATE
1 ¨C TM_UL_DATA_TRANSFER_READY
2 ¨C UM_UL_DATA TRANSFER READY
3 ¨C UM_UL_SUSPENDED
4 ¨C AM_UL_DATA_TRANSFER_READY
5 ¨C AM_UL_SUSPENDED
6 ¨C AM_UL_RESET_PENDING*/
/*0 ¨C DL_NULL_STATE
1 ¨C TM DL_DATA_TRANSFER_READY
2 ¨C UM DL_DATA TRANSFER READY
3 ¨C AM_DL_DATA_TRANSFER_READY
4 ¨C UM_DL_SUSPENDED
5 ¨C AM_DL_SUSPENDED
6 ¨C AM_DL_RESET_PENDING*/
BYTE abPadding[2];
}T_zWrlcSta_Info;
typedef struct
{
BYTE bVesion;
BYTE bPadding;
BYTE bDirect;/*0-UL 1-DL*/
BYTE bLogNum;/*ȡֵ1-20*/
T_zWrlcSta_Info atSta[Z_WRLC_MAX_LOGNUM];
} T_zWrlcSta_TV;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RLC_UlTm_TV_LOG
˵Ã÷£ºWCDMA RLC UL TM
=========================================================================*/
typedef struct
{
BYTE bTmLochType; /*Loch type ȡֵ2 :CCCH,3:DCCH,5:DTCH;MACÌṩ */
BYTE bUlLochId; /*Loch ID ȡֵ0-18; MACÌṩ*/
BYTE bTimeDiscVal; /*ȡֵ0-10 ¼´(ÅäÖõÄÖµ/10)*/
BYTE bSegmFg; /*ÊÇ·ñ·Ö¶Îȡֵ0,1*/
}T_zWrlcUlTm_Info;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bLogNum;/*LOch ¸öÊý 1-8*/
T_zWrlcUlTm_Info atUlTmInfo[Z_WRLC_MAX_TM_NUM];
}T_zWrlcUlTm_TV;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RLC_UlUm_TV_LOG
˵Ã÷£ºWCDMA RLC UL UM
=========================================================================*/
typedef struct
{
BYTE bUmLogType; /*LOCH type,ȡֵ3:DCCH,5:DTCH*/
BYTE bUlLogId; /*LOCH ID ȡֵ0-18*/
BYTE bTimeDiscVal; /*0-10 ͬTM*/
BYTE bLiLength; /*0-7bit 1-15bit*/
DWORD dwHfn; /*HFN*/
}T_zWrlcUlUm_Info;
typedef struct
{
BYTE bVesrion;
BYTE abPadding[2];
BYTE bLogNum; /*LOG ¸öÊý 1-3*/
T_zWrlcUlUm_Info atUlUmInfo[Z_WRLC_MAX_UM_NUM];
}T_zWrlcUlUm_TV;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RLC_DlTm_TV_LOG
˵Ã÷£ºWCDMA RLC DL TM
=========================================================================*/
typedef struct
{
BYTE bDlLochType; /*LOCH type ȡֵ2 :CCCH,3:DCCH,4: CTCH 5:DTCH */
BYTE bDlLochId; /*LOCH ID;ȡֵ 0-18*/
BYTE bSegm; /*ÊÇ·ñ·Ö¶Î,ȡֵ0,1*/
BYTE bPadding;
}T_zWrlcDlTm_Info;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bLogNum; /*LOG ¸öÊý 1-8*/
T_zWrlcDlTm_Info atDlTmInfo[Z_WRLC_MAX_TM_NUM];
}T_zWrlcDlTm_TV;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RLC_DlUm_TV_LOG
˵Ã÷£ºRLC DL UM
=========================================================================*/
typedef struct
{
BYTE bDlLochType; /*LOCH type ȡֵ2 :CCCH,3:DCCH,4: CTCH 5:DTCH*/
BYTE bDlLochId; /*LOG ID ȡֵ0-18*/
BYTE bLiLength; /*LI ³¤¶È£¬È¡Öµ0-7bit 1-15bit*/
BYTE bPadding;
DWORD dwHfn; /*HFN*/
}T_zWrlcDlUm_Info;
typedef struct
{
BYTE bversion;
BYTE abPadding[2];
BYTE bLogNum; /*LOG ¸öÊý 1-3*/
T_zWrlcDlUm_Info atDlUmInfo[Z_WRLC_MAX_UM_NUM];
}T_zWrlcDlUm_TV;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RLC_DlAmConfig_TV_LOG
˵Ã÷£ºWCDMA RLC DL AM Configuration
=========================================================================*/
typedef struct
{
BYTE bDlDataLochId; /*Êý¾ÝLOCH ID ,ȡֵ0-20; MACÌṩ*/
BYTE bDlContLochId; /*¿ØÖÆLOCH ID,ȡֵ0-20; MACÌṩ*/
BYTE bRbId; /*RbId ȡֵ0-31*/
BYTE bLochType; /*LOCH type,ȡֵ3:DCCH,5:DTCH;MACÌṩ*/
BYTE bLiLength; /*ȡֵ0-7bit 1-15bit*/
BYTE bSeqDelFg; /*ȡֵ0-false 1-true*/
BYTE bMissInd; /*ȡֵ0-false 1-true*/
BYTE bPadding;
WORD wRcvWindSize; /*vtwsȡֵ0-4095*/
WORD wTimeStatusPrd; /*ÖÜÆÚÐÔ¶¨Ê±Æ÷ʱ³¤£»È¡Öµ100, 200, 300, 400, 500, 750, 1000, 2000*/
WORD wTimerStatusPrh; /*¶ÂÈû¶¨Ê±Æ÷ʱ³¤£»È¡Öµ 10 to 550 by step of 10, and from 550 to 1000 by step of 50*/
WORD wPadding;
DWORD dwHfn;
}T_zWrlcDlAmConfig_Info;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bDLAmCfgNum; /*DL Cfg ¸öÊýȡֵ 1-4*/
T_zWrlcDlAmConfig_Info atDlAmCfgInfo[Z_WRLC_MAX_AM_CFGUM];
} T_zWrlcDlAmConfig_TV;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RLC_UlAmConfig_TV_LOG
˵Ã÷£ºWCDMA RLC UL AM Configuration
=========================================================================*/
typedef struct
{
BYTE bUlDataLochId; /*Êý¾ÝLOCH ID ,ȡֵ0-18; MACÌṩ*/
BYTE bUlContLochId; /*¿ØÖÆLOCH ID,ȡֵ0-18; MACÌṩ*/
BYTE bRbId; /*RbId ȡֵ0-31*/
BYTE bLochType; /*LOCH type,ȡֵ3:DCCH,5:DTCH;MACÌṩ*/
BYTE bLiLength; /*ȡֵ0-7bit 1-15bit*/
BYTE bMaxRst; /*<24*/
BYTE bSduDisMode; /* ȡֵ0 :TBE 1:MAXDAT,2: No discard*/
BYTE bMaxDat; /*ȡֵ1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 35, 40*/
BYTE bPollPdu; /*ȡֵ0, 1, 2, 4, 8, 16, 32, 64, 128*/
BYTE bPollSdu; /*ȡֵ0, 1, 4, 16, 64*/
BYTE bLastTranPollFg; /*ȡֵ0,1*/
BYTE bLastRetrasPollFg; /*ȡֵ0,1*/
BYTE bPollWindSize; /*ȡֵ0, 50, 60, 70, 80, 85, 90, 95, 99*/
BYTE bMaxMrw; /*ȡֵ1, 4, 6, 8, 12, 16, 24, 32*/
WORD wTransWindSize; /*<4095*/
WORD wTimeRst; /*ȡֵ50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 700, 800, 900, 1000*/
WORD wTimeDsc; /*ȡֵ0, 100, 250, 500, 750, 1000, 1250, 1500, 1750, 2000, 2500, 3000, 3500, 4000, 4500, 5000, 7500*/
WORD wTimeMrw; /*ȡֵ50, 60, 70, 80, 90, 100, 120, 140, 160, 180, 200, 300, 400, 500, 700, 900*/
WORD wTimePollPrh; /*ȡֵfrom 0 to 550 by step of 10 and from 600 to 1000 by step of 50*/
WORD wTimePoll; /*ȡֵ from 0 to 550 by step 10 and from 600 to 1000 by step of 50*/
WORD wTimePollPrd; /*ȡֵ0, 100, 200, 300, 400, 500, 750, 1000, 2000*/
DWORD dwHfn;
}T_zWrlcUlAmConfig_Info;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bULAmCfgNum; /*DL Cfg ¸öÊýȡֵ 1-4*/
T_zWrlcUlAmConfig_Info atUlAmCfgInfo[Z_WRLC_MAX_AM_CFGUM];
} T_zWrlcUlAmConfig_TV;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RLC_AmPdu_TV_LOG
˵Ã÷£ºWCDMA RLC AM User/Signaling Plane PDU
=========================================================================*/
typedef struct
{
BYTE bLochId; /*ÏÂÐÐÊý¾ÝPDU LOCH ID £»È¡Öµ0 -18£»MACÌṩ*/
BYTE bPduNum; /*ÿ¸öTTIÊÕµ½µÄPDU¸öÊý*/
BYTE abPadding[2];
DWORD dwPduBits; /*PDU bits´óС,¿É±äSIZEΪ-1*/
DWORD dwPdu[Z_WRLC_MAX_DLPDU_NUM]; /*ÿ¸öPDUµÄǰËĸö×Ö½ÚÂëÁ÷*/
}T_zWrlcAmPdu_Info;
typedef struct
{
BYTE bVersion;
BYTE bDirect;
BYTE bUserFlag;
BYTE bAmNum; /*1-4*/
T_zWrlcAmPdu_Info atAmPduInfo[Z_WRLC_MAX_DLAM_NUM];
} T_zWrlcAmPdu_TV;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RLC_RbRat_TV_LOG
˵Ã÷£ºWCDMA radio bearer rates
=========================================================================*/
typedef struct
{
BYTE bRbId; /*0-31*/
BYTE abPadding[3];
DWORD dwUlRbRate; /*Bits*/
DWORD dwDlRbRate; /*Bits*/
}T_zWrlcRbRat_Info;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bRbNum; /*1-32*/
T_zWrlcRbRat_Info atRbRatInfo[Z_WRLC_RB_NUM];
}T_zWrlcRbRat_TV;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_PDCP_RatRat_TV_LOG
˵Ã÷£ºWCDMA PDCP Sdus Rates
=========================================================================*/
typedef struct
{
BYTE bRbId; /*5-31*/
BYTE abPadding[3];
DWORD dwUlPdcpRate; /*Bits*/
DWORD dwDlPdcpRate; /*Bits*/
}T_zPdcpRat_Info;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bRbNum; /*1-5*/
T_zPdcpRat_Info atPdcpRatInfo[Z_WRLC_MAX_PDCP_RB_NUM];
}T_zPdcpRat_TV;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RLC_AmCtrlPdu_TV_LOG
˵Ã÷£ºWCDMA RLC UL/DL AM Control PDU LOG NACK
=========================================================================*/
typedef struct
{
BYTE bVersion;
BYTE bLochId; /*ȡֵ0-18£¬MACÌṩ*/
BYTE bDirect; /*0-ÉÏÐÐ 1-ÏÂÐÐ*/
BYTE bPadding;
WORD wPduBitSize; /*¿ØÖÆPDU ´óС*/
WORD wPadding;
BYTE abNackPdu[4]; /*Ctrl PDUÄÚÈÝ£¬ ȡǰËĸö×Ö½Ú*/
}T_zWrlcAmCtrlPdu_TV;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_RLC_FlexPduPack_TV_LOG
˵Ã÷£ºFlexible DL RLC AM PDU log packet
=========================================================================*/
typedef struct
{
WORD wPduSize; /*16-5000bytes*/
WORD wPadding;
BYTE abData[4]; /*PDU ÂëÁ÷ǰ4bytes*/
}T_zWrlcFlexPdu_Info;
typedef struct
{
BYTE bLochId; /*LochId, 0-31*/
BYTE bLiLength; /*0-7bits 1-15bits*/
BYTE bPduLoggedNum; /*1-16*/
BYTE bPadding;
T_zWrlcFlexPdu_Info atFlexPduInfo[Z_WRLC_MAX_DLPDU_NUM];
}T_zWrlcFlexPduPack_Info;
typedef struct
{
BYTE bVersion;
BYTE abPadding[2];
BYTE bLochNum; /*1-4*/
T_zWrlcFlexPduPack_Info atFlexPduPackInfo[Z_WRLC_MAX_RLCLOGGED_NUM];
}T_zWrlcFlexPduPack_TV;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_MAC_UlLgchPara_LOG
˵Ã÷£ºWCDMA MAC UL logical channel parameters
=========================================================================*/
typedef struct{
BYTE bLgchId; /*LGCH ID¡£È¡Öµ0~20*/
BYTE bLgchType; /*ÉÏÐÐÂß¼­ÐŵÀÀàÐÍ¡£0£ºBCCH£¬1£ºPCCH£¬2£ºDTCH£¬3£ºDCCH£¬4£ºCCCH£¬5£ºCTCH£¬6£ºSHCCH*/
BYTE bRlcMode; /*´ÓRLC»ñÈ¡¡£RLCģʽ¡£AM£º0£¬UM:1£¬TM£º2*/
BYTE bRbId; /*RB ID.ȡֵ1~33¡£SRB0²»ÅäÖã¬RB32&RB33ÄÚ²¿¶¨Ò壬¿ÉÒÔ²»Êä³ö*/
BYTE bMLP; /*MACÂß¼­ÐŵÀÓÅÏȼ¶¡£È¡Öµ1~8*/
BYTE abPadding[3];
}T_zWMAC_UlLgchInfo;
typedef struct{
DWORD dwHfn; /*´ÓRLC»ñÈ¡¡£HFN¡£20bits±íʾ*/
BYTE bTrchId; /*´«ÊäÐŵÀID¡£È¡Öµ1~32*/
BYTE bTrchType; /*´«ÊäÐŵÀÀàÐÍ¡£0 ¨C DCH£¬1 ¨C RACH*/
BYTE bLgChNum; /*ÉÏÐÐÂß¼­ÐŵÀÊýÁ¿¡£È¡Öµ0~11(4 SRB + 4 PS RB + 3 CS RB = 11).*/
BYTE bPadding;
T_zWMAC_UlLgchInfo atUlLgchInfo[Z_MAX_RB_NUM_TRACE];
}T_zWMAC_UlTrchInfo;
typedef struct{
BYTE bVersion;
BYTE abPadding[2];
BYTE bTrchNum; /*ÉÏÐд«ÊäÐŵÀÊýÁ¿¡£È¡Öµ1~8*/
T_zWMAC_UlTrchInfo atUlTrchInfo[Z_W_P_MAX_UL_TRCH_NUM_TRACE];
}T_zWMAC_UlLgchPara;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_MAC_DlLgchPara_LOG
˵Ã÷£ºWCDMA MAC DL logical channel parameters
=========================================================================*/
typedef struct{
BYTE bLgchId; /*RLC ID¡£ÏÂÐÐÂß¼­ÐŵÀID¡£È¡Öµ0~18*/
BYTE bLgchType; /*ÏÂÐÐÂß¼­ÐŵÀÀàÐÍ¡£È¡Öµ£¨0~6£©£¬0£ºBCCH£¬1£ºPCCH£¬2£ºDTCH£¬3£ºDCCH£¬4£ºCCCH£¬5£ºCTCH£¬6£ºSHCCH*/
BYTE bRlcMode; /*RLCģʽ¡£È¡Öµ£¨0~2£©AM£º0£¬UM:1£¬TM£º2*/
BYTE bRbId; /*RB ID.ȡֵ0~33¡£SRB0²»ÅäÖã¬RB32&RB33ÄÚ²¿¶¨Ò壬¿ÉÒÔ²»Êä³ö*/
}T_zWMAC_DlLgchInfo;
typedef struct{
BYTE bTrchId; /*´«ÊäÐŵÀID¡£È¡Öµ1~32*/
BYTE bTrchType; /*´«ÊäÐŵÀÀàÐÍ¡£È¡Öµ0~4£»0£ºDCH£¬1£ºFACH£¬2£ºDSCH£¬3£ºHS-DSCH£¬4£ºPCH¡£*/
BYTE bLgChNum; /*ÏÂÐÐÂß¼­ÐŵÀÊýÁ¿¡£È¡Öµ1~15.*/
BYTE bPadding;
T_zWMAC_DlLgchInfo atDlLgchInfo[Z_MAX_LGCH_ID_TRACE];
}T_zWMAC_DlTrchInfo;
typedef struct{
BYTE bVersion;
BYTE abPadding[2];
BYTE bTrchNum; /*ÏÂÐд«ÊäÐŵÀÊýÁ¿¡£È¡Öµ1~8*/
DWORD dwHfn; /*´ÓRLC»ñÈ¡¡£HFN¡£20bits±íʾ*/
T_zWMAC_DlTrchInfo atDlTrchInfo[Z_W_P_MAX_DL_TRCH_NUM_TRACE];
}T_zWMAC_DlLgchPara;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_MAC_RachCtrlPara_LOG
˵Ã÷£ºWCDMA RACH control parameters
=========================================================================*/
typedef struct{
BYTE bAscId; /*Asc±êʶ£¬ÎªatAscSettingϱêË÷Òý*/
BYTE bPadding;
WORD wPi; /*¼á³Ö¶È£¨0~25600£©*/
}T_zWMAC_AscSetting;
typedef struct{
BYTE bVersion;
BYTE abPadding[3];
BYTE bMMax; /*×î´ó³¢ÊÔ´ÎÊý£¨1~32£©*/
BYTE bNB01Min; /*NB01×îСֵ£¨0~50£©*/
BYTE bNB01Max; /*NB01×î´óÖµ£¨0~50£©*/
BYTE bAscNum; /*ÅäÖõÄASC¸öÊý£¨1~8£©*/
T_zWMAC_AscSetting atAscSetting[Z_WMAC_MAX_NUM_OF_ASC_TRACE];
}T_zWMAC_RachCtrlPara;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_MAC_UlTfcsPara_LOG
˵Ã÷£ºWCDMA uplink transport format combination
==========================================================================*/
typedef struct {
BYTE abTfi[Z_W_P_MAX_UL_TRCH_NUM_TRACE]; /*Tf ID£¨0~31£©*/
BYTE bTfci; /*Tfci£¨0~63£©*/
BYTE abPadding[3];
}T_zWmac_UlTfcInfo;
typedef struct {
BYTE bTrchId; /*´«ÊäÐŵÀID£¨1~32£©*/
BYTE bTti; /*TTI£¬È¡Öµ£¨1,2,3,4£©Z_W_TTI_10MS:10ms£¬Z_W_TTI_20MS:20ms£¬Z_W_TTI_40MS:40ms£¬Z_W_TTI_80MS:80ms*/
WORD wPadding;
}T_zWmac_UlTrchTtiInfo;
typedef struct {
BYTE bVersion;
BYTE bPadding;
WORD wTfcNum; /*Tfc¸öÊý£¨1~64£©*/
T_zWmac_UlTfcInfo atTfc[Z_W_P_MAX_UL_TFC_NUM_TRACE];
BYTE abPadding[3];
BYTE bTrchNum; /*ÉÏÐд«ÊäÐŵÀÊýÁ¿¡£È¡Öµ1~8*/
T_zWmac_UlTrchTtiInfo atUlTrchTtiInfo[Z_W_P_MAX_UL_TRCH_NUM_TRACE];
}T_zWmac_UlTfcsPara;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_MAC_DynamicUpaPduPara_LOG
˵Ã÷£ºEUL combined L1/MAC log packet
==========================================================================*/
typedef struct {
BYTE bSiTrigType; /*0 ¨C No SI present; 1 ¨C SI present, triggered by event/timer; 2 ¨C SI present, triggered by padding; 3 ¨C Reserved*/
BYTE bHappyBit; /*0 = unhappy, 1 = happy*/
BYTE bAgVal; /*0 ~ 31*/
BYTE bAgScope; /*0 ¨C All ;1 ¨C per-HARQ*/
BYTE bRetransNum; /*0 ~ 15*/
BYTE bSgIdx; /*0 ~ 37, 38-ZERO_GRANT, 0x3F-ÎÞÊÚȨ*/
BYTE bLupr; /*Á¿»¯ºóµÄSG¡£È¡Öµ0 ~ 37*/
BYTE bEtfci; /*0 ~ 127*/
}T_zWmac_UpaPduGrantPara;
typedef struct {
BYTE bVersion;
BYTE abPadding[2];
BYTE bSampleNum; /*µ¥´ÎͶµÝ²ÉÑù¸öÊý¡£È¡Öµ0~50*/
T_zWmac_UpaPduGrantPara atUpaPduGrantPara[WMAC_UPA_PDU_SAMPLE_MAX_NUM_LOG];
BYTE bEdchTTI; /*EDCH TTI.ȡֵ1~2¡£Z_W_TTI_2MS:2ms tti, Z_W_TTI_10MS:10ms tti*/
BYTE bEtfciTableIndex; /*Etfci±íµÄË÷Òý£¨0~3£©£¬UE¹¤×÷ÔÚ16QAMģʽÏÂʱ£¬¶ÔÓ¦E-TFCI table index + 2*/
WORD wPadding;
}T_zWmac_DynamicUpaPduPara;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_MAC_StaticsUpaPduPara_LOG
˵Ã÷£ºEUL L1 MAC statistics log packet
´¥·¢Ê±»ú:a.200msÉϱ¨Ò»´Î;b.ÖØÅä
==========================================================================*/
typedef struct {
BYTE bVersion;
BYTE bEdchTTI; /*EDCH TTI.ȡֵ1~2¡£Z_W_TTI_2MS:2ms tti, Z_W_TTI_10MS:10ms tti*/
BYTE bEtfciTableIndex; /*Etfci±íµÄË÷Òý£¨0~3£©£¬UE¹¤×÷ÔÚ16QAMģʽÏÂʱ£¬¶ÔÓ¦E-TFCI table index + 2*/
BYTE bFrameNum; /*²ÉÑùÖ¡Êý£¬0 ~ 100*/
BYTE bSrvRgUpCmdNum; /*SRV RG upÊý£¬0 ~ 100*/
BYTE bSrvRgDownCmdNum; /*SRV RG downÊý£¬0 ~ 100*/
BYTE bSrvRgHoldCmdNum; /*SRV RG holdeÊý£¬0 ~ 100*/
BYTE bNonSrvRgDownCmdNum; /*non SRV RG downÊý£¬0 ~ 100*/
BYTE bNonSrvRgHoldCmdNum; /*non SRV RG holdeÊý£¬0 ~ 100*/
BYTE bAgNum; /*AGÊý£¬0 ~ 100*/
WORD wAgSum; /*AGÖµÖ®ºÍ£¬(0 ~ 31)*100 */
WORD wSg; /*SGÖµÖ®ºÍ£¬(0 ~ 37)*100 */
WORD wReTransRatio; /*ÖØ´«ÂÊ£¬0~10000£¬±íʾ0~100.00%,¾«È·µ½Ð¡Êýµãºó2λ*/
BYTE bNewTxNum; /*аüÊý, 0 ~ 100*/
BYTE bRetransTxNum; /*ÖØ´«Êý, 0 ~ 100*/
BYTE bDtxNum; /*DTXÊý, 0 ~ 100*/
BYTE bRstNum; /*t1 resetÊý, 0 ~ 100*/
WORD wEtfciSum; /*ËùÓÐETFCIÖ®ºÍ¡£È¡Öµ127*100 */
WORD wPadding;
DWORD dwTotalBitsNum; /*×ÜÊý¾ÝÁ¿divided 64.°üº¬ÖØ´«Óëд«¡£È¡Öµ·¶Î§(0~22996)*100/64 */
DWORD dwSchBitsNum; /*µ÷¶ÈÊý¾ÝÁ¿divided 64¡£È¡Öµ·¶Î§(0~22996)*100/64 */
DWORD dwNonSchBitsNum; /*·Çµ÷¶ÈÊý¾ÝÁ¿divided 64¡£È¡Öµ·¶Î§(0~22996)*100/64 */
DWORD dwNonSchBufSts; /*Ê£ÓàÊý¾ÝÁ¿divided 64.ËùÓÐÐèҪд«µÄÊý¾ÝÁ¿*/
BYTE bPmax; /*×î´ó¹¦ÂÊ£¬ÐèÒª´ÓÖ¸Êý¸ñʽT_zW_P_pc_flot_dataת»»*/
BYTE bSiNum; /*SIд«ÊýÁ¿¡£0 ~ 100*/
BYTE bHappyNum; /*д«ºÍÖØ´«Ê±HAPPY¸öÊý¡£0 ~ 100*/
BYTE bPadding;
}T_zWmac_StaticsUpaPduPara;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_MAC_MaceCfgPara_LOG
˵Ã÷£ºMAC-e/es Configuration log packet
´¥·¢Ê±»ú:ÅäÖûòÖØÅ䣬Ôò´¥·¢
==========================================================================*/
typedef struct {
BYTE bDdi; /*DDI£¬0~62*/
BYTE bPadding;
WORD wPduSize; /*pdu size, 10~5000*/
}T_zWmac_UpaLgchDdiInfo;
typedef struct {
BYTE bRbId; /*rb id, ȡֵ£¨0~32£©£¬ÆäÖÐ32Ϊ²»ÓÃ*/
BYTE bLgchId; /*Âß¼­ÐŵÀID£¨1~15£©*/
BYTE bMLP; /*Âß¼­ÐŵÀÓÅÏȼ¶£¨1~8£©*/
BYTE bLgchType; /*Î´Çø·Ö£¬Ä¬ÈÏΪDTCH/DCCH¡£*/
BYTE bRlcMode; /*RLC»ñÈ¡*/
BYTE bIncSiFlg; /*Âß¼­ÐŵÀ°üº¬ÓÚSI±ê¼Ç¡£0-δ°üº¬£¬1-°üº¬*/
BYTE bPadding;
BYTE bPduSizeNum; /*DDI¸öÊý£¨0~32£©*/
T_zWmac_UpaLgchDdiInfo atUpaLgchDdiInfo[WMAC_UPA_MAC_D_FLOW_DDI_MAX_NUM_LOG];
}T_zWmac_MacdFlowLgchPara;
typedef struct {
BYTE bMacdFlowId; /*MAC-D FLOW ID£¬È¡Öµ0~7*/
BYTE bPowerOff; /*Mac-d flowµÄ¹¦ÂÊÆ«ÒÆ£¨0~6£©*/
BYTE bMaxRetranNum; /*mac-d flowµÄ×î´óÖØ´«´ÎÊý£¨0~15£©*/
BYTE bMuxListBitmap; /*MAC-D FLOW¸´ÓÃÁÐ±í¡£Bit 0 (LSB)±íʾmac-d flow 0,Bit 1 (LSB)±íʾmac-d flow1,ÒÔ´ËÀàÍÆ*/
BYTE bSchType; /*mac-d flowµÄµ÷¶ÈÀàÐÍ£¨0~1£©£»0£ºµ÷¶È£¬1£º·Çµ÷¶È*/
BYTE bLgchNum; /*mac-d flowÉÏÂß¼­ÐŵÀ¸öÊý£¬È¡Öµ1~15*/
WORD wPadding;
T_zWmac_MacdFlowLgchPara atMacdFlowLgchInfo[Z_MAX_LGCH_ID_TRACE];
WORD wNonSchGrant; /*·Çµ÷¶ÈÊÚȨֵbit£¨1~19982£©£¬Ö»ÓÐbSchTypeΪ1ʱÓÐЧ*/
BYTE bNonSchHarqBitmap; /*·Çµ÷¶ÈHARQ Bitmap£¨SIZE 8£©.Bit 0 (LSB)±íʾHarq process0,Bit 1 (LSB)±íʾHarq process1,ÒÔ´ËÀàÍÆ*/
BYTE bPadding;
}T_zWmac_MacdFlowPara;
typedef struct {
BYTE bVersion;
BYTE bEdchTTI; /*EDCH TTI.ȡֵ1~2¡£Z_W_TTI_2MS:2ms tti, Z_W_TTI_10MS:10ms tti*/
BYTE bEtfciTableIndex; /*Etfci±íµÄË÷Òý£¨0~3£©£¬UE¹¤×÷ÔÚ16QAMģʽÏÂʱ£¬¶ÔÓ¦E-TFCI table index + 2*/
BYTE bEMacdFlowNum; /*mac-d flowµÄ¸öÊý£¨1~8£©*/
WORD wHappyBitDelayCondition; /*Happy BitÑÓ³Ùʱ¼ä.ȡֵ·¶Î§2~1000£¬È¡Öµ2±íʾms2£¬ÒÔ´ËÀàÍÆ¡£ms2, ms10, ms20, ms50, ms100, ms200, ms500, ms1000*/
WORD wPadding;
T_zWmac_MacdFlowPara atMacdFlowPara[Z_WMAC_MAX_EMAC_D_FLOW_NUM_TRACE];
WORD wTsing; /*T_SING¶¨Ê±Æ÷ʱ³¤£¬È¡Öµ2~1000,2±íʾms2,0±íʾÎÞЧ¡£ms2, ms4, ms10, ms20, ms50, ms100, ms200, ms500, ms1000*/
WORD wTsig; /*T_SIG¶¨Ê±Æ÷ʱ³¤£¬È¡Öµ2~1000,2±íʾms2,0±íʾÎÞЧ¡£ms2, ms4, ms10, ms20, ms50, ms100, ms200, ms500, ms1000*/
BYTE bMinEtfcSet; /*×îСE-TFC×Ó¼¯£¨0~127£©*/
BYTE bSchHarqBitmap; /*µ÷¶ÈHarqµÄBITMAP£¨SIZE 8£©,Bit 0 (LSB)±íʾHarq process0,Bit 1 (LSB)±íʾHarq process1,ÒÔ´ËÀàÍÆ*/
BYTE bSiPowerOff; /*·¢ËÍcontrol_only SIʱµÄ¹¦ÂÊÆ«ÒÆ£¨0~6£©*/
BYTE bPadding;
}T_zWmac_MaceCfgPara;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_MAC_MaceHeaderPara_LOG
˵Ã÷£ºMAC-e/es header log packet
´¥·¢Ê±»ú:a.100msÉϱ¨Ò»´Î£»b.ÖØÅ䣬ÔòÉϱ¨Ò»´Î
==========================================================================*/
typedef struct {
BYTE bDdi; /*0~62*/
BYTE bTsn; /*0~63*/
BYTE bN; /*0~63*/
BYTE bPadding;
}T_zWmac_MacesHeaderPara;
typedef struct {
BYTE bHlid; /*×î¸ßÓÅÏȼ¶Âß¼­ÐŵÀID, 0~15*/
BYTE bHlbs; /*×î¸ßÓÅÏȼ¶Âß¼­buf״̬£¬Á¿»¯ºó½á¹û, 0~15*/
BYTE bTebs; /*×ÜE-DCH buf״̬£¬Á¿»¯ºó½á¹û, 0~31*/
BYTE bSiTrigType; /*SIÊÇ·ñÊÇbuffer status or periodic trigger¡£0-²»ÊÇ£¬1-ÊÇ*/
BYTE bSiPadFlg; /*SIÊÇ·ñÊǶàÓà¿Õ¼ä¶øÌîÈë¡£0-²»ÊÇ£¬1-ÊÇ*/
BYTE bUph; /*0~31*/
WORD wPadding;
}T_zWmac_SiPara;
typedef struct {
BYTE bTxType; /*0 ¨C New transmission, 1 ¨C Retransmission, 2 ¨C No transmission*/
BYTE bHappyBit; /*0 -unhappy ; 1- happy*/
BYTE bEtfci; /*0~127*/
BYTE bMacesHeaderNum; /*0~50*/
T_zWmac_MacesHeaderPara atMacesHeaderPara[WMAC_UPA_MAC_E_HEADER_DDI_MAX_NUM_LOG];
BYTE bIncSiFlg; /*0 ¨C SI not present; 1 ¨C SI present*/
BYTE abPadding[3];
T_zWmac_SiPara tSiPara;
}T_zWmac_MaceHeaderInfo;
typedef struct {
BYTE bVersion;
BYTE abPadding[2];
BYTE bSampleNum; /*µ¥´ÎͶµÝ²ÉÑù¸öÊý¡£È¡Öµ0~50*/
T_zWmac_MaceHeaderInfo atMaceHeaderInfo[WMAC_UPA_PDU_SAMPLE_MAX_NUM_LOG];
BYTE bEdchTTI; /*EDCH TTI.ȡֵ1~2¡£Z_W_TTI_2MS:2ms tti, Z_W_TTI_10MS:10ms tti*/
BYTE bEtfciTableIndex; /*Etfci±íµÄË÷Òý£¨0~3£©£¬UE¹¤×÷ÔÚ16QAMģʽÏÂʱ£¬¶ÔÓ¦E-TFCI table index + 2*/
WORD wPadding;
}T_zWmac_MaceHeaderPara;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_MAC_MacHsCfgPara_LOG
˵Ã÷£ºMAC HS configuration log packet
´¥·¢Ê±»ú:ÅäÖûòÖØÅäÔòÉϱ¨
==========================================================================*/
typedef struct {
BYTE bSid; /*SID:0 to 7*/
BYTE bPadding;
WORD wPduSize; /*PDU SIZE:1 to 5000*/
}T_zWmac_DpaSidnfo;
typedef struct {
BYTE bLgchId; /*Âß¼­ÐŵÀID£¨1~15£©*/
BYTE bLgchType; /*Âß¼­ÐŵÀÀàÐÍ£¨0~6£©£»0£ºBCCH£¬1£ºPCCH£¬2£ºDTCH£¬3£ºDCCH£¬4£ºCCCH£¬5£ºCTCH£¬6£ºSHCCH*/
BYTE bRlcMode; /*RLCģʽ£¨0~2£©£»0£ºAMģʽ£¬1£ºUMʵÌ壬2£ºTMģʽ*/
BYTE bPadding;
}T_zWmac_DpaLgchInfo;
typedef struct {
BYTE bQueueID; /*¶ÓÁÐID£¨0~7£©*/
BYTE bPadding;
WORD wMacHsWindowSize; /*´°¿Ú´óС£¬È¡Öµ4~128£¬£¨4,6,8,12,16,24,32, 64,128£©£¨64,128½öÓÃÓÚEhs£©*/
BYTE abPadding[3];
BYTE bSidNum; /*SID¸öÊý£¬È¡Öµ1~8*/
T_zWmac_DpaSidnfo atSidToPduSize[Z_WMAC_MAX_SID_NUM_TRACE];
WORD wT1; /*reorderingReleaseTimer¡£T1¶¨Ê±Æ÷³¤¶Èms£¨10~400£©£¬0ΪδÅäÖÃ*/
WORD wTreset; /*Treset¶¨Ê±Æ÷³¤¶È£¨1,2,3,4£©£¬0ΪδÅäÖÃ*/
BYTE abPadding1[3];
BYTE bLgchNum; /*¶ÓÁжÔÓ¦Lgch¸öÊý£¨1~15£©*/
T_zWmac_DpaLgchInfo atDpaLgchInfo[Z_MAX_LGCH_ID_TRACE];
}T_zWmac_DpaQueInfo;
typedef struct {
BYTE bVersion;
BYTE abPadding[2];
BYTE bQueueNum; /*Queue¸öÊý£¨1~8£©*/
T_zWmac_DpaQueInfo atDpaQueInfo[Z_WMAC_MAX_DL_QUEUE_NUM_TRACE];
BYTE bMacHsRst; /*¸´Î»±ê¼Ç¡£0-FALSE,1-TRUE*/
BYTE bMacEntityType; /*ACʵÌåÀàÐÍ£¨0~1£©£»0£º±íʾΪhsʵÌ壬1£º±íʾΪehsʵÌå*/
BYTE abPadding1[2];
}T_zWmac_MacHsCfgPara;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_MAC_DpaReorderingPara_LOG
˵Ã÷£ºMAC HS status log packet
´¥·¢Ê±»ú:´°¿Ú״̬±äÁ¿¸üУ¬ÔòÉϱ¨
==========================================================================*/
typedef struct {
BYTE bQueueID; /*¶ÓÁÐID£¨0~7£©*/
BYTE abPadding[3];
WORD wRcvTsn; /*0 ~ 63*/
WORD wNextExpectedTsn; /*0 ~ 63*/
WORD wRcvWinUpperEdge; /*0 ~ 63*/
WORD wT1Tsn; /*0 ~ 63.0xffΪÎÞЧֵ*/
}T_zWmac_DpaQueReordering;
typedef struct {
BYTE bVersion;
BYTE abPadding[2];
BYTE bSampleNum; /*µ¥´ÎͶµÝ²ÉÑù¸öÊý¡£È¡Öµ0~50*/
T_zWmac_DpaQueReordering atDpaQueReodering[Z_WMAC_MAX_DL_QUEUE_NUM_TRACE];
}T_zWmac_DpaReorderingPara;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_MAC_MacHsRstPara_LOG
˵Ã÷£ºMAC HS reset log packet
==========================================================================*/
typedef struct {
BYTE bVersion;
BYTE abPadding[2];
BYTE bLgchNum; /*1 ~ 32*/
BYTE abLgchId[WMAC_DPA_RST_MAX_LGCH_NUM_LOG]; /*1 ~ 32*/
}T_zWmac_MacHsRstPara;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_MAC_DpaPduPara_LOG
˵Ã÷£ºMAC-ehs reassembly log packet
´¥·¢Ê±»ú:10ms ´¥·¢Ò»´Î
==========================================================================*/
typedef struct {
WORD wRcvTsn; /*0 ~ 63*/
WORD wNextExpectedTsn; /*0 ~ 63*/
WORD wRcvWinUpperEdge; /*0 ~ 63*/
WORD wT1Tsn; /*0 ~ 63.0xffΪÎÞЧֵ*/
BYTE bQueIdAndLgchId; /*Que IDºÍÂß¼­ÐŵÀID¡£Bit 2:0 ¨C Queue ID ;Bit 6:3 ¨C LC ID;Bit 7 ¨C Reserved */
BYTE bPadding;
WORD wSiL; /*SiºÍLÖµ¡£Bit 1:0-SI; Bit 12:2 -L; Bit 15:13 ¨C Reserved*/
}T_zWmac_DpaStsPara;
typedef struct {
BYTE bVersion;
BYTE bPadding;
BYTE bMacVersion; /*Bit 3:0-V; Bit 4: 0 ¨CMAC-hs,1 ¨C MAC-ehs ; Bit 7:5 ¨C Reserved*/
BYTE bQueueNum;
T_zWmac_DpaStsPara atDpaStsPara[Z_WMAC_MAX_DL_QUEUE_NUM_TRACE];
}T_zWmac_DpaPduPara;
/*========================================================================
LOGÀàÐÍ£ºZ_WCDMA_MAC_Lgch_TV_LOG
˵Ã÷£ºÍ³¼ÆÂß¼­ÐŵÀÒµÎñÁ¿
´¥·¢Ê±»ú:1sÉϱ¨Ò»´Î
==========================================================================*/
typedef struct
{
BYTE bLgchId; /*1-15*/
BYTE abPadding[3];
DWORD dwLgchRate; /*1sÄÚ¸ÃÂß¼­ÐŵÀÒµÎñÁ¿¡£µ¥Î»bit*/
}T_zWmac_LgchTvInfo;
typedef struct
{
BYTE bVersion;
BYTE bUlLgchNum; /*0-15*/
BYTE bDlLgchNum; /*0-15*/
BYTE bPadding;
T_zWmac_LgchTvInfo atUlLgchTvInfo[Z_MAX_LGCH_ID_TRACE]; /*ÉÏÐÐÂß¼­ÐŵÀÒµÎñÁ¿*/
T_zWmac_LgchTvInfo atDlLgchTvInfo[Z_MAX_LGCH_ID_TRACE]; /*ÏÂÐÐÂß¼­ÐŵÀÒµÎñÁ¿*/
}T_zWmac_LgchTv;
typedef struct {
BYTE bStackIndex;
BYTE abPadding[3];
}T_zAti_RTUeInfo_Req;
typedef struct {
BITS bMCC1 :4;
BITS bMCC2 :4;
BITS bMCC3 :4;
BITS bMNC3 :4;
BITS bMNC1 :4;
BITS bMNC2 :4;
}T_zEM_PlmnId;
/* Nas Ïà¹ØÐÅÏ¢ */
typedef struct {
WORD wDrx; //DRXÖÜÆÚ£¬µ¥Î»ms
WORD wTac;
WORD wT3412; //T3412¶¨Ê±Æ÷³¤¶È£¬µ¥Î»s
WORD wPadding;
T_zEM_PlmnId tPlmnId; /*µ±Ç°×¤ÁôµÄplmnid*/
BYTE bPadding;
}T_zEm_Lte_NasInfo;
/* QoS Ïà¹ØÐÅÏ¢ */
typedef struct {
BYTE bConnId;//
BYTE bTrafficClass; //¶ÔÓ¦ÒµÎñµÈ¼¶
BYTE abPadding[2];
DWORD dwQosMaxBitRateUp;
DWORD dwQosMaxBitRateDown;
}T_zEm_QosInfo;
/* QoS Ïà¹ØÐÅÏ¢ */
typedef struct {
BYTE bQosInfoNum; //
BYTE abPadding[3];
T_zEm_QosInfo atQosInfo[Z_EM_MAX_QOS_NUM];
}T_zEm_NasQos;
/* ·þÎñÐ¡ÇøÏà¹ØÐÅÏ¢ */
typedef struct {
DWORD dwEarfcn;
WORD wPci;
DWORD dwCellId;
DWORD dwCsgId;
//·þÎñÐ¡ÇøÏà¹Ø
BYTE bDlBandWidth; //ÏÂÐдø¿í
BYTE bSubframeAssignment; //×ÓÖ¡ÅäÖÃ,SIB1 TDD-CONFIG
BYTE bSpecialSubframePatterns; //ÌØÊâ×ÓÖ¡ÅäÖÃ,,SIB1 TDD-CONFIG
BYTE bTransmissionMode; // ´«Êäģʽ,Á¬½Ó̬ÎÞÏß×ÊÔ´ÅäÖõÄAntenalInfo,TM1~TM8
BYTE bRlease; //Ð¡Çø°æ±¾
BYTE bBand;
DWORD dwUlFddArfcn; /*FDD-LTEÏÂΪÉÏÐÐÆµµã*/
}T_zEm_Lte_SCellInfo;
typedef struct {
T_zEm_Lte_SCellInfo tScellInfo;
T_zEm_NasQos tNasQos;
T_zEm_Lte_NasInfo tNasInfo;
}T_zEm_Lte_SCellPara;
/*Init_Meas Ïà¹ØÐÅÏ¢*/
typedef struct {
SHORT sServingFreqPrior; //·þÎñƵµãÓÅÏȼ¶
BYTE bSintrasearchP; //ͬƵ²âÁ¿ÃÅÏÞÖµ
BYTE bSintrasearchQ; //ͬƵ²âÁ¿ÃÅÏÞÖµ
BYTE bSnonintrasearchP; //µÍÓÅÏȼ¶ÒìÆµ¡¢ÒìÖÆÊ½²âÁ¿ÃÅÏÞÖµ
BYTE bSnonintrasearchQ; //µÍÓÅÏȼ¶ÒìÆµ¡¢ÒìÖÆÊ½²âÁ¿ÃÅÏÞÖµ
BYTE abPadding[2];
}T_zEM_Lte_InitMeasInfo;
/*Init_Resel Ïà¹ØÐÅÏ¢*/
typedef struct {
SHORT sQhyst; //¼ÆËã·þÎñÐ¡ÇøRÖµ´ÅÖÍ
BYTE bThresholdServinglowP;
BYTE bThresholdServinglowQ;
}T_zEM_Lte_InitReselInfo;
/*LTE IDLE̬ϲâÁ¿ÃÅÏÞÐÅÏ¢*/
typedef struct {
T_zEM_Lte_InitMeasInfo tInitMeasInfo;
T_zEM_Lte_InitReselInfo tInitReselInfo;
}T_zEM_Lte_IdleMeasInfo;
typedef struct {
BYTE bHyst;
BYTE bThreshHold;
WORD wTTT;
}T_zEM_Lte_EventA1Info,T_zEM_Lte_EventA2Info;
typedef struct {
SHORT sOff;
SHORT sOcs;
SHORT sOfs;
BYTE bHyst;
BYTE bPadding;
WORD wTTT;
}T_zEM_Lte_EventA3Info;
typedef struct {
BYTE bThreshHold;
BYTE bHyst;
WORD wTTT;
}T_zEM_Lte_EventA4Info;
typedef struct {
BYTE bScellThreshHold;
BYTE bNcellThreshHold;
BYTE bHyst;
BYTE abPadding[3];
WORD wTTT;
}T_zEM_Lte_EventA5Info,T_zEM_Lte_EventB2Info;
typedef struct {
SHORT sOff;
SHORT sOcs;
BYTE bHyst;
BYTE bPadding;
WORD wTTT;
}T_zEM_Lte_EventA6Info;
typedef struct {
BYTE bThreshHold;
BYTE bHyst;
WORD wTTT;
}T_zEM_Lte_EventB1Info;
typedef struct {
BYTE bReportPurpose; // 0 - reportstrongestcell ; 1 - reportstrongestcellForSon ; 2 - Cgi
BYTE abPadding[3];
}T_zEM_Lte_PeriodInfo;
typedef struct {
BYTE bReportType;//±¨¸æÀàÐÍ,0 - ÖÜÆÚ±¨¸æ£¬1~6¶ÔÓ¦A1~A6£¬7£¬8·Ö±ðΪB1ºÍB2
BYTE bMeasId;
BYTE abPadding[2];
DWORD dwArfcn;
union{
T_zEM_Lte_PeriodInfo tPeriod;
T_zEM_Lte_EventA1Info tA1;
T_zEM_Lte_EventA2Info tA2;
T_zEM_Lte_EventA3Info tA3;
T_zEM_Lte_EventA4Info tA4;
T_zEM_Lte_EventA5Info tA5;
T_zEM_Lte_EventA6Info tA6;
T_zEM_Lte_EventB1Info tB1;
T_zEM_Lte_EventB2Info tB2;
}uEventInfo;
}T_zEm_Lte_MeasEventInfo;
/*LTE CONNECT̬ϲâÁ¿ÃÅÏÞÐÅÏ¢*/
typedef struct {
BYTE bMeasIdNum;
BYTE bSmeasure;
BYTE bGapIndicator;
BYTE bRankInd;/*µ¥Ë«Á÷ָʾ£¬È¡Öµ1±íʾµ¥Á÷£¬2±íʾ˫Á÷£¬0±íʾÎÞЧ*/
T_zEm_Lte_MeasEventInfo tMeasEventInfo[32];
}T_zEM_Lte_ConnMeasInfo;
/*LTE²âÁ¿ÃÅÏÞÐÅÏ¢*/
typedef struct {
BYTE bIdleFlg; //°üº¬¿ÕÏÐ̬²âÁ¿ÐÅÏ¢±ê¼Çλ
BYTE bConnFlg; //°üº¬²âÁ¿±¨¸æÅäÖÃÐÅÏ¢±ê¼Çλ
WORD wCrnti;
T_zEM_Lte_IdleMeasInfo tIdleMeasInfo;
T_zEM_Lte_ConnMeasInfo tConnMeasInfo;
}T_zEM_Lte_MeasThreshInfo;
/* ͬƵÁÚÇø½á¹¹*/
typedef struct {
DWORD dwEarfcn;
BYTE abPadding[2];
WORD wPci;
BYTE bRsrp;//Rsrp½øÐÐÅÅÐò
BYTE bRsrq;
BYTE bDetectFlg;
CHAR cCellOffset;
DWORD dwTreselection; //Í¬ÆµÖØÑ¡ÆÀ¹Àʱ³¤
}T_zEm_Lte_IntraCellInfo;
/* ÒìÆµÁÚÇø½á¹¹*/
typedef struct {
DWORD dwEarfcn;
BYTE abPadding[2];
WORD wPci;
BYTE bRsrp;
BYTE bRsrq;
BYTE bDetectFlg;
CHAR cFreqOffset;
SHORT sRxlevMin;
CHAR cCellOffset;
BYTE bPriority;
BYTE bThreshHighP;
BYTE bThreshLowP;
BYTE bThreshHighQ;
BYTE bThreshLowQ;
DWORD dwTreselection; //ÖØÑ¡ÆÀ¹Àʱ³¤
}T_zEm_Lte_InterCellInfo;
/* GSMÁÚÇø½á¹¹*/
typedef struct {
WORD wArfcn;
BYTE bBSIC;
BYTE bBand;
BYTE bRssi;
//ÒÔϲÎÊý½öÔÚ¿ÕÏÐ̬ÏÂÓÐЧ
BYTE bPriority;
BYTE bThreshHigh;
BYTE bThreshLow;
BYTE bRxlevMin;
BYTE abPadding[3];
DWORD dwTreselection; //ÖØÑ¡ÆÀ¹Àʱ³¤
}T_zEm_Lte_NGCellInfo;
/* TDÁÚÇø½á¹¹*/
typedef struct {
WORD wArfcn;
WORD wPci;
BYTE bRscp;
//ÒÔϲÎÊý½öÔÚ¿ÕÏÐ̬ÏÂÓÐЧ
BYTE bPriority;
BYTE bThreshHigh;
BYTE bThreshLow;
SHORT sRxlevMin;
WORD wPadding;
DWORD dwTreselection; //ÖØÑ¡ÆÀ¹Àʱ³¤
}T_zEm_Lte_NTCellInfo;
/* WÁÚÇø½á¹¹*/
typedef struct {
WORD wArfcn;
WORD wPci;
BYTE bRscp;
BYTE bEcno;
BYTE bBand;
//ÒÔϲÎÊý½öÔÚ¿ÕÏÐ̬ÏÂÓÐЧ
BYTE bPriority;
BYTE bThreshHighP;
BYTE bThreshLowP;
BYTE bThreshHighQ;
BYTE bThreshLowQ;
BYTE abPadding[2];
SHORT sRxlevMin;
DWORD dwTreselection; //ÖØÑ¡ÆÀ¹Àʱ³¤
}T_zEm_Lte_NWCellInfo;
/* ÁÚÇøÐÅÏ¢*/
typedef struct {
BYTE bIntraCellNum;
BYTE bInterCellNum;
BYTE bGCellNum;
BYTE bTCellNum;
BYTE bWCellNum;
BYTE abPadding[3];
T_zEm_Lte_IntraCellInfo tIntraCell[Z_EM_MAX_LTE_NCELL_NUM];//Rsrp½øÐÐÅÅÐò
T_zEm_Lte_InterCellInfo tInterCell[Z_EM_MAX_LTE_NCELL_NUM];//Rsrp½øÐÐÅÅÐò
T_zEm_Lte_NGCellInfo tNGCell[Z_EM_MAX_GSM_NCELL_NUM];//°´ÕÕRSSI½øÐÐÅÅÐò
T_zEm_Lte_NTCellInfo tNTCell[Z_EM_MAX_TD_NCELL_NUM];//°´ÕÕRSCP½øÐÐÅÅÐò
T_zEm_Lte_NWCellInfo tNWCell[Z_EM_MAX_W_NCELL_NUM];//°´ÆÀ¹ÀÁ¿½µÐòÅÅÐò£¬µ±ÆÀ¹ÀÁ¿ÊÇRSCPʱ£¬°´RSCPÅÅÐò£»·ñÔò£¬°´Ec/NoÅÅÐò¡£²»¿¼ÂÇpathlossµÄÇé¿ö
}T_zEm_Lte_NCellInfo;
typedef struct {
BYTE bScellRsrp; //·þÎñÐ¡Çø²âÁ¿½á¹û
BYTE bScellRsrq;
BYTE abPadding[2];
T_zEM_Lte_MeasThreshInfo tMeasThreshInfo;
T_zEm_Lte_NCellInfo tNCellInfo;
}T_zEm_Lte_SCellMeasInfo;
typedef struct{
BYTE bScellFlg; //SCELLÐ¡ÇøÐÅÏ¢ÓÐЧ±í±êʶ£¬0±íʾÏÂÊöÐ¡ÇøÐÅÏ¢ÎÞЧ£¬1,ÓÐЧ
BYTE bCellIndex; //ÍøÂçÅäÖòÎÊý,scellµÄË÷ÒýID
BYTE bRsrp;
BYTE bRsrq;
DWORD dwArfcn;
WORD wPci;
BYTE abPadding[2];
}T_zEm_Lte_ScellGroupInfo;
typedef struct{
T_zEm_Lte_ScellGroupInfo tScellGroupInfo[Z_EM_LTE_SCELL_NUM];
}T_zEm_Lte_SCellGroup;
typedef struct {
T_zEm_Lte_SCellPara tScellPara;
T_zEm_Lte_SCellGroup tSCellGroup;
T_zEm_Lte_SCellMeasInfo tMeasInfo;
}T_zEm_Lte_EmInfo_Ind;
/* Nas Ïà¹ØÐÅÏ¢ */
typedef struct {
BYTE bDrx;
BYTE bRac;
WORD wLac;
T_zEM_PlmnId tPlmn;
BYTE bPadding;
BYTE bAtt;
BYTE bNmo;
BYTE abPadding[2];
WORD wT3212;
WORD wT3312;
}T_zEm_Gsm_NasInfo,T_zEm_Td_NasInfo,T_zEm_W_NasInfo;
/* ·þÎñÐ¡ÇøÏà¹ØÐÅÏ¢ */
typedef struct {
BYTE bCellVersion;
BYTE bCellParaId;
BYTE bBand;
BYTE bPadding;
DWORD dwCellId;
WORD wUarfcn;
WORD wWorkUarfcn;
}T_zEm_Td_SCellInfo;
typedef struct {
T_zEm_Td_SCellInfo tScellInfo;
T_zEm_NasQos tNasQos;
T_zEm_Td_NasInfo tNasInfo;
}T_zEm_Td_SCellPara;
typedef struct {
BYTE bPrioFlg; //
BYTE bSintra;//0~91
BYTE bSinter;//0~91
BYTE bSearchHcs;//0~91
BYTE bSearchRat;//0~91
BYTE bSearchHcsRat;//0~91
BYTE bHcsLimtSearchRat;//0~91
BYTE bPriority;//0~7
BYTE bSPrioSearch1;//0~62
BYTE bSPrioSearch2;//0
BYTE abPadding[2];
}T_zEM_Td_InitMeasInfo;
typedef struct {
BYTE bQhyst;//0~40
BYTE bQhcs;
BYTE bTresel;//0~31
BYTE bPrioThreshFlg; //ָʾÓÅÏȵȼ¶ÃÅÏÞbThreshServLow£¬bThreshServLow2ÊÇ·ñ´æÔÚ
BYTE bThreshServLow;//0~62
BYTE bThreshServLow2;//0
BYTE abPadding[2];
}T_zEM_Td_InitReselInfo;
/*TD IDLE̬ϲâÁ¿ÃÅÏÞÐÅÏ¢*/
typedef struct {
T_zEM_Td_InitMeasInfo tInitMeasInfo;
T_zEM_Td_InitReselInfo tInitReselInfo;
}T_zEM_Td_IdleMeasInfo;
typedef struct {
BYTE bHyst;//0~15£¬±ðµÄÖµÒª³Ë2
BYTE bTrigTime;//0, 10, 20, 40, 60, 80, 100, 120, 160, 200, 240, 320, 640, 1280, 2560, 5000
BYTE bBestCellId;
BYTE bPadding;
}T_zEM_Td_Event1GInfo;
typedef struct {
BYTE bHyst;//0~29£¬±ðµÄÖµÒª³Ë2
BYTE bTrigTime;
BYTE abPadding[2];
}T_zEM_Td_Event2AInfo;
typedef struct {
SHORT sThreshOwn;//-115~0
SHORT sThreshOther;//-115~0
BYTE bHyst;//0~15,±ðµÄÖµÒª³Ë4
BYTE bTrigTime;
BYTE abPadding[2];
}T_zEM_Td_Event3AInfo;
typedef struct {
BYTE bMcId;
BYTE bEventType;//0:1G, 1:2A, 2:3A
BYTE abPadding[2];
union{
T_zEM_Td_Event1GInfo t1G;
T_zEM_Td_Event2AInfo t2A;
T_zEM_Td_Event3AInfo t3A;
}uEventInfo;
}T_zEm_Td_MeasEventInfo;
/*TD CONNECT̬ϲâÁ¿ÃÅÏÞÐÅÏ¢*/
typedef struct {
BYTE bEventNum;
BYTE abPadding[3];
T_zEm_Td_MeasEventInfo atMeasEventInfo[Z_EM_MAX_TD_EVENT_NUM];
}T_zEM_Td_ConnMeasInfo;
/*TD ²âÁ¿ÃÅÏÞÐÅÏ¢*/
typedef struct {
BYTE bIdleFlg; //°üº¬¿ÕÏÐ̬²âÁ¿ÐÅÏ¢±ê¼Çλ
BYTE bConnFlg; //°üº¬²âÁ¿±¨¸æÅäÖÃÐÅÏ¢±ê¼Çλ
BYTE abPadding[2];
T_zEM_Td_IdleMeasInfo tIdleMeasInfo;
T_zEM_Td_ConnMeasInfo tConnMeasInfo;
}T_zEM_Td_MeasThreshInfo;
typedef struct {
BYTE bPriority;
BYTE bThreshHigh;//0~62
BYTE bThreshLow;//0~62
BYTE bPadding;
SHORT sQrxlevmin;//-119-- -25
SHORT sPadding;
}T_zEm_Td_NCellPrioPara;
typedef struct {
SHORT sQOff1SN; //-50---50
SHORT sQRxlevMin;//-115-- -25
}T_zEm_Td_NCellCsrPara;
typedef struct {
BYTE bCellEvaType; /*Ð¡ÇøµÄÆÀ¹ÀÀàÐÍ£¬ 0: ÆÕͨÆÀ¹À£» 1: ÓÅÏȵȼ¶ÆÀ¹À*/
BYTE abPadding[3];
union{
T_zEm_Td_NCellCsrPara tCsrPara;
T_zEm_Td_NCellPrioPara tPrioPara;
}uCell;
}T_zEm_Td_NCellCsrInfo;
typedef struct {
WORD wUarfcn;
BYTE bCellParaId;
BYTE bRscp; //0~91
BYTE bCsrInfoFlg; /*ָʾtCellCsrInfoÊÇ·ñ´æÔÚ*/
BYTE bRssi;
SHORT sCellIndOff;
T_zEm_Td_NCellCsrInfo tCellCsrInfo;
}T_zEm_Td_TddCellInfo; /*ͬƵ£¬ÒìÆµÐ¡ÇøÐÅÏ¢*/
typedef struct {
WORD wUarfcn;
BYTE bCellParaId;
BYTE bRscp; //0~91
}T_zEm_Td_DetectCellInfo;
typedef struct {
WORD wArfcn; //¸ßλÖÃ1±íʾ1900Ƶ¶Î
BYTE bBsic;
BYTE bRssi;//0~63
BYTE bCsrInfoFlg; /*ָʾtCellCsrInfoÊÇ·ñ´æÔÚ*/
BYTE bBand; /*GsmÐ¡ÇøBand*/
BYTE abPadding[2];
T_zEm_Td_NCellCsrInfo tCellCsrInfo;
}T_zEm_Td_NGCellInfo;
typedef struct {
BYTE bPriority;
BYTE bThreshHigh;//0~62
BYTE bThreshHigh2;//0~62
BYTE bThreshLow;//0~62
BYTE bThreshLow2;//0~62
BYTE abPadding[3];
SHORT sQRxLevMinEUTRA;
SHORT sQqualMinEUTRA;
}T_zEm_Td_NLCellCsrInfo;
typedef struct {
DWORD dwEarfcn;
WORD wPci;
BYTE bRsrp;//0~97
BYTE bRsrq;//0~34
BYTE bCsrInfoFlg;
BYTE bPadding[3];
T_zEm_Td_NLCellCsrInfo tCellCsrInfo;
}T_zEm_Td_NLCellInfo;
/* ÁÚÇøÐÅÏ¢*/
typedef struct {
BYTE bIntraCellNum;
BYTE bInterCellNum;
BYTE bDetectCellNum;
BYTE bGsmCellNum;
BYTE bLteCellNum;
BYTE abPadding[3];
T_zEm_Td_TddCellInfo atIntraCell[Z_EM_MAX_TD_NCELL_NUM]; //Rscp½øÐÐÅÅÐò
T_zEm_Td_TddCellInfo atInterCell[Z_EM_MAX_TD_NCELL_NUM]; //Rscp½øÐÐÅÅÐò
T_zEm_Td_DetectCellInfo atDetectCell[Z_EM_MAX_TD_NCELL_NUM];
T_zEm_Td_NGCellInfo atGsmCell[Z_EM_MAX_GSM_NCELL_NUM]; //°´ÕÕRSSI½øÐÐÅÅÐò
T_zEm_Td_NLCellInfo atLteCell[Z_EM_MAX_LTE_NCELL_NUM]; //°´ÕÕRSRP½øÐÐÅÅÐò
}T_zEm_Td_NCellInfo;
typedef struct {
BYTE bRscpFlg; /*ָʾ·þÎñÐ¡ÇøRscpÓëSvalueÊÇ·ñ´æÔÚ£¬1£º´æÔÚ£¬ 0£º²»´æÔÚ*/
BYTE bSvalueFlg;
BYTE bRscp; //0~91
BYTE bPadding;
SHORT sSValue;
SHORT sPadding;
T_zEM_Td_MeasThreshInfo tMeasThreshInfo;
T_zEm_Td_NCellInfo tNCellInfo;
}T_zEm_Td_MeasInfo;
typedef struct {
T_zEm_Td_SCellPara tScellPara;
T_zEm_Td_MeasInfo tMeasInfo;
}T_zEm_Td_EmInfo_Ind;
typedef struct{
WORD wArfcn;
BYTE bBsic;
BYTE bRelease;
DWORD dwCellId;
WORD wDchArfcn;
BYTE bBand;
BYTE bLinkTimeOut;
BYTE bSupGprs;
BYTE bSupDtxFg;
BYTE bSupHop;
BYTE bTav;
}T_zEm_Gsm_SCellInfo;/*GSMÖ÷Ä£·þÎñÐ¡ÇøÐÅÏ¢*/
typedef struct {
T_zEm_Gsm_SCellInfo tScellInfo;
T_zEm_NasQos tNasQos;
T_zEm_Gsm_NasInfo tNasInfo;
}T_zEm_Gsm_SCellPara;
typedef struct {
BYTE bPriority;
BYTE bQsearchI;
BYTE bThreshPrioritySearch;
BYTE bQsearchP;
}T_zEM_Gsm_InitMeasInfo;
typedef struct {
BYTE bTreselections;
BYTE bThreshGsmLow;
BYTE bCellReselectHysteresis;
BYTE bHPrio;
BYTE bNc;
BYTE bCcnActive;
BYTE b3GCcnActive;
BYTE bPadding;
}T_zEM_Gsm_ReselInfo;
typedef struct {
BYTE bTddQoffset;
BYTE bThreshUtranHigh;
BYTE bThreshUtranLow;
BYTE bFddQoffset;
BYTE bFddQmin;
BYTE bFddQminOffset;
BYTE bUtranQrxlevMin;
BYTE bPadding;
LONG lFddRscpThreshold;
}T_zEM_Utran_ReselInfo;
typedef struct {
BYTE bThreshEutranHigh;
BYTE bThreshEutranLow;
BYTE bEutranQrxlevMin;
BYTE bPadding;
}T_zEM_Eutran_ReselInfo;
typedef struct {
BYTE bGReselFlg;
BYTE bUReselNum;
BYTE bEuReselNum;
BYTE bPadding;
T_zEM_Gsm_ReselInfo tInitReselGsm;
T_zEM_Utran_ReselInfo atInitReselUtran[Z_EM_MAX_TD_NCELL_NUM];
T_zEM_Eutran_ReselInfo atInitReselEutran[Z_EM_MAX_LTE_NCELL_NUM];
}T_zEM_Gsm_InitReselInfo;
typedef struct {
T_zEM_Gsm_InitMeasInfo tInitMeasInfo;
T_zEM_Gsm_InitReselInfo tInitReselInfo;
}T_zEM_Gsm_MeasThreshInfo;
typedef struct {
BYTE bBsic;
BYTE bRssi;
WORD wPrimFreq;
SHORT sC1;
SHORT sC2;
BYTE bBand;
BYTE abPadding[3];
}T_zEm_Gsm_NGCellInfo;
typedef struct {
WORD wUAfrcn;
WORD WCellId;
BYTE bRscp;
BYTE bPriority;
BYTE abPadding[2];
}T_zEm_Gsm_NTCellInfo;
typedef struct {
WORD wUAfrcn;
WORD wCellId;
BYTE bRscp; // Ŀǰ¶¼ÊÇÉϱ¨BYTEÖµ£¬ÓÉÉϲã×ÔÐÐת»»³ÉdBm¸ñʽ
BYTE bEcn0; // ÓÉÉϲã×ÔÐÐת»»³ÉdBm¸ñʽ
BYTE bPriority;
BYTE bBand;
}T_zEm_Gsm_NWCellInfo;
typedef struct {
WORD wPrimCarrier;
WORD wCellId;
BYTE bRsrp;
BYTE bRsrq;
BYTE bPriority;
BYTE bPadding;
}T_zEm_Gsm_NLCellInfo;
typedef struct {
BYTE bNGCellNum;
BYTE bTCellNum;
BYTE bWCellNum;
BYTE bLCellNum;
T_zEm_Gsm_NGCellInfo tNGCell[Z_EM_MAX_GSM_NCELL_NUM];
T_zEm_Gsm_NTCellInfo tNTCell[Z_EM_MAX_TD_NCELL_NUM];
T_zEm_Gsm_NWCellInfo tNWCell[Z_EM_MAX_W_NCELL_NUM];
T_zEm_Gsm_NLCellInfo tNLCell[Z_EM_MAX_LTE_NCELL_NUM];
}T_zEm_Gsm_NCellInfo;
typedef struct {
BYTE bRssi; // Ŀǰ¶¼ÊÇÉϱ¨BYTEÖµ£¬ÓÉÉϲã×ÔÐÐת»»³ÉdBm¸ñʽ
BYTE abPadding[3];
SHORT sC1;
SHORT sC2;
T_zEM_Gsm_MeasThreshInfo tMeasThreshInfo;
T_zEm_Gsm_NCellInfo tNCellInfo;
}T_zEm_Gsm_SCellMeasInfo;
typedef struct {
WORD wArfcn;
BYTE abLai[5];
BYTE bRac;
BYTE abCellId[2];
BYTE bBsic;
BYTE bBcchDec;
BYTE bNetMode;
BYTE bRxLev;
BYTE bMaxTxPwr;
SHORT sC1;
BYTE bBER;
BYTE bTa;
BYTE bCcchConf;
BYTE bRxQualFull;
BYTE bRxQualSub;
SHORT sC2;
BYTE bChnType;
BYTE bSunChn;//°ëËÙÂÊÒµÎñÐŵÀʱµÄ×ÓÐŵÀºÅ
BYTE bChnMode;
BYTE bBand;
BYTE bMaxRetrans;
BYTE bBsAgBlkRes;
BYTE atAcc[2];
BYTE bRxLevAccMin;
BYTE bEC;
BYTE bSi7and8;
BYTE bAtt;
}T_zEm_GSM_SCellInfo;
typedef struct {
WORD wArfcn;
BYTE bBsic;
BYTE bBand;
BYTE bBcchDec;
BYTE bRxLev;
BYTE bRxLevAccMin;
BYTE bMaxTxPwr;
SHORT sC1;
SHORT sC2;
BYTE abLai[5];
BYTE abCellId[2];
}T_zEm_GSM_NCellInfo;
typedef struct {
BYTE bNCellNum; /*¹ãºÍͨGSMÁÚÐ¡Çø¸öÊý*/
T_zEm_GSM_NCellInfo atNCellInfo[Z_EM_MAX_GSM_NCELL_NUM];/*¹ãºÍͨGSMÁÚÐ¡ÇøÐÅÏ¢*/
}T_zEm_GSM_NCellList;
typedef struct {
T_zEm_Gsm_SCellPara tScellPara;/*GSMÖ÷Ä£·þÎñÐ¡ÇøÐÅÏ¢*/
T_zEm_Gsm_SCellMeasInfo tMeasInfo;
T_zEm_GSM_SCellInfo tScellInfo;/*¹ãºÍͨGSM·þÎñÐ¡ÇøÐÅÏ¢*/
T_zEm_GSM_NCellList tNcellList;/*¹ãºÍͨGSMÁÚÐ¡ÇøÐÅÏ¢*/
}T_zEm_Gsm_EmInfo_Ind; /*gsm Ö÷Ä£Éϱ¨µÄ¹¤³ÌģʽÐÅÏ¢*/
/**wcdma**/
typedef struct {
BYTE bCellVersion;
BYTE bBand;
BYTE abPadding[2];
DWORD dwCellId;
T_zEm_NasQos tNasQos;
T_zEm_W_NasInfo tNasInfo;
}T_zEm_W_CampPara;
typedef struct {
WORD wPsc;
BYTE bRscp;
BYTE bEcNo;
}T_zEM_W_AsVasCellInfo;
typedef struct {
WORD wUarfcn;
BYTE bCellNum;
BYTE bBand;
T_zEM_W_AsVasCellInfo atAsVasCell[Z_EM_MAX_W_ASCELL_NUM];
}T_zEM_W_FreqAsVasInfo;
typedef struct {
BYTE bNotUsedFreqNum;
BYTE abPadding[3];
T_zEM_W_FreqAsVasInfo tUsedFreqAsInfo;
T_zEM_W_FreqAsVasInfo atNotUsedFreqVasInfo[Z_EM_MAX_W_INTERFREQ_NUM];
}T_zEM_W_AsVasInfo;
typedef struct {
BYTE bMcId;
BYTE bEventId; //0:1A,1:1B,...5:1F, 9:1J
BYTE bW;
BYTE bHysteresis;
BYTE bTimeToTrigger;
BYTE bCellNumThld; /*0~7 ¶ÔÓÚ1AʼþΪReporting deactivation threshold£¬ 1C£¬1JʼþΪReplacement activation threshold*/
BYTE bTriggerCondition; /* 0: not used, 1: Active set cells, 2:Monitored set cells,
3:Active set cells and monitored set cells, 4: Detected set cells,
5: Detected set cells and monitored set cells.*/
BYTE bRptRange;
BYTE bRptTimes; /*ʼþÖÜÆÚ±¨¸æ´ÎÊý£¬ÎÞÖÜÆÚÖÃΪ1*/
BYTE abPadding[3];
SHORT sFreqQua;
SHORT sThld; /*ʹÓÃÓÚ1E£¬Fʼþ*/
}T_zEM_W_IntraEventInfo;
typedef struct{
BYTE bAsQuaFlg;
BYTE bFreqQuaInd; /*BitMap, ÓëT_zEM_W_AsVasInfoÖÐÒìÆµµãÊý×é¶ÔÓ¦*/
SHORT sAsQua;
SHORT asFreqQua[Z_EM_MAX_W_INTERFREQ_NUM]; /*ÓëT_zEM_W_AsVasInfoÖÐÆµµã¶ÔÓ¦*/
}T_zEM_W_EventFreqQua;
typedef struct {
BYTE bMcId;
BYTE bEventId; //0:2A,1:2B,...5:2F
BYTE bUsedFreqW;
BYTE bNotUsedFreqW;
BYTE bHysteresis;
BYTE bTimeToTrigger;
BYTE abPadding[2];
SHORT sUsedFreqThld; /*Event2B,2D,2F*/
SHORT sNotUsedFreqThld; /*Event2B,2C,2E*/
T_zEM_W_EventFreqQua tFreqQua;
}T_zEM_W_InterEventInfo;
typedef struct {
BYTE bMcId;
BYTE bEventId; //0:2A,1:2B,...5:2F
BYTE bW;
BYTE bAsQuaFlg; //ָʾsAsQua
BYTE bHysteresis;
BYTE bTimeToTrigger;
SHORT sOwnThreshold; /*Integer (-115..0),in event 3A*/
SHORT sOtherSysThreshold;
SHORT sAsQua;
}T_zEM_W_RatEventInfo;
typedef struct {
BYTE bEventType; //0:Intra, 1:Inter, 2: Rat
BYTE abPadding[3];
union{
T_zEM_W_IntraEventInfo tIntraEvent;
T_zEM_W_InterEventInfo tInterEvent;
T_zEM_W_RatEventInfo tRatEvent;
}uEventInfo;
}T_zEm_W_MeasEventInfo;
typedef struct {
BYTE bEventNum;
BYTE abPadding[3];
T_zEm_W_MeasEventInfo atMeasEventInfo[Z_EM_MAX_W_EVENT_NUM];
}T_zEm_W_DchEventInfo;
typedef struct{
WORD wUarfcn;
WORD wPsc;
SHORT sCellOff;//-1-----1
BYTE bTxInd;/*0,1,2*/
BYTE bRscp;
BYTE bEcNo;
BYTE bRssi;
BYTE bRssiFlg;
BYTE bBand;
}T_zEM_W_FddCellInfo;
typedef struct{
WORD wArfcn; //¸ßλÖÃ1±íʾ1900Ƶ¶Î
BYTE bBsic;
BYTE bRssi;//0~63
BYTE bBand; /*GsmÐ¡ÇøBand*/
BYTE abPadding[3];
}T_zEM_W_GsmCellInfo;
typedef struct {
DWORD dwEarfcn;
WORD wPci;
BYTE bRsrp;
BYTE bRsrq;
}T_zEM_W_LteCellInfo;
typedef struct {
BYTE bIntraCellNum;
BYTE bInterCellNum;
BYTE bDetectCellNum;
BYTE bGsmCellNum;
BYTE bLteCellNum;
BYTE abPadding[3];
T_zEM_W_FddCellInfo atIntraCell[Z_EM_MAX_W_NCELL_NUM];
T_zEM_W_FddCellInfo atInterCell[Z_EM_MAX_W_NCELL_NUM];
T_zEM_W_FddCellInfo atDetectCell[Z_EM_MAX_W_NCELL_NUM];
T_zEM_W_GsmCellInfo atGsmCell[Z_EM_MAX_GSM_NCELL_NUM];
T_zEM_W_LteCellInfo atLteCell[Z_EM_MAX_LTE_NCELL_NUM];
}T_zEM_W_DchNCellInfo;
typedef struct {
T_zEM_W_AsVasInfo tFreqAsVasInfo;
T_zEm_W_DchEventInfo tEventInfo;
T_zEM_W_DchNCellInfo tNCellInfo;
}T_zEm_W_DchMeasInfo;
typedef struct {
WORD wUarfcn;
WORD wPsc;
BYTE bValueFlg; //ָʾbRscp,bEcNo,sSrxlev,sSqualÊÇ·ñ´æÔÚ
BYTE bRscp;
BYTE bEcNo;
BYTE bBand;
SHORT sSrxlev;
SHORT sSqual;
SHORT sCellOff; //-1-----1
WORD wPadding;
}T_zEm_W_SCellInfo;
typedef struct{
BYTE bPriority;//7
BYTE bSPrioSearch1;//0--62
BYTE bSPrioSearch2;//0--14
BYTE bThreshServLow;//0--62
BYTE bThreshServLow2;//0--62
BYTE abPadding[3];
}T_zEM_W_ServCellPrioInfo;
typedef struct{
BYTE bHcsPrio;//0--7
BYTE bQhcs;//0--99 Èç¹ûÍø²àЯ´øÁËdeltaQhcs£¬´ËÖµÊÇÊÜdeltaQhcsÓ°ÏìºóµÄÖµ
BYTE abPadding[2];
}T_zEM_W_Hcs_ServCellInfo;
typedef struct {
BYTE bSintra;//0~20 ÎÞЧֵΪ0xFF
BYTE bSinter;// 0---20 ÎÞЧֵΪ0xFF
BYTE bSearchHcs;//0--91 ÎÞЧֵΪ0xFF
BYTE bSearchRat;// 0---20 ÎÞЧֵΪ0xFF
BYTE bSearchHcsRat;//0--91 ÎÞЧֵΪ0xFF
BYTE bHcsLimtSearchRat;//0---20 ÎÞЧֵΪ0xFF
BYTE bQHyst1S;//0--40£¬
BYTE bQHyst2S;//0--40£¬²»´æÔÚΪ0xFF
BYTE bTresel; //0~31
BYTE bHcsServCellInfoFlg; //ָʾtHcsServCellInfoÊÇ·ñ´æÔÚ
BYTE abPadding[2];
SHORT sQualMin;//-24--0 £¨Èç¹ûÍø²àЯ´øÁËDeltaQrxlevmin£¬´ËÖµÊÇÊÜDeltaQrxlevminÓ°ÏìºóµÄÖµ£©
SHORT sQRxlevMin;//-115-- -25
T_zEM_W_Hcs_ServCellInfo tHcsServCellInfo;
}T_zEM_W_CellSelectSib3_4;
typedef struct{
BYTE bPrioInfoFlg;
BYTE abPadding[3];
T_zEm_W_SCellInfo tScellInfo;
T_zEM_W_ServCellPrioInfo tSCellPrioInfo;
T_zEM_W_CellSelectSib3_4 tCellSelecSib34;
}T_zEM_W_FddSCellReselInfo;
typedef struct{
SHORT sQOff1SN; //-50---50 RSCP/ECNo¹²ÓÃ
SHORT sQOff2SN; //-50---50 ENNOʹÓÃ
SHORT sQQualMin; //-24-0
SHORT sQRxlevMin;//-115-- -25
}T_zEM_W_CellSelecSib11_12;
typedef struct{
BYTE bPriority;//7
BYTE bThreshXhigh;//0--62
BYTE bThreshXlow;//0-62
BYTE bPadding;
SHORT sQQualMinFDD;//-24-0
SHORT sQRxLevMinFDD;//-119-- -25
}T_zEM_W_FddNCellPrioInfo;
typedef struct{
BYTE bCellEvaInfoType; //0: Sib11/12Info 1£ºSib19Info
BYTE abPadding[3];
T_zEM_W_FddCellInfo tFddCellInfo;
union{
T_zEM_W_CellSelecSib11_12 tCellSelecSib11_12;
T_zEM_W_FddNCellPrioInfo tFddNCellPrioInfo;
}tEvaInfo;
}T_zEM_W_FddNCellReselInfo;
typedef struct {
BYTE bPriority;
BYTE bThreshXHigh; //0~62
BYTE bThreshXLow; //0~62
BYTE bPadding;
SHORT sQRxLevMinGSM; //-115-- -25
WORD wPadding;
}T_zEm_W_GCellPrioInfo;
typedef struct{
BYTE bCellEvaInfoType; //0: Sib11/12Info 1£ºSib19Info
BYTE abPadding[3];
T_zEM_W_GsmCellInfo tGsmCellInfo;
union{
T_zEM_W_CellSelecSib11_12 tCellSelecSib11_12;
T_zEm_W_GCellPrioInfo tGsmCellPrioInfo;
}tEvaInfo;
}T_zEM_W_GsmCellReselInfo;
typedef struct {
BYTE bPriority;
BYTE bThreshXHigh;//0~62
BYTE bThreshXHigh2;//0~62
BYTE bThreshXLow;//0~62
BYTE bThreshXLow2;//0~62
BYTE abPadding[3];
SHORT sQRxLevMinEUTRA;//-140-- -44
SHORT sQqualMinEUTRA;//-34~-3
}T_zEm_W_LteCellPrioInfo;
typedef struct{
T_zEM_W_LteCellInfo tLteCellInfo;
T_zEm_W_LteCellPrioInfo tLteCellPrioInfo;
}T_zEM_W_LteCellReselInfo;
typedef struct {
BYTE bFddIntraCellNum;
BYTE bFddInterCellNum;
BYTE bGsmNCellNum;
BYTE bLteNCellNum;
T_zEM_W_FddSCellReselInfo tFddSCellReselInfo;
T_zEM_W_FddNCellReselInfo atFddIntraCellInfo[Z_EM_MAX_W_NCELL_NUM];
T_zEM_W_FddNCellReselInfo atFddInterCellInfo[Z_EM_MAX_W_NCELL_NUM];
T_zEM_W_GsmCellReselInfo atGsmCellReselInfo[Z_EM_MAX_GSM_NCELL_NUM];
T_zEM_W_LteCellReselInfo atLteCellReselInfo[Z_EM_MAX_LTE_NCELL_NUM];
}T_zEm_W_NotDchMeasInfo;
typedef struct {
BYTE bStateInd; /*0: Dch, 1: Fach , 2:CellPch, 3:UraPch, 4:Idle*/
BYTE abPadding[3];
T_zEm_W_CampPara tCampPara;
union{
T_zEm_W_DchMeasInfo tDchInfo;
T_zEm_W_NotDchMeasInfo tNotDchInfo;
}uWcellMeasInfo;
}T_zEm_W_EmInfo_Ind;
/****wcdma******/
typedef struct {
BYTE bVersion;
BYTE bRatType;/* ÖÆÊ½Ö¸Ê¾£º0x04-GSM¡¢0x01-TDSCDMA¡¢0x02-WCDMA¡¢0x10-LTE¡¢ÆäËûÖµ±£Áô*/
BYTE bSrcIndex;/*Ô­±¾Îªpaddingλ,ÏÖË÷ÒýÖµ·ÅÔÚ´Ë´¦±ÜÃâ¶ÔAP²àµÄʹÓòúÉúÓ°Ïì*/
BYTE bDesIndex;
union{
T_zEm_Gsm_EmInfo_Ind tGsmEmInfo;
T_zEm_Td_EmInfo_Ind tTdEmInfo;
T_zEm_W_EmInfo_Ind tWEmInfo;
T_zEm_Lte_EmInfo_Ind tLteEmInfo;
}uEmInfo;
}T_zEM_EmInfo_Ind;
/**************************************************************************
* º¯ÊýÀàÐͶ¨Òå *
**************************************************************************/
#ifdef _CHIP_ZX297502
extern VOID zReqPsInfo(BYTE bInfoType);
#else
extern VOID zReqPsInfo(BYTE bStackIndex, BYTE bInfoType);
#endif
extern VOID zEul2LogMaskInd(T_zEUL2_LogMask_Ind tEul2logMaskInd);
#endif