[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/pub/include/tools/phy_w_log_if.h b/pub/include/tools/phy_w_log_if.h
new file mode 100644
index 0000000..275809f
--- /dev/null
+++ b/pub/include/tools/phy_w_log_if.h
@@ -0,0 +1,804 @@
+/********************************************************************

+* °æÈ¨ËùÓÐ (C)2013, ÉîÛÚÊÐÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£

+*

+* ÎļþÃû³Æ£º phy_w_log_if.h

+* Îļþ±êʶ£º

+* ÄÚÈÝÕªÒª£ºÎïÀí²ã±ê×¼LOGÊä³öµÄ½Ó¿ÚÎļþ

+* ÆäËü˵Ã÷£º

+* µ±Ç°°æ±¾£º

+* ×÷    Õߣº

+* Íê³ÉÈÕÆÚ£º

+*

+* ÐÞ¸ÄÈÕÆÚ    °æ±¾ºÅ     ÐÞ¸ÄÈË	     ÐÞ¸ÄÄÚÈÝ

+* -----------------------------------------------

+* 2015/8/07   V1.0	      L1w          н¨

+************************************************************************/

+#ifndef PHY_W_LOG_IF_H

+#define PHY_W_LOG_IF_H

+

+/************************************************************************

+                    1.Í·Îļþ      --Ô­ÔòÉϲ»ÔÊÐíÍ·ÎļþǶÌ×

+*************************************************************************/

+

+

+/************************************************************************

+                    2.ºê¶¨Òå

+*************************************************************************/

+/* W phy outlog msg id */

+#define L1W_MAIN_INFO_ID               0x01// --no use 

+#define L1W_ACTIVE_CELL_INFO_ID        0x02// --no use 

+#define L1W_TPC_PACKET_INFO_ID         0x03  //Add by 20150423 --no use

+#define L1W_UL_POWER_INFO_ID           0x04  //Add by 20150423 --no use

+#define L1W_PC_STATIC_INFO_ID          0x5//0x03//0x5

+#define L1W_RFC_GAP_INFO_ID            0x6//0x04//0x6

+#define L1W_DL_TRCH_INFO_ID            0x8//0x05//0x8

+#define L1W_UL_TRCH_INFO_ID            0x9//0x06//0x9

+#define L1W_DL_CPCH_INFO_ID            0xA//0x07//0xA

+#define L1W_DL_DPCH_INFO_ID            0xB//0x08//0xB

+#define L1W_UL_DPCH_INFO_ID            0xD//0x09//0xD

+#define L1W_PRACH_INFO_ID              0xE//0x0A//0xE

+#define L1W_SYNC_INFO_ID               0xF//0x0B//0xF --no use

+#define L1W_FS_PROC_INFO_ID            0x10//0x0C//0x10 --no use

+#define L1W_CS_STATISTIC_INFO_ID       0x11//0x0D//0x11 --no use

+#define L1W_PAGE_STATISTIC_INFO_ID     0x12//0x0E//0x12 --no use

+#define L1W_SERVE_CELL_RESULT_ID       0x13//0x0F//0x13 --no use

+#define L1W_INTRA_CELL_RESULT_ID       0x14//0x10//0x14 --no use

+#define L1W_INTER_CELL_RESULT_ID       0x15//0x11//0x15 --no use

+#define L1W_BTT_STATISTIC_INFO_ID      0x34//???

+#define L1W_STATISTIC_INFO_ID          0x16//Add by 20150423

+#define L1W_HSDPA_PACKET_INFO_ID       0x17//0x13//0x17

+#define L1W_HSUPA_PACKET_INFO_ID       0x19//0x14//0x19

+#define L1W_HSUPA_STATISTIC_INFO_ID    0x1A//0x15//0x1A

+#define L1W_SLEEP_MIX_INFO_ID          0x1B//0x16//0x1B --no use

+#define L1W_HSDPA_CODING_INFO_ID       0x33//0x17//????

+#define L1W_HSDPA_STATISTIC_INFO       0x18

+

+/************************************************************************

+                    3.ÀàÐͶ¨Òå

+*************************************************************************/

+//WÎïÀí²ãÏûÏ¢ÀàÐÍ

+typedef enum

+{

+    E_STANDARD_MSG = 0,

+    E_PRINT_MSG,

+    E_HCI_MSG,

+    E_HOOK_MSG,

+    E_DATA_DUMP,

+    E_OTHER,

+    ENG_TYPE_MAX_NUM,

+}E_EngLogType; /* µ÷ÊÔÐÅÏ¢Êä³öÀàÐÍ */ //ZCat-- WCDMA_MSG_TYPE

+

+

+/* W phy info and statistic info header */

+

+typedef struct

+{

+    WORD16 wHeader;      /* µ÷ÊÔÐÅÏ¢Êý¾Ý°üָʾͷ£¬¹Ì¶¨Îª0x69E8 */

+    WORD16 wSfn;         /* µ±Ç°SFNºÅ */

+    WORD16 wCfn;         /* µ±Ç°CFNºÅ */

+    WORD16 wChip;        /* µ±Ç°CHIPºÅ */

+    WORD16 wLogType:8;   /* Êä³öLOGÀàÐÍ£¬¼ûEngLogType¶¨Òå*/

+    WORD16 wProcId:8;    /* µ±Ç°½ø³ÌID */

+    WORD16 wLen;         /* Êä³öµ÷ÊÔÐÅÏ¢µÄ³¤¶È£¬²»°üÀ¨EngLogHeader£¬µ¥Î»×Ö½Ú */

+    WORD16 wSsfnH;       /* SSFN¸ß16λ */

+    WORD16 wSsfnL;       /* SSFNµÍ16λ */

+}T_EngLogHeader;

+

+typedef enum

+{

+    E_L1W_SWAP_HOOK = 0,

+    E_L1W_SEND_HOOK,

+    E_L1W_TRACE_HOOK,

+}E_L1wHookEventId;

+

+typedef struct

+{

+    WORD16       wHookEventId;

+    WORD16       wCurrentPid;

+    WORD16       wToPid;

+    WORD16       wSenderPid;

+    WORD16       wReceiverPid;

+    WORD16       wSigNo;

+    WORD16       wSfn;

+    WORD16       wChip;

+}T_HookLog;/* HOOK_LOG¼Ç¼ */

+

+typedef struct

+{

+    WORD16 wSigid;

+    WORD16 wPsType:8;

+    WORD16 wPadding:8;

+    WORD32 dGsmSFN;

+    WORD32 dTdSFN;

+    WORD32 dLteSFN;

+    WORD32 dWcdmaSFN;

+    WORD16 wLen;

+    WORD16 wReserved;

+}T_StandardLogHeader;/* ±ê×¼LOGÍ·¶¨Òå */

+

+typedef struct

+{

+    WORD16 wMsgId;       /* ±ê×¼LOGµÄÏûÏ¢ID£¬¾ßÌå´ýºóÐø¶¨Òå */

+    WORD16 wMsgLen;      /* ±ê×¼LOGµÄ³¤¶È */

+}T_EngStandardMsg;    /* ±ê×¼LOGÊä³öµÄÐÅϢͷ *///ZCat--WPHY_EngStandardMsg

+

+typedef struct

+{

+    WORD16 wMsgId;       /* ×Ô¶¨Òå´òÓ¡µÄÏûÏ¢ID */

+    WORD16 wPri:8;       /* ×Ô¶¨Òå´òÓ¡µÄÓÅÏȼ¶ */

+    WORD16 wParaNum:8;   /* ×Ô¶¨Òå´òÓ¡µÄ²ÎÊý¸öÊý */

+}T_EngPrintMsg;       /* ×Ô¶¨Òå´òÓ¡µÄÐÅϢͷ *///ZCat--WPHY_EngPrintMsg

+

+typedef struct

+{

+    WORD16 wMsgId;       /* W_PHYÓëЭÒéÕ»½Ó¿ÚÏûÏ¢µÄID */

+    WORD16 wMsgLen;      /* Êä³ö½Ó¿ÚÏûÏ¢ÄÚÈݵij¤¶È */

+}T_EngHciMsg;         /* ÓëЭÒéÕ»½Ó¿ÚÏûÏ¢Êä³öµÄÐÅϢͷ *///ZCat--WPHY_EngHciMsg

+

+typedef struct

+{

+    WORD16 wEventId;     /* HOOKÐÅÏ¢µÄʼþID */

+    WORD16 wPara;        /* ¶ÔÓÚSWAP_HOOK£¬wParaΪĿ±ê½ø³ÌID£»

+                         ¶ÔÓÚSEND_HOOK£¬wParaΪ·¢ËÍÏûÏ¢ID£»

+                         ¶ÔÓÚTRACE_HOOK£¬wParaΪµ÷ÊÔ¸ú×ÙÊý¾Ý */

+}T_EngHookMsg;        /* HOOKÊä³öµÄÐÅϢͷ *///ZCat--WPHY_EngHookMsg

+

+typedef struct

+{

+    WORD16 wDataType;    /* ץȡÊý¾ÝµÄÀàÐÍ£¬¾ßÌå´ýºóÐø¶¨Òå */

+    WORD16 wDataLen;     /* ץȡÊý¾ÝµÄ³¤¶È */

+}T_EngDataDump;       /* Êý¾ÝץȡLOGµÄÐÅϢͷ *///ZCat--WPHY_EngDataDump

+

+

+//ÒÔÉϼ¸¸ö½á¹¹ÌåÊǹ¤¾ßÐÞ¸ÄÁËÃû³ÆµÄ,Ò²ÐÞ¸ÄÁËÄÚÈÝ£¬ÐèÒª±È¶ÔÒ»ÏÂ

+

+//group1 l1w main info

+typedef struct

+{

+    WORD32 wFirstVerNum:8;

+    WORD32 wSecondVerNum:8;

+    WORD32 wThirdVerNum:8;

+    WORD32 wPathFirstVerNum:4;

+    WORD32 wPathSecondVerNum:4;

+}T_L1wSoftVersion;

+

+typedef struct

+{

+    WORD16 wPeriod;   /*500ms*/

+	WORD16 wPadding;

+    WORD32 wResetTimes;

+    WORD32 wIcsTimes;

+    WORD32 wFachTimes;

+    WORD32 wPageTimes;

+    WORD32 wDchTimes;

+    WORD32 wDpaTimes;

+    WORD32 wUpaTimes;

+    WORD32 wSlaveTimes;

+    WORD16 wReserved[8];

+}T_L1wStateCnt;//////LOG_TOOL_WCDMA_STATE_CNT

+

+typedef struct

+{

+    WORD16 wPeriod;   /*500ms*/

+    //T_L1wSoftVersion tL1wSoftVersion;

+    WORD32 wStateCount;

+    WORD32 wMeasTimes;

+    WORD32 wDpchConfigTimes;

+    WORD32 wDpchHoTimes;

+    WORD32 wFsTimes;

+    WORD32 wBchTimes;

+    WORD32 wCsTimes;

+    SWORD16 swAfc;

+    WORD16 wPathLoss;

+    WORD16 wUlTadv;

+    WORD32 dDlSync;

+    WORD16 wReserved[8];

+}T_L1MainMixInfo;///////LOG_TOOL_WCDMA_MAIN_INFO

+

+//group2 £ºbasic cell info

+typedef struct

+{

+    WORD32 dEng;

+    WORD32 dPos;

+    WORD32 dFing;

+}T_PathInfo;

+

+typedef struct

+{

+    WORD16 wPeriod;   /*500ms*/

+    WORD16 wPadding;

+    WORD32 wRefCell:1;

+    WORD32 wPrimScCode:9;

+    WORD32 wCellTpc:3;

+    WORD32 wCpichDiv:2;

+    WORD32 wScpich:1;

+    WORD32 wSecScCode:4;

+    WORD32 wChanCodeInx:8;

+    WORD32 dAcellPos;

+    WORD16 wReserved[8];

+}T_ActiveCellPara;

+

+typedef struct

+{

+    WORD16 wPeriod;   /*500ms*/

+    WORD16 wDlFreq;

+    WORD16 wRlNum;

+    WORD16 wNumPaths;

+    T_ActiveCellPara atSaCellInfo[6];

+    T_PathInfo tPathInfo[8];

+    WORD16 wReserved[8];

+}T_ActiveCellInfo;///////LOG_TOOL_WCDMA_ACTIVE_CELL_INFO

+

+

+//group3 pc info

+typedef struct

+{

+   WORD16 wUlTpcTotal;

+   WORD16 awUlTpcCombiner[6];

+}T_UlTpcInfo;

+

+typedef struct

+{

+   WORD16 wDlTpcTotal;

+   WORD16 awDlTpcCombiner[6];

+}T_DlTpcInfo;

+

+typedef struct

+{

+    WORD16  wPeriod;   /*10ms*/

+    WORD16  wNumOfSample;

+    T_UlTpcInfo tUlTpcInfo;

+    T_DlTpcInfo tDlTpcInfo;

+    WORD16 wStartCfn;

+    WORD16 wReserved[15];

+}T_TpcPacketInfo;/////LOG_TOOL_WCDMA_TPC_PACKET_INFO

+

+typedef struct

+{

+    WORD16 wPeriod;   /*10ms*/

+    WORD16  wPwr[15];

+    WORD16 wReserved[8];

+}T_UlPwrInfo;/////LOG_TOOL_WCDMA_UL_POWER_INFO

+

+typedef struct

+{

+    WORD16 wPeriod;   /*500ms*/

+    WORD16 wReserved[19];

+}T_PcStaticInfo;///////LOG_TOOL_WCDMA_PC_STATIC_INFO

+

+

+//group4 agc info

+typedef struct

+{

+    WORD16 wPeriod;   /*10ms*/

+    WORD16 wPhyState;

+    WORD32 dGapRptCnt;

+    WORD16 wRptGapValid;

+    WORD16 wRptGapInfo;

+    WORD32 dGapRecCnt;

+    WORD16 wRecGapValid;

+    WORD16 wRecGapInfo;

+    WORD16 wTxPattern;

+    WORD16 wRxPattern;

+    WORD16 wTxApc;

+    WORD16 wMaxTxPower;

+    WORD16 wPaOn;

+    WORD16 wAgcInfo[15];

+    WORD16 wLnaState;

+    WORD16 wReserved[7];

+}T_RfcGapMixInfo;//////LOG_TOOL_WCDMA_RFC_GAP_INFO

+

+extern T_RfcGapMixInfo     g_tRfcGapMixLog;             /* RFCºÍGAPµÄ±ê×¼logÐÅÏ¢ */

+

+typedef struct

+{

+    WORD16 wPeriod;   /*500ms*/

+    WORD16 wReserved[19];

+}T_RfcStateInfo; //////LOG_TOOL_WCDMA_RFC_STATE_INFO

+

+

+//group5  dl trch info

+typedef struct

+{

+    WORD16 wTrBkSize;

+    WORD16 wNumTrBk;

+    WORD16 wCrc; //modify by 20150423

+    WORD16 wPadding;

+}T_DlTfInfo;

+typedef struct

+{

+    WORD16 wTrchId;

+    WORD16 wTrchType;

+    WORD16 wTti;

+    WORD16 wRmAttr;

+    WORD16 wNumTrFmts;

+    WORD16 wTfInfoBase;

+    T_DlTfInfo atDlTfInfo[8];//modify by 20150423

+    //T_DlTfInfo atDlTfInfo[32];

+    WORD16 wReserved[8];

+}T_DlTrchPara;

+typedef struct

+{

+    WORD16 wCctrchId;

+    WORD16 wNumCctrch;

+    WORD16 wNumTrch;

+	WORD16 wReserved[7];

+    T_DlTrchPara atTrchPara[8];

+}T_DlDpchTrchInfo;///////LOG_TOOL_WCDMA_DL_TRCH_INFO

+

+

+//group6 ul trch info

+typedef struct

+{

+    WORD16 wTrchId;

+    WORD16 wTrchType;

+    WORD16 wCodingTypeOfChannel;

+    WORD16 wTti;

+    WORD16 wCrcLength;

+    WORD16 wBetaC;/*0~15*/

+    WORD16 wBetaD;

+    WORD16 wReserved[7];

+}T_UlTrchPara;

+

+typedef struct

+{

+    WORD16 wNumOfTrch;

+    WORD16 wNumOfTfc;

+    WORD16 wTfci;

+    WORD16 wSpreadingFactor;

+    T_UlTrchPara atTrchPara[8];

+}T_UlDpchTrchInfo;///////////////LOG_TOOL_WCDMA_UL_TRCH_INFO

+

+

+//group7  DL pch

+typedef struct

+{

+    WORD16 wChState;

+    WORD16 wDlChanType;

+    WORD16 wSltFmtSccpch;

+    WORD16 wScCodeIdx;

+    WORD16 wDivMode;

+    WORD16 wCctrchId;

+    WORD16 wTOff;

+    WORD16 wChanCode;

+}T_DlCpchPara;

+typedef struct

+{

+    

+    WORD16 wNumPhyCh;

+    //WORD16 wSir; //add by 20150423

+    WORD16 wPadding;

+	//WORD16 wSir;

+    T_DlCpchPara tChPara[8];//modify by 20150423

+    //T_DlCpchPara tChPara;

+    WORD16 wReserved[8];

+}T_DlCpchInfo;                                               ////////////LOG_TOOL_WCDMA_DL_CPCH_INFO

+

+//group8 dl dpch

+typedef struct{

+    WORD16 wChanCode;

+    WORD16 wSecScrambCodeFlg;

+    WORD16 wSecScrambCode;

+	WORD16 wPadding;

+} T_ChannelCode;

+

+typedef struct

+{

+    WORD16 TxDivMode;

+    //WORD16 wChanState;  //add by 20150423

+    WORD16 wDpchFrameOffset;

+    WORD16 wPrimSrc;

+    WORD16 wSecCpScrCodeFlg;

+    WORD16 wSecCpichScrambCode;

+    WORD16 wTpcCombIndex;

+    WORD16 wNumOfDpchs;

+	WORD16 wPadding;

+    T_ChannelCode atDlDpchChannelCode[8];

+}T_DlRlPara;

+

+typedef struct

+{

+    //WORD16 wChState; //delete by 20150423

+    WORD16 wNumOfRl;

+    WORD16 wSlotForm;

+    T_DlRlPara atRlParams[6];

+    WORD16 wReserved[8];

+}T_DlDpchInfo;////////////LOG_TOOL_WCDMA_DL_DPCH_INFO

+

+

+//group9 ul dpch

+typedef struct

+{

+    WORD16 wMaxTxPower;

+    WORD16 wDpcchPowerOff;

+    WORD16 wPowerControlAlgorithm;

+    WORD16 wTpcStepSize;

+    WORD16 wInitTxPower;

+	WORD16 wPadding;

+}T_UlDpchPcInfo;///////////////LOG_TOOL_WCDMA_UL_DPCH_PC_INFO

+

+typedef struct

+{

+    WORD16 wPowerPreambleLen;

+    WORD16 wNumOfFbiBits;

+    WORD16 wSlotForm;

+    WORD16 wScrambCodeType;

+    WORD32 dUlScrambCode;

+    WORD16 wSpreadingFactor;//Add by 20150423

+    WORD16 wPunctLimit;

+    WORD16 wTfciFlg;

+    WORD16 wReserved[7];

+}T_UlDpchInfo;////////////LOG_TOOL_WCDMA_UL_DPCH_INFO

+

+//group10 prach

+typedef struct

+{

+    WORD16 wPowMaxTxPower;

+    WORD16 wSignatureBitmap;

+    WORD16 wSubchannelBitmap;

+    WORD16 wMinSpreadingFactor;

+    WORD32 wPrachScrambCode;

+    WORD16 wPunctLimit;

+    WORD16 wTrchId;

+    WORD16 wInitialPowerOff;

+    WORD16 wMsgTti;

+    WORD16 wNumPreamble;

+    WORD16 wAichState;

+    WORD16 wSignPreamble;

+    WORD16 wAccessSlotNo;

+    WORD16 wSfn;

+    WORD16 wAichTransTiming;

+    WORD16 wRFTxPower;

+    WORD16 wAichMissCnt;

+    WORD16 wPrachFailCause;

+    WORD16 wReserved[7];

+}T_PrachInfo;///////////////LOG_TOOL_WCDMA_PRACH_INFO

+

+

+//group11 sync info-tpu\psr\afc

+typedef struct

+{

+    WORD16 reserved[20];

+

+}T_SyncInfo;//////////////////LOG_TOOL_WCDMA_SYNC_INFO

+

+

+

+//group12 fs proc info

+typedef struct

+{

+    WORD16 wFrequency;

+    WORD16 wRssi;

+}T_FsInfo;

+

+typedef struct

+{

+    WORD16 wFsNum;

+    WORD16 wPadding;

+    T_FsInfo atScanResult[32];

+    WORD16 wReserved[6];

+}T_FsResult;//////////////////////////LOG_TOOL_WCDMA_FS_PROC_INFO

+

+

+//group13 csr and bch info

+typedef struct

+{

+    WORD32 wPscFail:1;

+    WORD32 wSscFail:1;

+    WORD32 wMidFail:1;

+    WORD32 wMeasFail:1;

+    WORD32 wBchFail:1;

+    WORD32 wFullScanFail:1;

+    WORD32 wRevered:26;

+}T_CsFailInfo;

+typedef struct

+{

+    WORD16 wPrimSrc;

+    WORD16 wCpichRscp;

+    WORD16 wCpichEcNo;

+}T_CellParams;

+

+typedef struct

+{

+    T_CsFailInfo tCsFailInfo;

+    WORD16 wFrequency;

+    WORD16 wNumOfFoundCells;

+    T_CellParams  atCell[8];

+    WORD16 wReserved[8];

+}T_CsStatisticInfo;//////////////LOG_TOOL_WCDMA_CS_STATISTIC_INFO

+

+//group14 pi info

+typedef struct

+{

+    WORD16 wPiValue;

+    WORD16 wPchCrc;

+    WORD16 wPchVlaue;

+    WORD16 wReserved[7];

+}T_PageStatisticInfo;//////////////////LOG_TOOL_WCDMA_PAGE_STATISTIC_INFO

+

+//group15  meas info

+typedef struct

+{

+    WORD16 wPrimSrc;

+    WORD16 wRscp;

+    WORD16 wEcIo;

+    WORD16 wPadding;

+    WORD32 dMaxFingerPos;

+}T_L1wLogCellInfo;

+

+typedef struct

+{

+    WORD16 wFreq;

+    WORD16 wRssi;

+    WORD16 wCellNum;

+    WORD16 wPadding;

+    T_L1wLogCellInfo tCellInfo[32];

+}T_FreqCellInfo;

+

+typedef struct

+{

+    WORD16 wFreq;

+    WORD16 wRssi;

+    WORD16 wCellNum;

+    WORD16 wPadding;

+    T_L1wLogCellInfo tCellInfo[3];

+}T_BlindFreqCellInfo;

+

+typedef struct

+{

+    WORD16 wFreq;

+    WORD16 wPadding;

+    T_L1wLogCellInfo tCellInfo;

+    WORD16 wReserved[8];

+

+}T_SrvCellResult;//////////////////LOG_TOOL_WCDMA_SERVE_CELL_RESULT

+

+typedef struct

+{

+    WORD16 wFreq;

+    WORD16 wRssi;

+    WORD16 wCellNum;

+	WORD16 wPadding;

+    T_L1wLogCellInfo tCellInfo[32];

+    WORD16 wReserved[8];

+}T_IntraCellResult;/////////////////////////////LOG_TOOL_WCDMA_INTRA_CELL_RESULT

+

+typedef struct

+{

+    WORD16              wPeriod;                /* 10ms or tti*/

+	WORD16              wPadding;

+    WORD16              wFreqNum;

+    WORD16              wBlindFreqNum;

+    T_FreqCellInfo      atInterFreqCellInfo[8];

+    T_BlindFreqCellInfo atBlindFreqCellInfo[16];

+    WORD16              wReserved[8];

+}T_InterCellResult;//////////////////LOG_TOOL_WCDMA_INTER_CELL_RESULT

+

+//group16 fach and dpch crc info

+#if 0

+typedef struct

+{

+    WORD16 wPeriod;                /* 10ms or tti*/

+    WORD32 wFachCrcOkCnt;

+    WORD32 wFachErrCnt;

+    WORD16 wFachBler;

+    WORD16 wFachBps;

+    WORD16 wReserved[8];

+}T_DlFachCrcInfo;                                      //////////////LOG_TOOL_WCDMA_DL_FACH_CRC_INFO

+typedef struct

+{

+    WORD16 wPeriod;                /* 10ms or tti*/

+    WORD32 wDpchErrCnt;

+    WORD32 wDpchCrcOkCnt;

+    WORD16 wDpchBler;

+    WORD16 wDpchBps;

+    WORD16 wDpchTfci;

+    WORD16 wReserved[8];

+}T_DlDchCrcInfo;                                          /////////////////////LOG_TOOL_WCDMA_DL_DCH_CRC_INFO

+#endif

+

+#define DL_TRCH_NUM_MAX  8

+typedef struct

+{

+    WORD16 wPeriod;                 /* 10ms or tti*/

+    WORD16 wPadding;

+    WORD32 wTrchErrCnt;             /* ´íÎó¿é×ÜÊý */

+    WORD32 wTrchCrcOkCnt;           /* ÕýÈ·¿é×ÜÊý */

+    WORD16 wTrchBler;               /* µ¥Î»°Ù·ÖÖ®Ò» */

+    WORD16 wTrchBits; //modify by 20150423

+    WORD16 wTrchTfci;               /* µ±Ç°TFCI */

+    //WORD32 dTrchBits;               /* µ¥Î»K */

+    WORD16 wReserved[7];

+}T_DlTrchInfo;

+

+typedef enum

+{

+    E_NULL = 0,

+    E_PCH,

+    E_FACH,

+    E_DPCH

+}E_DlTrchType;

+

+typedef struct

+{

+    WORD16  wDlTrchType;

+    WORD16  wTrchNum;

+    T_DlTrchInfo tDlTrchInfo[DL_TRCH_NUM_MAX];

+}T_DlRxCodingInfo;

+

+

+typedef struct

+{

+    WORD16      wPeriod;                /* 500ms */

+    WORD16      wPadding;

+    WORD32      dHsdschBits;            /* HSDSCH Á÷Á¿ */

+    WORD32      dHsscchCrcFalseCnt;     /* HSSCCH ´íÎóÊý*/

+    WORD32      dHsscchCrcTrueCnt;      /* HSSCCH ÕýÈ·Êý*/

+    WORD32      dHsscchTotalCnt;        /* HSSCCH ½ÓÊÕ×ÜÊý*/

+    WORD32      dHsdschQpskCnt;         /* HSDSCH QPSK¼ÆÊý */

+    WORD32      dHsdsch16QamCnt;        /* HSDSCH 16QAM¼ÆÊý */

+    WORD32      dHsdsch64QamCnt;        /* HSDSCH 64QAM¼ÆÊý */

+    WORD32      dHsdschCrcFalseCnt;     /* HSDSCH ´íÎóÊý */

+    WORD32      dHsdschCrcTrueCnt;      /* HSDSCH ÕýÈ·Êý */

+    WORD32      dHsdschRetransCnt;      /* HSDSCH ÖØ´«Êý */

+    WORD32      dHsdschTotalCnt;        /* HSDSCH ½ÓÊÕ×ÜÊý */

+    WORD32      dHsdpcchRetransCnt;     /* HSDPCCH ÖØ´«Êý */

+    WORD32      dHsdpcchTotalCnt;       /* HSDPCCH ·¢ËÍ×ÜÊý */

+    WORD32      dHsdpaRunSsfnCnt;       /* ×ÜÔËÐÐÖ¡Êý */

+    //ºóÃæËĸözcatûÓÃ20150423

+    WORD32      dHsscchType1Cnt;        /* HSSCCH TYPE1¼ÆÊý, °üÀ¨BCCH HRNTI */

+    WORD32      dHsscchType2Cnt;        /* HSSCCH TYPE2¼ÆÊý */

+    WORD32      dHsscchLessCnt;         /* HSSCCH LESS¼ÆÊý */

+    WORD32      dHsscchOrderCnt;        /* HSSCCH ORDER¼ÆÊý */

+}T_HsdpaCodingInfo;

+

+typedef struct

+{

+   WORD16 bIsDlRxFlg;

+   WORD16 bIsHsdpaFlg;

+   T_DlRxCodingInfo  tDlRxCodingInfo;

+   T_HsdpaCodingInfo  tHsdpaCodingInfo;

+   WORD16      wReserved[8];

+}T_L1wStatisticInfo; //LOG_TOOL_WCDMA_STATISTIC_INFO

+

+

+//group17 dpa info

+

+typedef struct

+{

+    WORD16      wSir;       /* SIR */

+    WORD16      wPow;       /* ¹¦ÂÊ */

+    WORD16      wCode;      /* ÂëµÀºÅ */

+    WORD16      wPattern;   /* ´ò¿ªÊ±Ï¶Í¼Ñù */

+}T_HsdpaDlChInfo;

+

+typedef struct

+{

+    WORD16      wSir;       /* SIR */

+    WORD16      wPow;       /* ¹¦ÂÊ */

+    WORD16      wCode;      /* ÂëµÀºÅ */

+    WORD16      wPattern;   /* ´ò¿ªÊ±Ï¶Í¼Ñù */

+    WORD16      wTiming;    /* ¶¨Ê± */

+    WORD16      wPadding;

+}T_HsdpaUlChInfo;

+

+

+typedef struct

+{

+    WORD16              wPeriod;                /* 10ms */

+    //WORD16              wPadding;

+    WORD16              wHsscchTBSzie[5];       /* HSSCCH Я´øµÄ´«Êä¿é´óС */

+    WORD16              wHsscchParam[5];        /* HSSCCH Я´øµÄ²ÎÊý: harq:4¡¢tbs:6¡¢ms:2¡¢ch num:4 */

+    WORD16              wHsdschParam[5];        /* HSDSCH Я´ø²ÎÊý: tsn */

+    WORD16              wHsdpcchAckCqi[5];      /* HSDPCCH Я´øµÄ²ÎÊý:ack:3¡¢cqi:5¡¢Reserved:8 */

+    WORD16              wHsscchMissCnt;         /* HSSCCH MISS¼ÆÊý */

+    WORD16              wHsscchScheCnt;         /* HSSCCH µ÷¶È¼ÆÊý */

+    WORD16              wHsdschCrcPassCnt;      /* HSDSCH ÕûÌåÊý¾ÝÕýÈ·¼ÆÊý */

+    WORD16              wHsdschCrcFailCnt;      /* HSDSCH ÕûÌåÊý¾Ý´íÎó¼ÆÊý */

+    WORD16              wHsdschNdCrcPassCnt;    /* HSDSCH ÐÂÊý¾ÝÕýÈ·¼ÆÊý */

+    WORD16              wHsdschNdCrcFailCnt;    /* HSDSCH ÐÂÊý¾Ý´íÎó¼ÆÊý */

+    WORD16              wHsdpcchRetransCnt;     /* HSDPCCH ÖØ´«¼ÆÊý */

+    WORD32              dHsdschBits;            /* HSDSCH Á÷Á¿ */

+    T_HsdpaDlChInfo     atHsscchChInfo[4];      /* HSSCCH ÐÅÏ¢ */

+    T_HsdpaDlChInfo     atHsdschChInfo[15];     /* HSDSCH ÐÅÏ¢ */

+    T_HsdpaUlChInfo     tHsdpcchChInfo;         /* HSDPCCH ÐÅÏ¢ */

+    WORD16 wReserved[8];

+}T_HsdpaPacketInfo; //////////////////LOG_TOOL_WCDMA_HSDPA_PACKET_INFO

+

+#if 0 //zcatÔÚʹÓà 20150423

+typedef struct

+{

+    WORD16      wPeriod;                /* 500ms*/

+    WORD16      wHsscchSchedRate;       /* Hsscch µ÷¶ÈÂÊ */

+    WORD16      wHsscchMissRate;        /* Hsscch missÂÊ */

+    WORD16      wHsdschErrRate;         /* Hsdsch ´íÎóÂÊ */

+    WORD16      wHsdschRetransRate;     /* Hsdsch ÖØ´«ÂÊ */

+    WORD16      wHsdpcchRetransRate;    /* Hsdpcch ÖØ´«ÂÊ */

+    WORD32      wHsdschBps;             /* Hsdsch Á÷Á¿ */

+    WORD16      wReserved[8];

+}T_DevHsdpaStatisticInfo;                                        //////////////LOG_TOOL_WCDMA_HSDPA_STATISTIC_INFO

+#endif

+

+//group 18 upa info

+

+typedef struct

+{

+    WORD16 wValue;

+    WORD16 wScope;

+    WORD16 wPrimRnti;

+	WORD16 wPadding;

+}T_AgResult;

+

+typedef struct

+{

+    WORD16 wRgOffsetSlot;

+    WORD16 wHiOffsetSlot;

+    WORD16 wChanCode;

+	WORD16 wPadding;

+}T_HsupaRgHiChan;

+typedef struct

+{

+   WORD16 wEagchChanCode;

+    WORD16 wPadding;

+    T_HsupaRgHiChan atRgHiChanInfo[4];

+}T_HsupaDlChan;

+

+typedef struct

+{

+    WORD16 wEdchTti;

+    WORD16 wSf;

+    WORD16 wL;

+    WORD16 wBetaEc;

+    WORD16 wBetaEd[4];

+}T_HsupaUlChan;

+

+typedef struct

+{

+    WORD16 wPeriod;/* 10ms*/

+	WORD16 wPadding;

+	WORD16  wNumOfEdchRl;

+	WORD16  wEdchServRlIdx;

+	WORD16 awEdchCellPrimSrc[4];

+    T_AgResult tAgResult;

+    WORD32         dAgCrcOkNum;

+    WORD32         dRgResult;

+    WORD32         dEdchSentNum;

+    WORD32         dHiAckNum;

+    WORD32         dHiNackNum;

+    T_HsupaDlChan  tDlChanInfo;

+    T_HsupaUlChan  tEdchInfo;

+    WORD16         wReserved[8];

+}T_HsupaPacketInfo;////////////////////////LOG_TOOL_WCDMA_HSUPA_PACKET_INFO

+

+typedef struct

+{

+    WORD16      wPeriod;                /* 500ms*/

+	WORD16      wPadding;

+    WORD16      wAgchSchedRate;

+    WORD16      wAgchMissRate;

+    WORD16      wEdchNewDateBps;

+    WORD16      wEdchDataBps;

+    WORD16      wReserved[8];

+}T_HsupaStatisitcInfo;////////////////LOG_TOOL_WCDMA_HSUPA_STATISTIC_INFO

+

+//group19 sleep info

+typedef struct

+{

+    WORD16      wPeriod;                /* 5s*/

+	WORD16      wPadding;

+    WORD16      wPhyState;

+    WORD16      wSleepRatio;

+    WORD32      dSleepStartSsfn;

+    WORD32      dSleepWakeSsfn;

+    WORD32      dSleepCnt;

+}T_SleepMixInfo;/////////////////////LOG_TOOL_WCDMA_SLEEP_MIX_INFO

+

+

+/************************************************************************

+				    4.º¯Êý¼°±äÁ¿ÉùÃ÷

+*************************************************************************/

+

+

+#endif /* PHY_W_LOG_IF_H */

+

+