[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/pub/include/tools/ZspTrace.h b/pub/include/tools/ZspTrace.h
new file mode 100755
index 0000000..047d65a
--- /dev/null
+++ b/pub/include/tools/ZspTrace.h
@@ -0,0 +1,83 @@
+#ifndef ZSPTRACE_H_
+#define ZSPTRACE_H_
+
+#define ZCAT_ZPS_BUFFER_SIZE (0x00010000UL>>CPU_SHIFT)
+
+#ifndef DDR_BASE_ADDR_TOOL_ICP
+extern unsigned long ZCAT_PS_2_PHY_BUFFER_BASE;
+extern unsigned long ZCAT_PHY_2_PS_BUFFER_BASE;
+#endif
+
+////PHY-ZCAT
+#define ZCAT_PHY_2_PS_BUFFER_SIZE (0x00060000UL>>CPU_SHIFT)
+#define ZCAT_PHY_LOG_UNIT_ORDER (14 - CPU_SHIFT) /* 16KB */
+#define ZCAT_PHY_LOG_UNIT_SIZE (1UL<<ZCAT_PHY_LOG_UNIT_ORDER)
+#define ZCAT_PHY_LOG_UNIT_NUM (ZCAT_PHY_2_PS_BUFFER_SIZE >> ZCAT_PHY_LOG_UNIT_ORDER)
+
+#define ZCAT_PHY_STD_LOG_OFFSET (28UL>>CPU_SHIFT) /* sizeof(T_COMM_TYPE + T_ZCAT_HEADER) */
+#define ZCAT_PHY_PRT_LOG_OFFSET (40UL>>CPU_SHIFT) /* sizeof(T_COMM_TYPE + T_ZCAT_HEADER + T_ZCAT_DBG_HEADER) */
+
+#define LOG_TD (1)
+#define LOG_LTE (2)
+#define LOG_W (3)
+#define LOG_SIG (4)
+
+typedef struct
+{
+ unsigned long type;
+ unsigned long len;
+} T_ZCAT_Phy_Log_Unit_Header;
+
+#define ZCAT_PHY_LOG_UNIT_HEAD (IRAM_BASE_ADDR_ZCAT_PHY_LOG)
+#define ZCAT_PHY_LOG_UNIT_TAIL (ZCAT_PHY_LOG_UNIT_HEAD + (4>>CPU_SHIFT))
+#define ZCAT_PHY_LOG_Free_UNIT_BUF (ZCAT_PHY_LOG_UNIT_TAIL + (4>>CPU_SHIFT))
+#define ZCAT_PHY_LOG_Free_UNIT_LEN (96>>CPU_SHIFT) /* (24 * 4)B = 384K*/
+#define ZCAT_PHY_LOG_OFF (ZCAT_PHY_LOG_UNIT_HEAD + (16>>CPU_SHIFT) + ZCAT_PHY_LOG_Free_UNIT_LEN) /* ¶àÔ¤ÁôÁË8×Ö½Ú */
+
+////PHY<->PS ringbuffer(TD)
+#define ZCAT_PHY_LOG_CONTROL_SIZE (0x200UL>>CPU_SHIFT)
+#define ZCAT_PHY_LOG_CONTROL_LEN (ZCAT_PHY_LOG_CONTROL_SIZE - (4 >> CPU_SHIFT))
+
+#define ZCAT_TD_LOG_CONTROL_BASE_ADDR (ZCAT_PS_2_PHY_BUFFER_BASE)
+#define ZCAT_TD_LOG_CONTROL_WPOINTER (ZCAT_TD_LOG_CONTROL_BASE_ADDR)
+#define ZCAT_TD_LOG_CONTROL_RPOINTER (ZCAT_TD_LOG_CONTROL_WPOINTER + (2 >> CPU_SHIFT))
+#define ZCAT_TD_LOG_CONTROL_CONTENT (ZCAT_TD_LOG_CONTROL_RPOINTER + (2 >> CPU_SHIFT))
+
+////PHY<->PS ringbuffer(LTE)
+#define ZCAT_LTE_LOG_CONTROL_BASE_ADDR (ZCAT_TD_LOG_CONTROL_BASE_ADDR + ZCAT_PHY_LOG_CONTROL_SIZE)
+#define ZCAT_LTE_LOG_CONTROL_WPOINTER (ZCAT_LTE_LOG_CONTROL_BASE_ADDR)
+#define ZCAT_LTE_LOG_CONTROL_RPOINTER (ZCAT_LTE_LOG_CONTROL_WPOINTER + (2 >> CPU_SHIFT))
+#define ZCAT_LTE_LOG_CONTROL_CONTENT (ZCAT_LTE_LOG_CONTROL_RPOINTER + (2 >> CPU_SHIFT))
+
+////PHY<->PS ringbuffer(W)
+#define ZCAT_W_LOG_CONTROL_BASE_ADDR (ZCAT_LTE_LOG_CONTROL_BASE_ADDR + ZCAT_PHY_LOG_CONTROL_SIZE)
+#define ZCAT_W_LOG_CONTROL_WPOINTER (ZCAT_W_LOG_CONTROL_BASE_ADDR)
+#define ZCAT_W_LOG_CONTROL_RPOINTER (ZCAT_W_LOG_CONTROL_WPOINTER + (2 >> CPU_SHIFT))
+#define ZCAT_W_LOG_CONTROL_CONTENT (ZCAT_W_LOG_CONTROL_RPOINTER + (2 >> CPU_SHIFT))
+
+////PHY<->PS ringbuffer(SIG)
+#define ZCAT_SIG_LOG_CONTROL_BASE_ADDR (ZCAT_W_LOG_CONTROL_BASE_ADDR + ZCAT_PHY_LOG_CONTROL_SIZE)
+#define ZCAT_SIG_LOG_CONTROL_WPOINTER (ZCAT_SIG_LOG_CONTROL_BASE_ADDR)
+#define ZCAT_SIG_LOG_CONTROL_RPOINTER (ZCAT_SIG_LOG_CONTROL_WPOINTER + (2 >> CPU_SHIFT))
+#define ZCAT_SIG_LOG_CONTROL_CONTENT (ZCAT_SIG_LOG_CONTROL_RPOINTER + (2 >> CPU_SHIFT))
+
+////ZCAT-TD
+#define ZCAT_TD_PS_TO_PHY_BUFFER_BASE_ADDR (ZCAT_SIG_LOG_CONTROL_BASE_ADDR + ZCAT_PHY_LOG_CONTROL_SIZE)
+#define ZCAT_TD_PS_TO_PHY_BUFFER_SIZE (0x00000200UL>>CPU_SHIFT)
+
+////ZCAT-LTE
+#define ZCAT_LTE_PS_TO_PHY_BUFFER_BASE_ADDR (ZCAT_TD_PS_TO_PHY_BUFFER_BASE_ADDR + ZCAT_TD_PS_TO_PHY_BUFFER_SIZE)
+#define ZCAT_LTE_PS_TO_PHY_BUFFER_SIZE (0x00000200UL>>CPU_SHIFT)
+
+////ZCAT-WCDMA
+#define ZCAT_W_PS_TO_PHY_BUFFER_BASE_ADDR (ZCAT_LTE_PS_TO_PHY_BUFFER_BASE_ADDR + ZCAT_LTE_PS_TO_PHY_BUFFER_SIZE)
+#define ZCAT_W_PS_TO_PHY_BUFFER_SIZE (0x00000200UL>>CPU_SHIFT)
+
+////ZCAT-SIG
+#define ZCAT_SIG_PS_TO_PHY_BUFFER_BASE_ADDR (ZCAT_W_PS_TO_PHY_BUFFER_BASE_ADDR + ZCAT_W_PS_TO_PHY_BUFFER_SIZE)
+#define ZCAT_SIG_PS_TO_PHY_BUFFER_SIZE (0x00000200UL>>CPU_SHIFT)
+
+#define ZCAT_PS_2_PHY_BUFFER_SIZE (ZCAT_PHY_LOG_CONTROL_SIZE + ZCAT_PHY_LOG_CONTROL_SIZE + ZCAT_PHY_LOG_CONTROL_SIZE + ZCAT_PHY_LOG_CONTROL_SIZE + \
+ ZCAT_TD_PS_TO_PHY_BUFFER_SIZE + ZCAT_LTE_PS_TO_PHY_BUFFER_SIZE + ZCAT_W_PS_TO_PHY_BUFFER_SIZE + ZCAT_SIG_PS_TO_PHY_BUFFER_SIZE)
+#endif
+
diff --git a/pub/include/tools/phy_lte_log_if.h b/pub/include/tools/phy_lte_log_if.h
new file mode 100644
index 0000000..62f817f
--- /dev/null
+++ b/pub/include/tools/phy_lte_log_if.h
@@ -0,0 +1,1142 @@
+#ifndef _PHY_LTE_LOG_IF_H
+#define _PHY_LTE_LOG_IF_H
+
+#ifndef ZPHY_DEBUG_TMT_SIZE
+#define ZPHY_DEBUG_TMT_SIZE ((UINT32)10)
+#endif
+
+#ifndef ZPHY_SUBFRAMES_PER_FRAME
+#define ZPHY_SUBFRAMES_PER_FRAME ((UINT32)10)
+#endif
+//LTEÎïÀí²ãÏûÏ¢½á¹ûÌå
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_ECSR_PSSINFO
+˵Ã÷£ºPSS Result
+=========================================================================*/
+typedef struct
+{
+ WORD16 wHeader; /* µ÷ÊÔÐÅÏ¢Êý¾Ý°üָʾͷ£¬¹Ì¶¨Îª0x69E8 */
+ WORD16 wLogType:8; /* Êä³öLOGÀàÐÍ£¬¼ûEngLogType¶¨Òå*/
+ WORD16 wProcId:8; /* µ±Ç°½ø³ÌID */
+ WORD16 wSubFrame:5;
+ WORD16 wFrame:11;
+ WORD16 wSuperSubFrame;
+ WORD16 wLen; /* Êä³öµ÷ÊÔÐÅÏ¢µÄ³¤¶È£¬²»°üÀ¨EngLogHeader£¬µ¥Î»×Ö½Ú */
+ WORD16 wReserved;
+}T_LteEngLogHeader;
+
+
+typedef struct
+{
+ WORD16 wMsgId; /* ±ê×¼LOGµÄÏûÏ¢ID£¬¾ßÌå´ýºóÐø¶¨Òå */
+ WORD16 wMsgLen; /* ±ê×¼LOGµÄ³¤¶È */
+}T_LteEngStandardMsg; /* ±ê×¼LOGÊä³öµÄÐÅϢͷ */
+
+typedef struct
+{
+ WORD16 wMsgId; /* ×Ô¶¨Òå´òÓ¡µÄÏûÏ¢ID */
+ WORD16 wPri:8; /* ×Ô¶¨Òå´òÓ¡µÄÓÅÏȼ¶ */
+ WORD16 wParaNum:8; /* ×Ô¶¨Òå´òÓ¡µÄ²ÎÊý¸öÊý */
+}T_LteEngPrintMsg; /* ×Ô¶¨Òå´òÓ¡µÄÐÅϢͷ */
+
+typedef struct
+{
+ WORD16 wMsgId; /* W_PHYÓëÐÒéÕ»½Ó¿ÚÏûÏ¢µÄID */
+ WORD16 wMsgLen; /* Êä³ö½Ó¿ÚÏûÏ¢ÄÚÈݵij¤¶È */
+}T_LteEngHciMsg; /* ÓëÐÒéÕ»½Ó¿ÚÏûÏ¢Êä³öµÄÐÅϢͷ */
+
+typedef enum
+{
+ E_LTE_SWAP_HOOK = 0,
+ E_LTE_SEND_HOOK,
+ E_LTE_TRACE_HOOK,
+}E_LteHookEventId;
+
+typedef struct
+{
+ WORD16 wEventId; /* HOOKÐÅÏ¢µÄʼþID */
+ WORD16 wPara; /* ¶ÔÓÚSWAP_HOOK£¬wParaΪĿ±ê½ø³ÌID£»
+ ¶ÔÓÚSEND_HOOK£¬wParaΪ·¢ËÍÏûÏ¢ID£»
+ ¶ÔÓÚTRACE_HOOK£¬wParaΪµ÷ÊÔ¸ú×ÙÊý¾Ý */
+}T_LteEngHookMsg; /* HOOKÊä³öµÄÐÅϢͷ */
+
+
+typedef struct
+{
+ WORD16 wDataType; /* ץȡÊý¾ÝµÄÀàÐÍ£¬¾ßÌå´ýºóÐø¶¨Òå */
+ WORD16 wDataLen; /* ץȡÊý¾ÝµÄ³¤¶È */
+}T_LteEngDataDump; /* Êý¾ÝץȡLOGµÄÐÅϢͷ */
+
+
+
+typedef struct
+{
+ UINT32 dwPssPeakVal; /* PSS Peak Value Data */
+ UINT32 dwPeakPosition; /* Peak Position */
+ UINT32 dwPssIndicies; /* PSS Indicies */
+}T_zPHY_PSSInfo;
+
+typedef struct
+{
+ UINT16 wUarfcn; /* Ƶµã */
+ UINT16 wpading;
+ T_zPHY_PSSInfo atPSSInfo[16];
+}T_zPHY_UarfcnPssInfo;
+
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ T_zPHY_UarfcnPssInfo atUarfcnPssInfo[4];
+}T_zPHY_ECSR_PssInfo;
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_ECSR_SERCELLFRMTIMING
+˵Ã÷£ºServing Cell Frame Timing
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+
+ UINT32 dwStDlFrmTimeOffset; /* DL Frame Timing Offse */
+ UINT32 dwStUlFrmTimeOffset; /* UL Frame Timing Offse */
+ UINT32 dwStUlTA; /* UL Timing Advance */
+
+ UINT16 wChDlFrmTime; /* Change in DL Frame Timing */
+ UINT16 wChUlFrmTime; /* Change in UL Frame Timing */
+}T_zPHY_ECSR_SerCellFrmTiming;
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_ECSR_SSSINFO
+˵Ã÷£ºSSS Result
+=========================================================================*/
+typedef struct
+{
+ UINT16 wCellId; /* Barred Cell ID */
+}T_zPHY_BarredCellId;
+
+typedef struct
+{
+ UINT32 dwSSSPeakVal; /* SSS Peak Value Data */
+ UINT32 dwSSSPositon; /* SSS Position */
+ UINT32 dwCpMode; /* CP */
+ UINT32 dwHalfFrmHypth; /* Half Frame Hypothesis */
+}T_zPHY_DetectedCell;
+
+typedef struct
+{
+ T_zPHY_BarredCellId atBarredCellId[16];
+ T_zPHY_DetectedCell atDetectedCell[32];
+}T_zPHY_ECSR_SSSInfo;
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_ECSR_SERCELL_MEAS_RESULT
+˵Ã÷£ºServing Cell MeasureMent Result
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT16 wIsIdleMode; /* Is Idle Mode */
+ UINT16 wMeasBW; /* Measurement BW */
+ UINT16 wCellId; /* Cell ID */
+ UINT16 wpading; /* ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
+ UINT32 dwRxTimeOffset; /* Timing Offset Rx */
+}T_zPHY_ECSR_SerCellMeasResult;
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_ECSR_NEBORCELL_MEAS_RESULT
+˵Ã÷£ºNeighbor Cell Measurements and Tracking
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwEarfcn; /* Ƶµã */
+ UINT32 dwDuplexMode; /* TDD or FDD*/
+ UINT16 wCellId; /* Ð¡ÇøID */
+ UINT16 wCpmode; /* CP mode */
+}T_zPHY_CellInfo;
+
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ T_zPHY_CellInfo tCellInfo;
+}T_zPHY_ECSR_NeborCellMeasResult;
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_PBCH_INFO
+˵Ã÷£ºPBCH
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT16 wSerCellId; /* Serving Cell ID */
+ UINT16 wTransAntCnf; /* Transmit Antenna Config */
+ UINT16 wSfnOffset; /* SFN Offset */
+ UINT16 wCrcValue; /* CRC */
+}T_zPHY_ECSR_PbchInfo;
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_GLB_MIB_INFO
+˵Ã÷£ºMIBÐÅÏ¢
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwMibRefreshFlag; //MIBÐÅÏ¢¸üбêÖ¾£¬ÓиüÐÂÔòÖÃ1
+ UINT32 dwMibInfo; //MIBÐÅÏ¢
+} T_zPHY_ECSR_MibInfo;
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_GLB_CSR_MEASURE_INFO
+˵Ã÷£ºRSRP¡¢RSRQ¡¢RSSIÐÅÏ¢
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwServerCellId; /* ·þÎñÐ¡ÇøID */
+
+ SINT32 sdwCsrmRssi; /* RSSI */
+ SINT32 sdwCsrmRsrq; /* RSRQ */
+ SINT32 sdwCsrmRsrp; /* RSRP */
+
+ SINT32 sdwCsrmRssiAnt0; /* ÌìÏß0 RSSI */
+ SINT32 sdwCsrmRssiAnt1; /* ÌìÏß1 RSSI */
+
+ SINT32 sdwCsrmRsrpAnt0; /* ÌìÏß0 RSRP */
+ SINT32 sdwCsrmRsrpAnt1; /* ÌìÏß1 RSRP */
+
+ SINT32 sdwCsrmRsrqAnt0; /* ÌìÏß0 RSRQ */
+ SINT32 sdwCsrmRsrqAnt1; /* ÌìÏß0 RSRQ */
+}T_zPHY_ECSR_MeasureInfo;
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_PCFICH_INFO
+˵Ã÷£ºPCFICHͳ¼ÆÐÅÏ¢
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT16 aucDlCfiTab[10]; /*Ñ»·Í³¼Æ10¸ö×ÓÖ¡µÄCFIÖµ*/
+ UINT32 adwDlCfiValue[4]; /*ͳ¼Æ²»Í¬CFIÖµµÄ¸öÊý*/
+ UINT32 adwDlCfiValueSubf[10][4]; /*°´×Ó֡ͳ¼Æ²»Í¬CFIÖµµÄ¸öÊý*/
+}T_ZPHY_EDL_PCFICH_INFO;
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_PHICH_INFO
+˵Ã÷£ºPHICHͳ¼ÆÐÅÏ¢
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT16 ucNg; /* Ng */
+ UINT16 ucHiDuration; /* PHICH Duration */
+ UINT32 adwPhichAckNum[2][10]; /* PHICH1¡¢2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwPhichNackNum[2][10]; /* PHICH1¡¢2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwPhichAckSumNum[2]; /* PHICH1¡¢2 °´×ܵÄÀÛ¼Óͳ¼Æ */
+ UINT32 adwPhichNackSumNum[2]; /* PHICH1¡¢2 °´×ܵÄÀÛ¼Óͳ¼Æ */
+ UINT16 aucPhich1Grp[10]; /* PHICH1µÄ×éºÅ */
+ UINT16 aucPhich1Seq[10]; /* PHICH1µÄÀ©ÆµÐòÁкŠ*/
+ UINT16 aucPhich2Grp[10]; /* PHICH2µÄ×éºÅ */
+ UINT16 aucPhich2Seq[10]; /* PHICH2µÄÀ©ÆµÐòÁкŠ*/
+ UINT32 dwPHICH_AckNum;
+ UINT32 dwPHICH_NackNum;
+}T_ZPHY_EDL_PHICH_INFO;
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_PDCCH_INFO
+˵Ã÷£ºPDCCHä¼ì²âͳ¼ÆÐÅÏ¢
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ /*Statistic Si-Rnti Dci Info*/
+ UINT32 adwSiRntiDci1ANum[10]; /* Si-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSiRntiDci1CNum[10]; /* Si-Rnti DCI_1C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwSiRntiDci1ASumNum; /* Si-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 dwSiRntiDci1CSumNum; /* Si-Rnti DCI_1C ×ܵÄÀÛ¼Ó */
+ UINT32 dwSiRntiDciSumNum;
+
+ /*Statistic P-Rnti Dci Info*/
+ UINT32 adwPRntiDci1ANum[10]; /* P-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwPRntiDci1CNum[10]; /* P-Rnti DCI_1C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwPRntiDci1ASumNum; /* P-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 dwPRntiDci1CSumNum; /* P-Rnti DCI_1C ×ܵÄÀÛ¼Ó */
+ UINT32 dwPRntiDciSumNum;
+
+ /*Statistic Ra-Rnti Dci Info*/
+ UINT32 adwRaRntiDci1ANum[10]; /* Ra-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwRaRntiDci1CNum[10]; /* Ra-Rnti DCI_1C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwRaRntiDci1ASumNum; /* Ra-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 dwRaRntiDci1CSumNum; /* Ra-Rnti DCI_1C ×ܵÄÀÛ¼Ó */
+ UINT32 dwRaRntiDciSumNum;
+
+ /*Statistic C-Rnti Dci Info*/
+ UINT32 adwCRntiDci1Num[10]; /* C-Rnti DCI_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci1ANum[10]; /* C-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci1BNum[10]; /* C-Rnti DCI_1B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci1DNum[10]; /* C-Rnti DCI_1D °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci2Num[10]; /* C-Rnti DCI_2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci2ANum[10]; /* C-Rnti DCI_2A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci2BNum[10]; /* C-Rnti DCI_2B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwCRntiDci1SumNum; /* C-Rnti DCI_1 ×ܵÄÀÛ¼Ó */
+ UINT32 dwCRntiDci1ASumNum; /* C-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 dwCRntiDci1BSumNum; /* C-Rnti DCI_1B ×ܵÄÀÛ¼Ó */
+ UINT32 dwCRntiDci1DSumNum; /* C-Rnti DCI_1D ×ܵÄÀÛ¼Ó */
+ UINT32 dwCRntiDci2SumNum; /* C-Rnti DCI_2 ×ܵÄÀÛ¼Ó */
+ UINT32 dwCRntiDci2ASumNum; /* C-Rnti DCI_2A ×ܵÄÀÛ¼Ó */
+ UINT32 dwCRntiDci2BSumNum; /* C-Rnti DCI_2B ×ܵÄÀÛ¼Ó */
+ UINT32 dwCRntiDciSumNum;
+
+ /*Statistic Tpc-Rnti Dci Info*/
+ UINT32 adwTpcRntiDci3Num[10]; /* Tpc-Rnti DCI_3 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwTpcRntiDci3ANum[10]; /* Tpc-Rnti DCI_3A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwTpcRntiDci3SumNum; /* Tpc-Rnti DCI_3 ×ܵÄÀÛ¼Ó */
+ UINT32 dwTpcRntiDci3ASumNum; /* Tpc-Rnti DCI_3A ×ܵÄÀÛ¼Ó */
+ UINT32 dwPucchTpcDci33ASumNum;
+ UINT32 dwPuschTpcDci33ASumNum;
+
+ /*Statistic Sps-Rnti Dci Info*/
+ UINT32 adwSpsRntiDci1Num[10]; /* Sps-Rnti DCI_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci1ANum[10]; /* Sps-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2Num[10]; /* Sps-Rnti DCI_2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2ANum[10]; /* Sps-Rnti DCI_2A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2BNum[10]; /* Sps-Rnti DCI_2B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwSpsRntiDci1SunNum; /* Sps-Rnti DCI_1 ×ܵÄÀÛ¼Ó */
+ UINT32 dwSpsRntiDci1ASunNum; /* Sps-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 dwSpsRntiDci2SunNum; /* Sps-Rnti DCI_2 ×ܵÄÀÛ¼Ó */
+ UINT32 dwSpsRntiDci2ASunNum; /* Sps-Rnti DCI_2A ×ܵÄÀÛ¼Ó */
+ UINT32 dwSpsRntiDci2BSunNum; /* Sps-Rnti DCI_2B ×ܵÄÀÛ¼Ó */
+
+ /*Statistic Tc-Rnti Dci Info*/
+ UINT32 adwTcRntiDci1Num[10]; /* Tc-Rnti DCI_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwTcRntiDci1ANum[10]; /* Tc-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwTcRntiDci1SumNum; /* Tc-Rnti DCI_1 ×ܵÄÀÛ¼Ó */
+ UINT32 dwTcRntiDci1ASumNum; /* Tc-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+
+ /*Statistic Dci Total Number*/ /* ÉÏÊö×ÛºÏÀàͳ¼Æ */
+ UINT32 adwValidDci0_1Num[10]; /* DCI0_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwValidDci0_2Num[10]; /* DCI0_2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwValidDci1Num[10]; /* DCI1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwValidDci1ANum[10]; /* DCI1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwValidDci1CNum[10]; /* DCI1C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwValidDci2Num[10]; /* DCI2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwValidDci2ANum[10]; /* DCI2A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwValidDci2BNum[10]; /* DCI2B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwValidDci0_1SumNum; /* DCI0_1 ×ܵÄÀÛ¼Ó */
+ UINT32 dwValidDci0_2SumNum; /* DCI0_2 ×ܵÄÀÛ¼Ó */
+ UINT32 dwValidDci1SumNum; /* DCI1 ×ܵÄÀÛ¼Ó */
+ UINT32 dwValidDci1ASumNum; /* DCI1A ×ܵÄÀÛ¼Ó */
+ UINT32 dwValidDci1CSumNum; /* DCI1C ×ܵÄÀÛ¼Ó */
+ UINT32 dwValidDci2SumNum; /* DCI2 ×ܵÄÀÛ¼Ó */
+ UINT32 dwValidDci2ASumNum; /* DCI2A ×ܵÄÀÛ¼Ó */
+ UINT32 dwValidDci2BSumNum; /* DCI2B ×ܵÄÀÛ¼Ó */
+
+ UINT32 dwPdcchDlGrantCnt; /* ÊÚȨͳ¼Æ£¬×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈ룬¿ÉÓÉÉÏÊöDCIÐÅÏ¢Àۼӵõ½*/
+}T_ZPHY_EDL_PDCCH_INFO;
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_PDSCH_INFO
+˵Ã÷£ºPDSCH½âÂëͳ¼ÆÐÅÏ¢
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ /*Statistic C-Rnti PDSCH Decode Info*/
+ UINT32 adwCRntiTbCrcOkNum[2][10]; /* TB1¡¢2 C-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiTbCrcErrNum[2][10]; /* TB1¡¢2 C-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiTbCrcOkSumNum[2]; /* TB1¡¢2 C-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiTbCrcErrSumNum[2]; /* TB1¡¢2 C-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
+
+ /*Statistic Si-Rnti PDSCH Decode Info*/
+ UINT32 adwSiRntiCrcOkNum[10]; /* Si-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSiRntiCrcErrNum[10]; /* Si-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwSiRntiCrcOkSumNum; /* Si-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 dwSiRntiCrcErrSumNum; /* Si-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
+
+ /*Statistic P-Rnti PDSCH Decode Info*/
+ UINT32 adwPRntiCrcOkNum[10]; /* P-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwPRntiCrcErrNum[10]; /* P-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwPRntiCrcOkSumNum; /* P-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 dwPRntiCrcErrSumNum; /* P-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
+
+ /*Statistic Ra-Rnti PDSCH Decode Info*/
+ UINT32 adwRaRntiCrcOkNum[10]; /* Ra-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwRaRntiCrcErrNum[10]; /* Ra-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwRaRntiCrcOkSumNum; /* Ra-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 dwRaRntiCrcErrSumNum; /* Ra-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
+
+ /*Statistic Sps-Rnti PDSCH Decode Info*/
+ UINT32 adwSpsRntiCrcOkNum[10]; /* Sps-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiCrcErrNum[10]; /* Sps-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwSpsRntiCrcOkSumNum; /* Sps-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 dwSpsRntiCrcErrSumNum; /* Sps-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+
+ /*Statistic Tc-Rnti PDSCH Decode Info*/
+ UINT32 adwTcRntiCrcOkNum[10]; /* Tc-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwTcRntiCrcErrNum[10]; /* Tc-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwTcRntiCrcOkSumNum; /* Tc-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 dwTcRntiCrcErrSumNum; /* Tc-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 dwPDSCH_TB1CrcAckNum;
+ UINT32 dwPDSCH_TB1CrcNackNum;
+ UINT32 dwPDSCH_TB2CrcAckNum;
+ UINT32 dwPDSCH_TB2CrcNackNum;
+}T_ZPHY_EDL_PDSCH_INFO;
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_HARQ_INFO
+˵Ã÷£ºÏÂÐÐHARQÐÅϢͳ¼Æ
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT32 adwRevTb1RvNum[4]; /* TB1 ¸÷×Ôµ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwRevTb2RvNum[4]; /* TB2 ¸÷×Ôµ¥¶ÀÀÛ¼Óͳ¼Æ */
+
+ /*ÏÂÐÐÄ£¿é¸÷Harq ID ACK¡¢NACKÊý*/
+ /* ×î´óÖ§³Ö15¸öHarq ProcessµÄBLERͳ¼Æ */
+ /*ÏÂÐÐ TB1*/
+ UINT32 adwDlTb1HarqIdAck[15]; /* TB1 15¸öHARQ IDµÄACKÐÅÏ¢£¬¸÷ID×ܵÄÀÛ¼Ó£¬Â·²àµÈÒýÈë */
+ UINT32 adwDlTb1HarqIdNack[15]; /* TB1 15¸öHARQ IDµÄNACKÐÅÏ¢£¬¸÷ID×ܵÄÀÛ¼Ó£¬Â·²àµÈÒýÈë */
+
+ /*ÏÂÐÐ TB2*/
+ UINT32 adwDlTb2HarqIdAck[15]; /* TB2 15¸öHARQ IDµÄACKÐÅÏ¢£¬¸÷ID×ܵÄÀÛ¼Ó£¬Â·²àµÈÒýÈë */
+ UINT32 adwDlTb2HarqIdNack[15]; /* TB2 15¸öHARQ IDµÄNACKÐÅÏ¢£¬¸÷ID×ܵÄÀÛ¼Ó£¬Â·²àµÈÒýÈë */
+
+ /* ÏÂÐеÚÒ»´Î¡¢µÚ¶þ´Î¡¢µÚÈý´Î¡¢µÚËÄ´ÎÖØ´«³É¹¦´ÎÊý */
+ UINT32 adwDlHarqSuccNum[2][4]; /* TB1¡¢TB2ÖØ´«³É¹¦´ÎÊýͳ¼Æ£¬ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+}T_ZPHY_EDL_HARQ_INFO;
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_PA_INFO
+˵Ã÷£ºÏÂÐй¦ÂÊ·ÖÅäÐÅϢͳ¼Æ
+=========================================================================*/
+typedef struct
+{
+ UINT16 ucPowerA; /* À´×ÔDedicatedÏûÏ¢µÄÓÃÓÚPDSCH¹¦Âʲ¹³¥µÄ²ÎÊý */
+ UINT16 ucPowerB; /* À´×ÔCommonÏûÏ¢µÄÓÃÓÚPDSCH¹¦Âʲ¹³¥µÄ²ÎÊý */
+}T_ZPHY_EDL_PA_INFO;
+/*========================================================================
+LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_FLOW_INFO
+˵Ã÷£ºÏÂÐÐÁ÷Á¿ÐÅϢͳ¼Æ
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwPeakFlow;
+ UINT32 dwMeanFlow;
+ UINT32 dwBlerAckCount; /*Only Statistic C-Rnti Pdsch*/
+ UINT32 dwBlerNackCount; /*Only Statistic C-Rnti Pdsch*/
+}T_ZPHY_EDL_FLOW_INFO;
+/*========================================================================
+EVENTÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_DCI_INFO
+˵Ã÷£º
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN;
+ UINT32 dwResource;
+ UINT32 adwPdschBmp[14];
+ UINT16 cRaType;
+ UINT16 cRbNum;
+ UINT16 cRbStart;
+ UINT16 cRbLength;
+ UINT16 cHarqId;
+ UINT16 cTb1Mcs;
+ UINT16 cTb2Mcs;
+ UINT16 cTb1Ndi;
+ UINT16 cTb2Ndi;
+ UINT16 cTb1Rv;
+ UINT16 cTb2Rv;
+ UINT16 cDaiIdx;
+}T_zPHY_DciInfo;
+
+/* ÏÂÐÐDCIµ÷¶ÈÐÅÏ¢ */
+typedef struct
+{
+ T_zPHY_DciInfo atDciInfo[10]; /* 10¸ö×ÓÖ¡µÄµ±Ç°DCIÐÅÏ¢ */
+}T_ZPHY_EDL_DCI_INFO;
+/*========================================================================
+LOG_TOOL_LTE_PHY_EXT_PUCCHFMT_STAT_INFO
+˵Ã÷£º PUCCH FMT ¸ñʽͳ¼ÆÐÅÏ¢
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT32 dwUlaPucchFmt1Cnt; /* PUCCH Format1 ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
+ UINT32 dwUlaPucchFmt1aCnt; /* PUCCH Format1A ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
+ UINT32 dwUlaPucchFmt1bCnt; /* PUCCH Format1B ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
+ UINT32 dwUlaPucchFmt2Cnt; /* PUCCH Format2 ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
+ UINT32 dwUlaPucchFmt2aCnt; /* PUCCH Format2A ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
+ UINT32 dwUlaPucchFmt2bCnt; /* PUCCH Format2B ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
+}T_zPHY_EUL_PucchFmtStatisticsInfo;
+/*========================================================================
+LOG_TOOL_LTE_PHY_EXT_BUNLDINGAN_STAT_INFO
+˵Ã÷£º ͳ¼ÆÏÂÐнâÂëµÄBunldingÐÅÏ¢
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ //PUCCH·´À¡
+ UINT32 dwUlaPucchBunldingAckCnt; /* µ¥Âë×ÖÏÂPUCCH BundlingºóµÄACKͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPucchBunldingNackCnt; /* µ¥Âë×ÖÏÂPUCCH BundlingºóµÄNACKͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPucchBunldingAckAckCnt; /* Á½Âë×ÖÏÂPUCCH BundlingºóµÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPucchBunldingAckNackCnt; /* Á½Âë×ÖÏÂPUCCH BundlingºóµÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPucchBunldingNackAckCnt; /* Á½Âë×ÖÏÂPUCCH BundlingºóµÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPucchBunldingNackNackCnt; /* Á½Âë×ÖÏÂPUCCH BundlingºóµÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+ //PUSCH·´À¡
+ UINT32 dwUlaPuschBunldingAckCnt; /* µ¥Âë×ÖÏÂPUSCH BundlingºóµÄACKͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPuschBunldingNackCnt; /* µ¥Âë×ÖÏÂPUSCH BundlingºóµÄNACKͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPuschBunldingAckAckCnt; /* Á½Âë×ÖÏÂPUSCH BundlingºóµÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPuschBunldingAckNackCnt; /* Á½Âë×ÖÏÂPUSCH BundlingºóµÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPuschBunldingNackAckCnt; /* Á½Âë×ÖÏÂPUSCH BundlingºóµÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPuschBunldingNackNackCnt; /* Á½Âë×ÖÏÂPUSCH BundlingºóµÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+
+ UINT32 dwPdcchUlGrantCnt; /* ÊÚȨͳ¼Æ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwPuschDynPacketNum; /* ¶¯Ì¬°üͳ¼Æ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+}T_zPHY_EUL_BunldingANStatisticsInfo;
+/*========================================================================
+LOG_TOOL_LTE_PHY_EXT_MUTIPLEXAN_STAT_INFO
+˵Ã÷£º PUCCH Multiplexing Ñ¡ÔñN1pucch×ÊԴͳ¼ÆÐÅÏ¢
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT32 dwUlaN1pucch0Bits00Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch0×ÊÔ´µÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch0Bits01Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch0×ÊÔ´µÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch0Bits10Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch0×ÊÔ´µÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch0Bits11Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch0×ÊÔ´µÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+ UINT32 dwUlaN1pucch1Bits00Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch1×ÊÔ´µÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch1Bits01Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch1×ÊÔ´µÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch1Bits10Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch1×ÊÔ´µÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch1Bits11Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch1×ÊÔ´µÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+ UINT32 dwUlaN1pucch2Bits00Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch2×ÊÔ´µÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch2Bits01Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch2×ÊÔ´µÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch2Bits10Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch2×ÊÔ´µÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch2Bits11Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch2×ÊÔ´µÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+ UINT32 dwUlaN1pucch3Bits00Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch3×ÊÔ´µÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch3Bits01Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch3×ÊÔ´µÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch3Bits10Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch3×ÊÔ´µÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch3Bits11Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch3×ÊÔ´µÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+}T_zPHY_UL_MutiplexingANStatisticsInfo;
+/*========================================================================
+LOG_TOOL_LTE_PHY_EXT_SRHARQSIMUL_STAT_INFO
+˵Ã÷£ºSR HARQͳ¼ÆÐÅÏ¢
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT32 dwUlaSrAndHarqCnt; /* PUCCH SRºÍACKÒ»Æð·´À¡µÄͳ¼Æ£¬¹Ì¶¨Ñ¡ÔñFormat 1b£¬²é±íÑ¡Ôñ2¸öbit£ºb(1),b(0)½øÐд«Êä ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaSrAndHarqBits00Cnt; /* Ñ¡Ôñb(1)=0 b(0)=0µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaSrAndHarqBits01Cnt; /* Ñ¡Ôñb(1)=0 b(0)=1µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaSrAndHarqBits10Cnt; /* Ñ¡Ôñb(1)=1 b(0)=0µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaSrAndHarqBits11Cnt; /* Ñ¡Ôñb(1)=1 b(0)=1µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+}T_zPHY_UL_SrHarqSimulStatisticsInfo;
+/*========================================================================
+LOG_TOOL_LTE_PHY_EXT_CQIHARQSIMULSIMUL_STAT_INFO
+˵Ã÷£ºÉÏÐÐͳ¼ÆCQIÐÅÏ¢
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+
+ UINT32 dwUlaCqiAndHarqCnt; /* PUCCH CQIºÍACKÒ»Æð·´À¡µÄͳ¼Æ£¬¹Ì¶¨Ñ¡ÔñFormat 2b£¬²é±íÑ¡Ôñ2¸öbit£ºb(1),b(0)½øÐд«Êä ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaCqiAndHarqBits00Cnt; /* Ñ¡Ôñb(1)=0 b(0)=0µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaCqiAndHarqBits01Cnt; /* Ñ¡Ôñb(1)=0 b(0)=1µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaCqiAndHarqBits10Cnt; /* Ñ¡Ôñb(1)=1 b(0)=0µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaCqiAndHarqBits11Cnt; /* Ñ¡Ôñb(1)=1 b(0)=1µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+
+ UINT32 dwUlaPeriodicCQICnt; /* ÖÜÆÚCQI·´À¡µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaAperiodicCQICnt; /* PUSCHÉÏ·´À¡·ÇÖÜÆÚCQIµÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaRiCnt; /* RI·´À¡µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPucchPeriodicCQICnt; /* PUCCH·´À¡ÖÜÆÚCQIµÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPuschPeriodicCQICnt; /* PUSCH·´À¡ÖÜÆÚCQIµÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+// UINT32 dwUlaPuschAperiodicCQICnt; * PUSCHÉÏ·´À¡·ÇÖÜÆÚCQIµÄͳ¼Æ,ÓëdwUlaAperiodicCQICntÒâÒåÒ»Ñù ×ܵÄÀÛ¼ÓÖµ */
+
+ /* ÒÔÏÂ7¸öCQIµÄͳ¼ÆÐÅÏ¢£¬¿ÉÒÔÓ뷲ಿ·Ö½øÐкϲ¢£¬¿ÉÒÔ¿¼Âǰ´×ÓÖ¡½øÐÐͳ¼Æ */
+ UINT32 adwUlaCqiVal[10]; /* CQIÖµ °´×ÓÖ¡·Ö±ðͳ¼Æ */
+ UINT32 adwUlaRiVal[10]; /* RIÖµ °´×ÓÖ¡·Ö±ðͳ¼Æ */
+ UINT32 adwUlaCqiFN[10]; /* ·´À¡CQIµÄÖ¡ºÅ */
+ UINT32 adwUlaCqiSFN[10]; /* ·´À¡CQIµÄ×ÓÖ¡ºÅ */
+
+ UINT16 awCqiReportPeriodFlag[10]; /* ÖÜÆÚCQI Flag */
+ UINT16 awSubFrameNum[10]; /* SIDÖеÄ×ÓÖ¡ºÅ */
+ UINT16 awFrameNum[10]; /* SIDÖеÄÖ¡ºÅ */
+ UINT32 dwUlMcs; //¶¦Àû¿ÉÓýӿÚUL MCS(ÉÏÐÐMCS)MCS Statistic Information,¿ÉÓÃͨ¹ýÐÒéµÃµ½QPSK\16QAM\64QAM
+ UINT32 dwCQI;
+ UINT32 dwPMI; /* PMI */
+ UINT32 dwRI; /* RI */
+ UINT32 dwWbCode0Cqi; /* Wideband Code0 CQI */
+ UINT32 dwWbCode1Cqi; /* Wideband Code1 CQI */
+ SINT32 sdwRank1Sinr; /* Rank1 SINR0 */
+ SINT32 sdwRank2Sinr0; /* Rank2 SINR0 */
+ SINT32 sdwRank2Sinr1; /* Rank2 SINR1 */
+ UINT32 dwTxDivFlag; /* Rank SINR ¼ÆËã¼õ3dbm±êÖ¾ */
+
+}T_zPHY_EUL_CqiHarqSimulStatisticsInfo;
+/*========================================================================
+LOG_TOOL_LTE_PHY_SRSTX_REPORT
+˵Ã÷£ºSRS ͳ¼Æ
+=========================================================================*/
+typedef struct
+{
+ UINT32 bUeSrsEnable; /* UE SRS Enable ÊÇ·ñUEÈ·¶¨·¢SRS*/
+ UINT32 bCellSrsEnable; /* Cell SRS Enable */
+ UINT32 dwStartRb; /* Start RB */
+ UINT32 dwRbNum; /* RBÊý */
+ UINT32 dwZcRoot; /* ZC Root */
+ UINT32 dwCyclicShift; /* Cyclic Shift */
+
+ UINT32 bToneOffsetEnable; /* Tone Offset Enable */
+}T_zPHY_SrsTx_Report;//µ±Ç°10¸ö×ÓÖ¡ÐÅÏ¢
+typedef struct
+{
+ UINT32 dwSFN; /* ʱ¼äÐÅÏ¢ */
+ UINT32 dwUlaSrsCnt; /* SRS·¢Ë͵Äͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 adwdwUlaSrsCommSFCnt[10]; /* ÆÕͨ×ÓÖ¡·¢ËÍSRSµÄͳ¼Æ °´×ÓÖ¡ÀÛ¼ÓÖµ */
+
+ /* ÒÔÏÂ4¸ö²ÎÊýĿǰûÓи³Öµ²Ù×÷£¬±¸Óà begin */
+ UINT32 dwUlaSrsForTddSpecSF1LastSymbCnt; /* TDDÌØÊâ×ÓÖ¡1ÖÐ×îºóÒ»¸ö·ûºÅ·¢SRSµÄͳ¼Æ£¬°üÀ¨×îºóÁ½¸ö·ûºÅ¶¼·¢µÄÇé¿ö ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaSrsForTddSpecSF1LastSecondSymbCnt; /* TDDÌØÊâ×ÓÖ¡1Öе¹ÊýµÚ¶þ¸ö·ûºÅ·¢SRSµÄͳ¼Æ£¬°üÀ¨×îºóÁ½¸ö·ûºÅ¶¼·¢µÄÇé¿ö ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaSrsForTddSpecSF6LastSymbCnt; /* TDDÌØÊâ×ÓÖ¡6ÖÐ×îºóÒ»¸ö·ûºÅ·¢SRSµÄͳ¼Æ£¬°üÀ¨×îºóÁ½¸ö·ûºÅ¶¼·¢µÄÇé¿ö ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaSrsForTddSpecSF6LastSecondSymbCnt; /* TDDÌØÊâ×ÓÖ¡6ÖÐ×îºóÒ»¸ö·ûºÅ·¢SRSµÄͳ¼Æ£¬°üÀ¨×îºóÁ½¸ö·ûºÅ¶¼·¢µÄÇé¿ö ×ܵÄÀÛ¼ÓÖµ */
+ /* ÒÔÉÏ4¸ö²ÎÊýĿǰûÓи³Öµ²Ù×÷£¬±¸Óà over */
+ T_zPHY_SrsTx_Report atSrsTx_Report[10];//µ±Ç°10¸ö×ÓÖ¡ÐÅÏ¢
+}T_zPHY_EUL_SrsStatisticsInfo;
+/*========================================================================
+LOG_TOOL_LTE_PHY_EXT_PRACH_STAT_INFO
+˵Ã÷£ºPrach ͳ¼ÆÐÅÏ¢
+=========================================================================*/
+typedef struct
+{
+ UINT16 wParchPremFrmNo; /* preamble Ö¡ºÅ£¬Â·²àÈí¼þÒýÈë */
+ UINT16 cParchPremSubFrmNo; /* preamble ×ÓÖ¡ºÅ£¬Â·²àÈí¼þÒýÈë(ÒÔ¼°´æÔÚ32λµÄ) */
+ UINT16 cParchPremIndex; /* preamble ID */
+ UINT16 cPrachConfigIndex; /* ÐÒéջָʾµ±Ç°PHY¿ÉÓõÄprach resource¡£ÓÃÓÚ×ÊÔ´Ñ¡ÔñÒÔ¼°»ñÈ¡preambleµ±Ç°ËùÓøñʽ(0,63) */
+ UINT16 cHighSpeedFlag; /* ±êÖ¾µ±Ç°Ð¡ÇøÀàÐÍ(1:¸ßËÙÐ¡Çø,0:·Ç¸ßËÙ) */
+ UINT16 wNcs; /* NCSË÷ÒýÖµ */
+ UINT16 cPrachFrqOffset; /* prach resourceÔÚOFDM·ûºÅÉÏÆµÓòµÄÆ«ÒÆÖµ */
+ UINT16 wRootSwquenceIndex; /* ZCÐòÁÐÁãÏà¹ØÇøÓòÂß¼¸ùÖ² */
+ UINT16 cNumberOfRAPreamble; /* Ëæ»ú½ÓÈëǰµ¼¸öÊý */
+ UINT16 cSizeOfRAPreamblesGroupA; /* Ëæ»ú½ÓÈëǰµ¼×éAµÄ¸öÊý */
+ UINT16 wMessageSizeGroupA; /* Ëæ»úǰµ¼×éAµÄÏûÏ¢³¤¶È */
+ UINT16 cMessagePowerOffetGroupB; /* ÓÃÓÚ½øÐÐǰµ¼Ñ¡Ôñ */
+ UINT16 cPowerRampingStep; /* ÉÏÐз¢ËÍpreamble¹¦Âʵ÷Õû²½³¤£¬ÓÃÓÚÖØ·¢preamble¹ý³ÌÖе÷Õû·¢É书ÂÊ */
+ UINT16 wPreambleTransMax; /* preamble×î´óÖØ´«´ÎÊý */
+ UINT16 cRAResponseWindowSize; /* ¼ì²âRARÐÅϢʱ¼ä´°³¤¶È */
+ UINT16 cMacContentionResolutionTimer; /* ¾ºÕùËæ»ú½ÓÈë¹ý³ÌÖмì²âmsg4ʱ¼ä´°¿Ú´óС */
+ UINT16 cMaxHQRQMsg3Tx; /* ¾ºÕù½â¾ö¹ý³ÌÖз¢ËÍmsg3ʱ£¬µ÷ÓÃHARQ¹ý³Ì×î´óÖØ´«´ÎÊý */
+ UINT16 wpading; /*ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
+ UINT16 awMsg1TxSysFrameNum[10]; /* Preamble·¢ËÍÖ¡ºÅµÄͳ¼Æ */
+ UINT16 awMsg1TxSubFrameNum[10]; /* Preamble·¢ËÍ×ÓÖ¡ºÅµÄͳ¼Æ */
+
+ UINT32 adwMsg1TxCnt[10]; /* Preamble·¢ËÍ´ÎÊýµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT16 awMsg1TxFreqPos[10]; /* PreambleµÄƵÓòλÖÃnPRBµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT16 acMsg1TxPreambleID[10]; /* Preamble IDµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ //SINT16 ascMsg1TxPower[10]; /* Preamble·¢Ë͹¦ÂʵÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ //UINT32 adwMsg1TxNumCnt[10]; /* Preamble·¢ËÍÊýµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwMsg2RxMatchNumCnt[10]; /* RAR PIDÆ¥ÅäµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwMsg2RxNotMatchNumCnt[10]; /* RAR PID²»Æ¥ÅäµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwMsg3TxNumCnt[10]; /* Msg3·¢ËÍÊýÄ¿µÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwMsg3TxAckNumCnt[10]; /* Msg3·¢ËÍÕýÈ·µÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwMsg3TxNackNumCnt[10]; /* Msg3·¢ËÍ´íÎóµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwMsg4RxNumCnt[10]; /* Msg4½ÓÊÕµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwMsg4RxAckNumCnt[10]; /* Msg4½ÓÊÕÕýÈ·µÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+}T_zPHY_EUL_PrachStatisticsInfo;
+/*========================================================================
+LOG_TOOL_LTE_PHY_EXT_PRACH_STAT_INFO
+˵Ã÷£ºHARQ ÖØ´«Í³¼ÆÐÅÏ¢£¬¿ÉÒÔ½«Â·²àÖеÄÏà¹Ø²¿·ÖºÏ²¢µ½ÏÂÃæµÄ½á¹¹ÌåÖÐ
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT32 dwNewTransCnt; /* д«Í³¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwAdaptTransCnt; /* ×ÔÊÊÓ¦ÖØ´«Í³¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwNonAdaptTransCnt; /* ·Ç×ÔÊÊÓ¦ÖØ´«Í³¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwNoTransCnt; /* ²»´«Êäͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+ UINT32 dwHarqTransCnt; /* ÖØ´«´ÎÊýµÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwHarq0TransCnt; /* HARQ ID=0µÄ´«Êä´ÎÊýͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwHarq1TransCnt; /* HARQ ID=1µÄ´«Êä´ÎÊýͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwHarq2TransCnt; /* HARQ ID=2µÄ´«Êä´ÎÊýͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwHarq3TransCnt; /* HARQ ID=3µÄ´«Êä´ÎÊýͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+ UINT32 dwHarqRv0Cnt; /* RV=0µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwHarqRv1Cnt; /* RV=1µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwHarqRv2Cnt; /* RV=2µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwHarqRv3Cnt; /* RV=3µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+ UINT32 dwCurHarqId; /* µ±Ç°HARQ ID */
+
+ UINT32 dwHarqMaxReTxLimit; /* ÉÏÐÐÖØ´«×î´óÏÞÖÆ´ÎÊý£¬Â·²àÈí¼þÒýÈë */
+
+ /* ÉÏÐгõ´«¡¢ÖØ´«ÐÅÏ¢£¬ÓÃÓÚͳ¼Æ³õ´«¡¢ÖØ´«µÄBlerÐÅÏ¢ */
+ UINT32 dwUlHarqInitAck; /* ÉÏÐгõ´«ACKͳ¼ÆÐÅÏ¢ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwUlHarqInitNack; /* ÉÏÐгõ´«NACKͳ¼ÆÐÅÏ¢ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwUlHarqReTxAck; /* ÉÏÐÐÖØ´«ACKͳ¼ÆÐÅÏ¢ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwUlHarqReTxNack; /* ÉÏÐÐÖØ´«NACKͳ¼ÆÐÅÏ¢ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+
+ /*ÉÏÐеÚÒ»´Î¡¢µÚ¶þ´Î¡¢µÚÈý´Î¡¢µÚËÄ´ÎÒÔ¼°ÆäËûÖØ´«³É¹¦´ÎÊý*/
+ UINT32 dwUlHarq1stSuccNum; /* µÚÒ»´ÎÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwUlHarq2ndSuccNum; /* µÚ¶þ´ÎÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwUlHarq3rdSuccNum; /* µÚÈý´ÎÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwUlHarq4thSuccNum; /* µÚËÄ´ÎÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwUlHarqOtherSuccNum; /* ÆäËûÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+
+ /*ÉÏÐÐÄ£¿é¸÷Harq ID ACK¡¢NACKÊý*/
+ UINT32 adwUlHarqIdAck[8]; /* ÉÏÐÐ8¸öHARQ ACKͳ¼ÆÐÅÏ¢£¬¸÷¸öID×ܵÄÀÛ¼ÓÖµ£¬Â·²àµÈÒýÈë */
+ UINT32 adwUlHarqIdNack[8]; /* ÉÏÐÐ8¸öHARQ NACKͳ¼ÆÐÅÏ¢£¬¸÷¸öID×ܵÄÀÛ¼ÓÖµ£¬Â·²àµÈÒýÈë */
+}T_zPHY_EUL_HarqTransStatisticsInfo;
+/*========================================================================
+LOG_TOOL_LTE_PHY_EXT_DCI0_INFO
+˵Ã÷£º DCI0 Ïà¹ØÐÅÏ¢ 10¸ö¿Õ¼ä£¬°´¸÷×ÓÖ¡·Ö±ðͳ¼Æ
+=========================================================================*/
+typedef struct
+{
+
+ UINT16 cHoppingFlag; /* DCI0ÖеÄÌøÆµflag */
+ UINT16 wBlockAssignment; /* DCI0ÖеÄRB·ÖÅä */
+ UINT16 cMCS; /* DCI0ÖеÄMCS */
+ UINT16 cNewDataFlag; /* DCI0ÖеÄNDI */
+ UINT16 cTpcCommand; /* DCI0ÖеÄTPCÃüÁî */
+ UINT16 cDMRSCyclicShift; /* DCI0ÖÐÓÃÓÚDMRSµÄÑ»·ÒÆÎ» */
+ UINT16 cUlIndex; /* DCI0ÖеÄUL IndexλÓÃÓÚ×ÓÖ¡ÅäÖÃ0 */
+ UINT16 cDAI; /* DCI0ÖеÄÏÂÐзÖÅäָʾ */
+ UINT16 cCqiRequest; /* DCI0ÖеÄCQIָʾλ */
+ UINT16 cRbStart; /* DCI0ÖеÄRIVָʾµÄRBÆðʼλÖà */
+ UINT16 cLcrbs; /* DCI0ÖеÄRIVָʾµÄRBÊý */
+ UINT16 wpading; /*ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
+}T_zPHY_Dci0Info;
+typedef struct
+{
+ T_zPHY_Dci0Info atDci0Info[ZPHY_DEBUG_TMT_SIZE];
+}T_zPHY_EUL_Dci0Info;
+/*========================================================================
+LOG_TOOL_LTE_PHY_EXT_DCI3OR3A_INFO
+˵Ã÷£º TPCÐÅÏ¢
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT16 cPuschDCI3or3aTpcIdx; /* ¼ÓÈÅ·½Ê½ÎªTPC-PUSCH-RNTIµÄDCI3/3AÖлñµÃµÄTPC Command */
+ UINT16 cPucchDCI3or3aTpcIdx; /* ¼ÓÈÅ·½Ê½ÎªTPC-PUCCH-RNTIµÄDCI3/3AÖлñµÃµÄTPC Command */
+}T_zPHY_EUL_DCI3Or3AInfo;
+/*========================================================================
+LOG_TOOL_LTE_PHY_EXT_ULPOWERCTRL_INFO
+˵Ã÷£º ÉÏÐй¦ÂÊÐÅÏ¢£¬¸÷¸ö×ÓÖ¡µÄµ±Ç°¹¦ÂÊÖµµÄʵʱֵ
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwSFN;
+ SINT16 aswPucchGi[ZPHY_DEBUG_TMT_SIZE]; /* ·¢ËÍPUCCH±Õ»·¹¦¿Ø²ÎÊýGi£¬ÓÉ·²àÈí¼þÒýÈë */
+ SINT16 aswPucchPower[ZPHY_DEBUG_TMT_SIZE]; /* PUCCHµÄ·¢Ë͹¦ÂÊͳ¼Æ */
+ SINT16 aswPuschPower[ZPHY_DEBUG_TMT_SIZE]; /* PUSCHµÄ·¢Ë͹¦ÂÊͳ¼Æ */
+ SINT16 aswSrsPower[ZPHY_DEBUG_TMT_SIZE]; /* SRSµÄ·¢Ë͹¦ÂÊͳ¼Æ */
+ SINT16 aswPrachPower[ZPHY_DEBUG_TMT_SIZE]; /* PRACHµÄ·¢Ë͹¦ÂÊͳ¼Æ */
+ UINT16 acPuschPowerHeadroom[ZPHY_DEBUG_TMT_SIZE]; /* PUSCHµÄ·¢Ë͹¦ÂÊÊ£ÓàÁ¿PHR */
+}T_zPHY_EUL_PowerCtrlInfo;
+/*========================================================================
+LOG_TOOL_LTE_PHY_DFE_DEBUG_INFO
+˵Ã÷£º ÊÕ¼¯DFEÖØÒªÈ«¾Ö±äÁ¿£¬ÓÃÓÚTMT¹¤¾ßʵʱ²éѯ,add by zhoupeng 2011.03.14
+=========================================================================*/
+typedef struct
+{
+ UINT16 cRxAntennaMode; /* ½ÓÊÕÌìÏßģʽ ĬÈÏֵΪµ¥ÌìÏßģʽ */
+ UINT16 cSyncMode; /* ͬ²½Ä£Ê½ */
+ UINT16 cLNAMode0;
+ UINT16 cLNAMode1; /* LNA±í¸ñģʽ */
+
+ UINT16 wAgcdBGain0;
+ UINT16 wAgcdBGain1; /* AGCÔöÒæÖµ dB <8,7,u> */
+
+ UINT16 wRxLinDagc0;
+ UINT16 wRxLinDagc1; /* RX· DAGCÔöÒæÖµ ÏßÐÔÖµ <12,8,u> */
+
+ UINT16 wCsrmLinDagc0;
+ UINT16 wCsrmLinDagc1; /* CSRM· DAGCÔöÒæÖµ ÏßÐÔÖµ <12,8,u> */
+
+ UINT16 wCsrsLinDagc0;
+ UINT16 wCsrsLinDagc1; /* CSRS· DAGCÔöÒæÖµ ÏßÐÔÖµ <12,8,u> */
+
+ struct
+ {
+ UINT16 wAgcGainMaxFlag; /* ÔöÒæÆ½ºâ²¹³¥Ö¸Ê¾ */
+ UINT16 wMaxdBVulue; //Á½Â·ÌìÏ߽ϴóÔöÒæÖµ,<8,8,u>
+ SINT16 swAgcFactorLog2; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<16,7,t> log2Öµ*/
+ UINT16 wAgcFactor; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<10,0,u> */
+ } tRxAgcBalance; /* Rx·ÔöÒæÆ½ºâָʾºÍÔöÒæÒò×Ó */
+
+ struct
+ {
+ UINT16 wAgcGainMaxFlag; /* ÔöÒæÆ½ºâ²¹³¥Ö¸Ê¾ */
+ UINT16 wMaxdBVulue; //Á½Â·ÌìÏ߽ϴóÔöÒæÖµ,<8,8,u>
+ SINT16 swAgcFactorLog2; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<16,7,t> log2Öµ*/
+ UINT16 wAgcFactor; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<10,0,u> */
+ } tCsrsAgcBalance; /* Csrs·ÔöÒæÆ½ºâָʾºÍÔöÒæÒò×Ó */
+
+ struct
+ {
+ UINT16 wAgcGainMaxFlag; /* ÔöÒæÆ½ºâ²¹³¥Ö¸Ê¾ */
+ UINT16 wMaxdBVulue; //Á½Â·ÌìÏ߽ϴóÔöÒæÖµ,<8,8,u>
+ SINT16 swAgcFactorLog2; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<16,7,t> log2Öµ*/
+ UINT16 wAgcFactor; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<10,0,u> */
+ } tCsrmAgcBalance; /* Csrm·ÔöÒæÆ½ºâָʾºÍÔöÒæÒò×Ó */
+
+ /* ±£´æCSRM10¸ö×ÓÖ¡µÄ×ÜÔöÒæÖµ <14,6,u> */
+ struct
+ {
+ UINT16 wTotalAgcGain0Log2; /* ÌìÏß0µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
+ UINT16 wTotalAgcGain1Log2; /* ÌìÏß1µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
+ } awCsrmTotalAgcGainLog2[ZPHY_SUBFRAMES_PER_FRAME];
+
+ /* ±£´æRX10¸ö×ÓÖ¡µÄ×ÜÔöÒæÖµ <14,6,u> */
+ struct
+ {
+ UINT16 wTotalAgcGain0Log2; /* ÌìÏß0µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
+ UINT16 wTotalAgcGain1Log2; /* ÌìÏß1µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
+ } awRxTotalAgcGainLog2[ZPHY_SUBFRAMES_PER_FRAME];
+
+ /* ¿ìËÙAGCÈí¼þ¼ÆËãʱ£¬10msƽ¾ù¹¦ÂÊÊý×é */
+ SINT16 aswNotSyncAgcMeanPwr0[70];
+ SINT16 aswNotSyncAgcMeanPwr1[70];
+ /* ¿ìËÙAGCÈí¼þ¼ÆËãʱ£¬¼Ç¼ƽ¾ù¹¦ÂÊ×î´óÖµ */
+ SINT16 swMaxAGCMeanPwr0;
+ SINT16 swMaxAGCMeanPwr1;
+ /* ¿ìËÙAGCÈí¼þ¼ÆËãÍê³É±êÖ¾ */
+ UINT16 wNotSyncAGCDone;
+ /* É䯵´ò¿ªÒ»Ö¡ºó±êÖ¾ */
+ UINT16 wNotSyncAGCBegin;
+ //ΪʵÏÖË«ÌìÏß·Çͬ²½AGCµ÷Õû£¬Ôö¼ÓÏà¹ØÈ«¾Ö±äÁ¿,add by zhoupeng 2010.11.6
+ UINT16 wNotSyncAGCDoneAnt0;//ÌìÏß0 AGCÊÕÁ²±êÖ¾
+ UINT16 wNotSyncAGCDoneAnt1;//ÌìÏß1 AGCÊÕÁ²±êÖ¾
+ union
+ {
+ struct
+ {
+ UINT32 RXBandwidth :3; /* Bit[0-2] TX·´ø¿í */
+ UINT32 CPMode :1; /* Bit[3] CPģʽ */
+ UINT32 Reserved :28; /* Bit[4-31] */
+ } tBit;
+
+ UINT32 dwReg;
+ } tRXBandwidthCPMode;
+
+ UINT16 wRxBandwidth;
+ UINT16 cDAGCCalMode; /* DAGC ¼ÆËãģʽ */
+ UINT16 cAGCCalMode; /* AGC ¼ÆËãģʽ */
+ UINT16 wpading; /*4×Ö½Ú¶ÔÆë£¬ÎÞÒâÒå*/
+}T_zPHY_EDFE_SYSTEM_INFO;
+/*========================================================================
+LOG_TOOL_LTE_PHY_RFC_DEBUG_INFO
+˵Ã÷£º RFC ״̬Êý¾Ý¿â
+=========================================================================*/
+typedef struct
+{
+ UINT32 dwRfcSynState; /*RFCͬ²½»ò·Çͬ²½µÄָʾ ³õʼ»¯Îª·Çͬ²½*/
+ UINT32 dwRfcState; /*RFCÉÏ¡¢ÏÂÐÐָʾ(°üº¬ÔÚÌØÊâ×ÓÖ¡ÉÏÏÂÐÐͬʱ´æÔÚµÄÇé¿ö)£¬³õʼ»¯ÎªIDLE״̬*/
+ UINT16 bRfcServCellReceive; /*·þÎñÐ¡Çø»òÁÚÇø½ÓÊÕָʾ£¬Ê¹ÓÃʱ´ò¿ª£¬Ä¬ÈϹرÕ*/
+ UINT16 bRfcCsrCellSearch; /*Ð¡ÇøËÑË÷»òͬ²½Ö¸Ê¾£¬³õʼ»¯Îª¹Ø±Õ*/
+ UINT32 dwRfcCsrCellMeas; /*Ð¡Çø²âÁ¿Ö¸Ê¾»òɨƵָʾ£¬Èç¹ûÊÇɨƵÔòRFC_syn_stateÉèΪ·Çͬ²½£¬¿ÉÒÔÑ¡Ôñµ¥Ð¡Çø»¹ÊÇË«Ð¡Çø£¬³õʼ»¯¹Ø±Õ*/
+ UINT32 dwRfcFrequencePoint; /*ƵµãÉèÖà ³õʼ»¯Îª0 */
+ UINT32 dwRfcFilterBand; /*´ø¿íÉèÖà ³õʼ»¯Îª20MHz*/
+ UINT32 dwRfcAsynOffset; /*·Çͬ²½±íÖ´ÐÐÆðʼʱ¼ä£¬³õʼ»¯Îª0*/
+ UINT32 dwRfcRxOffsetAnt0; /*Ö÷ͬ²½±íµÄÖ¡±ß½ç£¨ÌìÏß0£©£¬³õʼ»¯Îª0*/
+ UINT32 dwRfcRxOffsetAnt1; /*RX1ͬ²½±íµÄÖ¡±ß½ç£¨ÌìÏß1£©£¬³õʼ»¯Îª0*/
+ UINT32 dwRfcRxOffset0; /*²âÁ¿±í0µÄÖ¡±ß½ç£¬³õʼ»¯Îª0*/
+ UINT32 dwRfcRxOffset1; /*²âÁ¿±í1µÄÖ¡±ß½ç,³õʼ»¯Îª0*/
+ UINT16 cRfcSubFrameNo; /*Ö÷ͬ²½±íµÄÖ¡±ß½ç½øÐдóµ÷ʱÐèÒªRFC×ÓÖ¡Ìø×ª£¬¸Ã²ÎÊýÖ¸Ã÷Ìø×ªµÄÄ¿µÄ×ÓÖ¡ºÅ ·¶Î§0-9 ³õʼֵ0xff */
+ UINT16 cRfcSubFrameNo0; /*²âÁ¿±í0µÄÖ¡±ß½ç½øÐдóµ÷ʱÐèÒªRFC×ÓÖ¡Ìø×ª£¬¸Ã²ÎÊýÖ¸Ã÷Ìø×ªµÄÄ¿µÄ×ÓÖ¡ºÅ ·¶Î§0-9 ³õʼֵ0xff*/
+ UINT16 cRfcSubFrameNo1; /*²âÁ¿±í1µÄÖ¡±ß½ç½øÐдóµ÷ʱÐèÒªRFC×ÓÖ¡Ìø×ª£¬¸Ã²ÎÊýÖ¸Ã÷Ìø×ªµÄÄ¿µÄ×ÓÖ¡ºÅ ·¶Î§0-9 ³õʼֵ0xff*/
+ UINT16 cRfcSubFrameNo2; /*tx±íµÄÂŽ±ß½ç½øÐдóµ÷ʱÐèÒªRFC×ÓÖ¡Ìø×ª£¬¸Ã²ÎÊýÖ¸Ã÷Ìø×ªµÄÄ¿µÄ×ÓÖ¡ºÅ ·¶Î§0-9 ³õʼֵ0xff*/
+ UINT32 dwRfcUDMode; /*Ö÷ͬ²½±íÉÏÏÂÐÐ×ÓÖ¡ÅäÖÃ,³õʼ»¯ÎªE_FRAME_UD_TYPE2*/
+ UINT32 dwRfcCPMode; /*Ö÷ͬ²½±íµÄcpģʽ ³õʼ»¯Îªnormal CP*/
+ UINT32 dwRfcCPMode0; /*²âÁ¿±í0µÄcpģʽ ³õʼ»¯Îªnormal CP*/
+ UINT32 dwRfcCPMode1; /*²âÁ¿±í1µÄcpģʽ ³õʼ»¯Îªnormal CP*/
+ UINT16 cRfcMeasSymStart0; /*²âÁ¿±í0È¥CPÓÐЧ·ûºÅ¿ªÊ¼Êý ³õʼ»¯Îª0*/
+ UINT16 cRfcMeasSymStart1; /*²âÁ¿±í1È¥CPÓÐЧ·ûºÅ¿ªÊ¼Êý ³õʼ»¯Îª0*/
+ UINT32 dwRfcSpecSubFrameMode; /*ÌØÊâ×ÓÖ¡GPģʽ ³õʼ»¯ÎªE_SPEC_SUB_FRAME_TYPE1*/
+ UINT32 dwRfcFreqOffset; /*Ƶƫֵ£¬ÓÃÓÚµ÷ÕûRF¾§Õñ ³õʼ»¯Îª0*/
+ SINT32 sdwRfcTxOffset; /*ÉÏÐж¨Ê±Ìáǰ£¬³õʼ»¯Îª0*/
+ UINT32 dwRfcRxOffsetAnt0ForTx; /*TX±íµÄÏÂÐÐÖ¡±ß½ç£¨ÌìÏß0£©³õʼ»¯Îª0*/
+ UINT32 dwRfcRxOffsetAnt1ForTx; /*TX±íµÄÏÂÐÐÖ¡±ß½ç£¨ÌìÏß1£©³õʼ»¯Îª0*/
+ UINT32 dwRfcTxAntIndex; /*ÉÏÐз¢ËÍÌìÏßÑ¡Ôñ£¬ÌìÏß0ºÍ1£¬³õʼ»¯ÎªÌìÏß0*/
+ UINT32 dwRfcTxAntIndexForSRS; /*ÉÏÐз¢ËÍÌìÏßÑ¡Ôñ(×îºóÒ»¸ö·ûºÅSRS)£¬ÌìÏß0ºÍ1£¬Ä¬ÈϸòÎÊýδÐÞ¸Ä*/
+ UINT32 dwRfcPowerCloseMode; /*ÎåÖÖËæ»ú½ÓÈ빦ÂʹرÕʱ¼äµã ³õʼ»¯ÎªE_POWER_CLOSE_NOT_USED*/
+ SINT16 swRfcFirstSymbPower; /*ÉÏÐеÚÒ»¸ö·ûºÅ·¢Ë͵ŦÂÊ,³õʼ»¯Îª0x0fff */
+ SINT16 swRfcLastSymbPower; /*ÉÏÐеÚ×îºó¸ö·ûºÅ·¢Ë͵ŦÂÊ ³õʼ»¯Îª0x0fff*/
+ SINT16 swRfcSpecialPrachPower; /*ÌØÊâ×ÓÖ¡PRACH¹¦ÂÊÖµ,³õʼ»¯Îª0x0fff */
+ UINT16 wpading; /*ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
+ UINT32 dwApcFirstSymbChanType;/*¹¦ÂÊ¿ØÖƵÚÒ»¸ö·ûºÅÐŵÀÀàÐÍ£¬×îºóÒ»¸ö·ûºÅÒ»¶¨ÎªSRS£¬ËùÒÔTX²»ÓøæÖªRFC*/
+ SINT32 swFreqOffset;
+} T_ZPHY_ERFC_INFO;
+/*========================================================================
+LOG_TOOL_LTE_PHY_ECSR_DEBUGMIB_INFO
+
+=========================================================================*/
+typedef struct
+{
+ UINT16 wCellBand; /* ÏÂÐдø¿í*/
+ UINT16 wPhichConfig; /* PHICH²ÎÊý*/
+}T_zPHY_ECSR_DebugMibInfo; /* ¸ÃMIBÐÅÏ¢ÓëÉÏÃæÂ·²âµÄ¸ñʽÉÏÓÐЩ²»Ò»Ñù */
+
+typedef struct
+{
+ WORD wStartPhyCellId;
+ WORD wPhyCellIdNum;
+} T_zPHY_DebugPhyCellIdRange;
+
+typedef struct
+{
+ WORD wEarfcn;
+ UINT16 bMeasBandWidth;
+ UINT16 bCellNum;
+ WORD awPhyCellIdList[32];
+ UINT16 bPadding;
+ UINT16 bPresenceAntennaPort1;
+ UINT16 bNCellConfig;
+ UINT16 bBlackCellNum;
+ T_zPHY_DebugPhyCellIdRange atPhyCellIdRangeList[32];
+ WORD wNoDrxReportPeriod;
+ WORD wDrxReportPeriod;
+} T_zPHY_DebugMeasFreqInfo;
+
+typedef struct
+{
+ UINT16 bMsgId;
+ UINT16 bReportQuantity;
+ UINT16 bMaxCellReportPerFreq;
+ UINT16 bFreqNum;
+ T_zPHY_DebugMeasFreqInfo atMeasFreqInfoList[4];
+}T_zPHY_ECSR_MeasConfigInfo;
+
+typedef struct
+{
+ UINT16 bMsgId;
+ UINT16 bPadding;
+ WORD wMeasBitMask;
+ WORD wPading1;
+}T_zPHY_ECSR_MeasMaskSetInfo;
+
+
+typedef struct
+{
+ UINT32 Ts :12;
+ UINT32 Symbol :3;
+ UINT32 Slot :5;
+ UINT32 Frame :10;
+ UINT32 Resv :2;
+}T_zPHY_DebugSeg4Time;
+
+typedef struct
+{
+ UINT32 Ts :14;
+ UINT32 Slot :5;
+ UINT32 Frame :10;
+ UINT32 Resv :3;
+}T_zPHY_DebugSeg3Time;
+
+typedef union
+{
+ UINT32 dwReg;
+ T_zPHY_DebugSeg4Time tSeg4;
+ T_zPHY_DebugSeg3Time tSeg3;
+}T_zPHY_DebugTime;
+
+typedef struct
+{
+ UINT32 dwMeasState :8; /*Ð¡Çø²âÁ¿×´Ì¬*/
+ UINT32 dwSearchState :8; /*Ð¡ÇøËÑË÷״̬*/
+ UINT32 dwReserve :16;
+}T_zPHY_ECSR_DebugCsrCellState;
+
+typedef struct
+{
+ T_zPHY_DebugTime tCellFrameBoundry; /*Ö¡±ß½çÐÅÏ¢£¬Ê±¼ä*/
+
+}T_zPHY_ECSR_DebugCsrFrameBoundryInfo;
+
+typedef struct
+{
+ UINT16 wCellBchMimo; /*BCH½âÂëµÄÌìÏßģʽ£»¶ÔÓÚä¼ì²â£¬ÓÃÓÚBCHÈí¼þ´æ·Åä¼ì²âµÃµ½½á¹û£»¹éÓÚ·Çä¼ì²â£¬ÓÉCTRLÌîд*/
+ UINT16 wCellBchCrcReslut; /*BCH½âÂëµÄCRC½á¹û*/
+ UINT16 wCellBchMark; /*BCH½âÂë±êʾ£¬ÓÃÓÚ±êʾµ±Ç°Ð¡ÇøÊÇ·ñÒѾÓÐBCH½á¹û£¬ÊÇ·ñÐèÒª×öBCH½âÂ룬bchÈí¼þ²éѯÓÃ*/
+ UINT16 wCellBchPhich; /*BCH½âÂëµÃµ½µÄPHICH½á¹û*/
+ UINT16 wCellBchBand ;
+ UINT16 wPading; /*ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
+ T_zPHY_DebugTime tCellBchSfnOffset; /*BCH½âÂëµÃµ½µÄÖ¡±ß½ç*/
+}T_zPHY_ECSR_DebugCsrBchInfo; /*ËùÓеÄBCHÏà¹ØÐÅÏ¢*/
+
+typedef struct
+{
+
+ UINT32 CsrDDMode;
+ UINT32 tCsrCPMode;
+ T_zPHY_ECSR_DebugCsrFrameBoundryInfo tCsrFrameBoundryInfo;
+ UINT16 wCsrFingerValue; /*SSCH¼ì²âµÃµ½µÄ·åÖµ(¹éÒ»»¯ºó),ÓÃÓںϲ¢Ð¡ÇøµÄÒÀ¾Ý---Added by gaozhuhong 0913*/
+ UINT16 wPading; /*ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
+}T_zPHY_ECSR_DebugCsrSearchInfo;
+
+typedef struct
+{
+ SINT16 swCellMeasRSRP; /*²âÁ¿µÃµ½µÄRSRPÖµ£¬ÓɲâÁ¿Ä£¿éÌîд£¬CTRL¶ÁÈ¡*/
+ SINT16 swCellMeasRSRQ; /*²âÁ¿µÃµ½µÄRSRQÖµ£¬ÓɲâÁ¿Ä£¿éÌîд£¬CTRL¶ÁÈ¡*/
+ UINT16 wCellMeasBand; /*²âÁ¿´ø¿í£¬ÓÉCTRLÄ£¿éÔÚÊÕµ½²âÁ¿ÅäÖÃʱÐ޸쬲âÁ¿Ä£¿é¶ÁÈ¡*/
+ UINT16 wCellMeasMinBand; /*CTRLÄ£¿é¸ù¾Ý34.101¸ø¶¨µÄƵ¶ÎºÍ×îС´ø¿í¶ÔÓ¦±íÖÐÕÒµ½£¬»ò¸ù¾ÝÔËÓªÉ̵ıíÖÐÕÒµ½£¬²âÁ¿Ä£¿é¶ÁÈ¡*/
+ UINT16 wCellMeasTimes; /*CTRL Ä£¿éÅäÖõĵ±Ç°Ð¡ÇøµÄ²âÁ¿´ÎÊý£¬²âÁ¿Ä£¿é¶ÁÈ¡*/
+ UINT16 wCellMeasAntPort; /*²âÁ¿ÌìÏߣ¬ÓÉCTRLÄ£¿éÔÚÊÕµ½²âÁ¿ÅäÖÃʱÐ޸쬲âÁ¿Ä£¿é¶ÁÈ¡*/
+ UINT16 wCellMeasReportQuan; /*0,Ö»²ârsrp£¬1£¬RSRPºÍRSRQÒ»Æð²à*/
+ UINT16 bNCellConfig; /*Óë·þÎñÐ¡ÇøÉÏÏÂÐÐÅä±ÈÊÇ·ñÒ»Öµıêʾ£¬ÓÉCTRLÄ£¿éÔÚÊÕµ½²âÁ¿ÅäÖÃʱÐ޸쬲âÁ¿Ä£¿é¶ÁÈ¡*/
+
+}T_zPHY_ECSR_DebugCsrMeasInfo; /*CSRËùÒԵIJÎÊýÅäÖúͽá¹û*/
+
+typedef struct
+{
+ UINT32 mSearchPriority :8;
+ UINT32 mMeasPriority :8;
+ UINT32 mBlacklistPriority :8;
+ UINT32 mCellValidPriority :8;
+}T_zPHY_ECSR_DebugCsrPriority;
+
+typedef union
+{
+ UINT32 dwPrio;
+ T_zPHY_ECSR_DebugCsrPriority tPrio;
+}U_zPHY_ECSR_DebugCsrPriority;
+
+typedef struct
+{
+
+ UINT16 wCellFrameBoundryAge; /*Ö¡±ß½çÀÏ»¯Öµ*/
+ UINT16 wCellMeasAge; /*µ±Ç°²âÁ¿ÏîµÄÀÏ»¯Öµ£¬ÓÉCTRLÄ£¿é¶¨ÆÚ¸üУ¬²âÁ¿Ä£¿é¶ÁÈ¡*/
+ UINT16 wCellBchAge ; /*BCHÐŵÀ½âÂëµÄÀÏ»¯Öµ*/
+ UINT16 wpading; /*ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
+
+}T_zPHY_ECSR_DebugCsrAgeInfo;
+
+typedef struct
+{
+ UINT16 wEarfcn;
+ UINT16 wCellId;
+ T_zPHY_ECSR_DebugCsrAgeInfo tCsrAgeInfo;
+ U_zPHY_ECSR_DebugCsrPriority tCsrPriotity;
+ T_zPHY_ECSR_DebugCsrMeasInfo tCsrMeasInfo;
+ T_zPHY_ECSR_DebugCsrSearchInfo tCsrSearchInfo;
+ T_zPHY_ECSR_DebugCsrBchInfo tCsrBchInfo ;
+ T_zPHY_ECSR_DebugCsrCellState tCellState;
+}T_zPHY_ECSR_DebugCsrCellInfo;
+typedef struct
+{
+ UINT16 wAgcGain0;
+ UINT16 wAgcGain1;
+ SINT32 sdwAfc;
+ UINT16 wEarcfn;
+ UINT16 wFreq;
+}T_zPHY_ECSR_DebugFreqPointInfor;
+
+typedef struct
+{
+ UINT16 wServingCellFreq; /*·þÎñÐ¡ÇøÆµµã*/
+ UINT16 wNextInterFreq; /*ϸöGapµÄÒìÆµ¹¤×÷Ƶµã*/
+ UINT16 wServingCellID; /*·þÎñÐ¡ÇøÐ¡ÇøID*/
+ UINT16 wpading; /*ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
+ T_zPHY_ECSR_DebugFreqPointInfor atFreqPointInforTab[4];
+ UINT32 tCsrMainState; /*CSR×Óϵͳµ±Ç°×´Ì¬*/
+ T_zPHY_ECSR_DebugCsrCellInfo tCsrCellInfo[16]; /*±ÜÃâ½á¹¹Ìå¹ý´ó£¬½«64Ð¡ÇøËõ¼õµ½16*/
+}T_zPHY_ECSR_CellDataBaseInfo;
+
+typedef struct
+{
+ UINT32 dwSFN;
+ UINT32 dwUeAntNum;
+ UINT32 dwBsAntNum;
+ UINT32 dwDlBandWidth;
+ UINT32 dwTransMode;
+ UINT32 dwRxTxBitmap;
+ SINT64 sdwNoiseOutput;
+
+ SINT64 sdwRsrpOutput0;
+ SINT64 sdwRsrpOutput1;
+ SINT64 sdwRsrpOutput2;
+ SINT64 sdwRsrpOutput3;
+ SINT64 sdwRsrpOutput4;
+ SINT64 sdwRsrpOutput5;
+ SINT64 sdwRsrpOutput6;
+ SINT64 sdwRsrpOutput7;
+
+ SINT64 sdwRspOutput0;
+ SINT64 sdwRspOutput1;
+ SINT64 sdwRspOutput2;
+ SINT64 sdwRspOutput3;
+}T_zPHY_EDL_CALC_For_SINR;
+
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+
+ /* ÏÂÐÐÁ÷Á¿ */
+ UINT32 dwDlTB1Flow;
+ UINT32 dwDlTB2Flow;
+
+ /* ÉÏÐÐÁ÷Á¿ */
+ UINT32 dwUlFlow;
+ UINT32 dwUlRbNum; //¶¦Àû¿ÉÓÃ½Ó¿Ú PUSCH Rb Count(ÉÏÐÐRBÊý). Resource Schedule Information
+ UINT32 dwDlRbNum; //¶¦Àû¿ÉÓÃ½Ó¿Ú PDSCH Rb Count(ÏÂÐÐRBÊý). Resource Schedule Information
+
+}T_zPHY_ULDL_Flow_Info;
+
+typedef struct
+{
+ UINT32 dwRaRnti;
+ UINT32 dwTCRnti;
+ UINT32 dwDrxStatus;
+}T_zPHY_EUE_Info;
+
+typedef struct
+{
+ UINT32 PreamSeqIdx;
+ UINT32 PhyRootIdx;
+ UINT32 CyclicShift;
+ SINT32 PreamTxPower;
+ UINT32 N_ra_Prb;
+ UINT32 PreamFormat;
+ UINT16 Duplex_Mode;
+ UINT16 f_ra;
+ UINT16 t_0_ra;
+ UINT16 t_1_ra;
+ UINT16 t_2_ra;
+ UINT16 Density;
+ //UINT16 Reserved;
+ UINT32 AccessTime;
+ UINT32 RARWinStrat;
+ UINT32 RARWinEnd;
+ UINT32 RA_RNTI;
+ UINT32 PreamActTxPower;
+}T_zPHY_EPRACH_Msg1Info;
+
+typedef struct
+{
+ UINT32 TPCValue;
+ UINT32 MCSValue;
+ UINT32 RIV;
+ UINT32 CQI;
+ UINT32 ULDelay;
+ UINT32 HoppingFlag;
+ UINT32 Msg3_SFN;
+ UINT32 Msg3_SubFrm;
+ UINT32 StartResBlock;
+ UINT32 TotalResBlockNum;
+ UINT32 TransBlockSizeIdx;
+ UINT32 ModulationType;
+ UINT32 RedundancyVersionIdx;
+ UINT32 HarqID;
+
+}T_zPHY_EPRACH_Msg3Info;
+
+typedef struct
+{
+ UINT32 Msg4_SFN;
+ UINT32 Msg4_SubFrm;
+ UINT32 Content_Result;
+ UINT16 Msg4_Ack_SFN;
+ UINT16 Msg4_Ack_SubFrm;
+
+}T_zPHY_EPRACH_Msg4Info;
+
+typedef struct
+{
+ UINT32 RARTime;
+ UINT32 TAValue;
+ UINT32 TAInclude;
+ UINT32 RACHType;
+ UINT32 RACHMode;
+ UINT32 RNTI_Type;
+ UINT32 RNTI_Value;
+
+}T_zPHY_EPRACH_Msg2Info;
+#endif
diff --git a/pub/include/tools/phy_ltea_log_if.h b/pub/include/tools/phy_ltea_log_if.h
new file mode 100644
index 0000000..c3e847c
--- /dev/null
+++ b/pub/include/tools/phy_ltea_log_if.h
@@ -0,0 +1,1364 @@
+
+#ifndef _PHY_LTEA_LOG_IF_H_
+#define _PHY_LTEA_LOG_IF_H_
+
+#define ZPHY_DEBUG_TMT_SIZE 10
+
+/**************************************************************************
+ * È«¾Ö±äÁ¿ÉùÃ÷ *
+ **************************************************************************/
+typedef struct
+{
+ UINT32 dwWorkEarfcn; /* ¹¤×÷Ƶµã */
+ UINT32 dwWorkCellId; /* ¹¤×÷Ð¡ÇøID */
+ UINT32 dwSysBw; /* ϵͳ´ø¿í */
+ UINT32 dwSubFrmType; /* ×ÓÖ¡Åä±È */
+ UINT32 dwSpecSubFrmType; /* ÌØÊâ×ÓÖ¡Åä±È */
+ UINT32 dwDlTransMode; /* ÏÂÐд«Êäģʽ */
+ UINT32 dwUlTransMode; /* ÉÏÐд«Êäģʽ */
+ UINT32 dwCrntiVal; /* CRNTI */
+ UINT32 dwRaRnti; /* RaRNTI */
+ UINT32 dwTCRnti; /* TCRNTI */
+ UINT32 dwDrxStatus; /* DrxStatus */
+}T_zPHY_UE_Info;
+
+
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+
+ /* ÏÂÐÐÁ÷Á¿ */
+ UINT32 dwDlTBFlow[2];
+
+ /* ÉÏÐÐÁ÷Á¿ */
+ UINT32 dwUlTBFlow[2];
+
+ UINT32 dwUlRbNum[2];
+ UINT32 dwDlRbNum[2];
+}T_zPHY_ULDL_Flow_Info;
+
+typedef struct
+{
+ UINT32 dwPowerA; /* À´×ÔDedicatedÏûÏ¢µÄÓÃÓÚPDSCH¹¦Âʲ¹³¥µÄ²ÎÊý */
+ UINT32 dwPowerB; /* À´×ÔCommonÏûÏ¢µÄÓÃÓÚPDSCH¹¦Âʲ¹³¥µÄ²ÎÊý */
+}T_ZPHY_EDL_PA_INFO;
+
+/* ÏÂÐÐDCIͳ¼ÆÐÅÏ¢ */
+typedef struct
+{
+ UINT32 dwSFN; /* ʱ¼äÐÅÏ¢ */
+ UINT32 dwResource; /* ×ÊÔ´·ÖÅä×Ö¶Î */
+ UINT32 adwRbBmp[8]; /* 1-bitµÄRB-demapping bitmap */
+ UINT32 dwRaType; /* RA ÀàÐÍ */
+ UINT32 dwRbNum; /* RBÊý */
+ UINT32 dwRbStart; /* RBÆäʵλÖà */
+ UINT32 dwRbLength; /* RB³¤¶È */
+ UINT32 dwHarqId; /* HARQ ID */
+ UINT32 dwTb1Mcs; /* TB1 MCSÖµ */
+ UINT32 dwTb2Mcs; /* TB2 MCSÖµ */
+ UINT32 dwTb1Ndi; /* TB1 NDI */
+ UINT32 dwTb2Ndi; /* TB2 NDI */
+ UINT32 dwTb1Rv; /* TB1 ÈßÓà°æ±¾ */
+ UINT32 dwTb2Rv; /* TB2 ÈßÓà°æ±¾ */
+ UINT32 dwDaiIdx; /* DAI Ë÷Òý */
+}T_ZPHY_EDL_DCI_DECODE;
+
+typedef struct
+{
+ T_ZPHY_EDL_DCI_DECODE atDlDciInfo[10]; /* ÏÂÐÐ10¸ö×ÓÖ¡µÄDCIͳ¼Æ */
+}T_ZPHY_EDL_DCI_INFO;
+
+
+/* ÏÂÐÐHARQÐÅϢͳ¼Æ */
+typedef struct
+{
+ UINT32 adwRevTb1RvNum[4]; /* TB1 ¸÷×Ôµ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwRevTb2RvNum[4]; /* TB2 ¸÷×Ôµ¥¶ÀÀÛ¼Óͳ¼Æ */
+
+ /*ÏÂÐÐÄ£¿é¸÷Harq ID ACK¡¢NACKÊý*/
+ UINT32 adwDlHarqIdAck[2][15]; /* 15¸öHARQ IDµÄACKÐÅÏ¢£¬¸÷ID×ܵÄÀÛ¼Ó */
+ UINT32 adwDlHarqIdNack[2][15]; /* 15¸öHARQ IDµÄNACKÐÅÏ¢£¬¸÷ID×ܵÄÀÛ¼Ó */
+
+ UINT32 adwDlHarqSuccNum[2][4]; /* TB1¡¢TB2ÖØ´«³É¹¦´ÎÊýͳ¼Æ£¬ ×ܵÄÀÛ¼ÓÖµ */
+}T_ZPHY_EDL_HARQ_INFO;
+
+/* PDSCH½âÂëͳ¼ÆÐÅÏ¢ */
+typedef struct
+{
+ /*Statistic Si-Rnti PDSCH Decode Info*/
+ UINT32 adwSiRntiCrcOkNum[10]; /* Si-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSiRntiCrcErrNum[10]; /* Si-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwSiRntiCrcOkSumNum; /* Si-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 dwSiRntiCrcErrSumNum; /* Si-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
+
+ /*Statistic P-Rnti PDSCH Decode Info*/
+ UINT32 adwPRntiCrcOkNum[10]; /* P-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwPRntiCrcErrNum[10]; /* P-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwPRntiCrcOkSumNum; /* P-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 dwPRntiCrcErrSumNum; /* P-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
+
+ /*Statistic Ra-Rnti PDSCH Decode Info*/
+ UINT32 adwRaRntiCrcOkNum[10]; /* Ra-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwRaRntiCrcErrNum[10]; /* Ra-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwRaRntiCrcOkSumNum; /* Ra-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 dwRaRntiCrcErrSumNum; /* Ra-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
+
+ /*Statistic Tc-Rnti PDSCH Decode Info*/
+ UINT32 adwTcRntiCrcOkNum[10]; /* Tc-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwTcRntiCrcErrNum[10]; /* Tc-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwTcRntiCrcOkSumNum; /* Tc-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 dwTcRntiCrcErrSumNum; /* Tc-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+
+ /*Statistic C-Rnti PDSCH Decode Info*/
+ UINT32 adwCRntiTbCrcOkNum[2][10]; /* TB1¡¢2 C-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiTbCrcErrNum[2][10]; /* TB1¡¢2 C-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiTbCrcOkSumNum[2]; /* TB1¡¢2 C-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiTbCrcErrSumNum[2]; /* TB1¡¢2 C-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
+
+ /*Statistic Sps-Rnti PDSCH Decode Info*/
+ UINT32 adwSpsRntiCrcOkNum[10]; /* Sps-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiCrcErrNum[10]; /* Sps-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiCrcOkSumNum; /* Sps-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 adwSpsRntiCrcErrSumNum; /* Sps-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+}T_ZPHY_EDL_PDSCH_INFO;
+
+/*PDCCHä¼ì²âͳ¼ÆÐÅÏ¢*/
+typedef struct
+{
+ /*Statistic Si-Rnti Dci Info*/
+ UINT32 adwSiRntiDci1ANum[10]; /* Si-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSiRntiDci1CNum[10]; /* Si-Rnti DCI_1C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwSiRntiDci1ASumNum; /* Si-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 dwSiRntiDci1CSumNum; /* Si-Rnti DCI_1C ×ܵÄÀÛ¼Ó */
+ UINT32 dwSiRntiDciSumNum; /* Si-Rnti Dci×ܵÄͳ¼Æ¸öÊý */
+
+ /*Statistic P-Rnti Dci Info*/
+ UINT32 adwPRntiDci1ANum[10]; /* P-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwPRntiDci1CNum[10]; /* P-Rnti DCI_1C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwPRntiDci1ASumNum; /* P-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 dwPRntiDci1CSumNum; /* P-Rnti DCI_1C ×ܵÄÀÛ¼Ó */
+ UINT32 dwPRntiDciSumNum; /* P-Rnti Dci×ܵÄͳ¼Æ¸öÊý */
+
+ /*Statistic Ra-Rnti Dci Info*/
+ UINT32 adwRaRntiDci1ANum[10]; /* Ra-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwRaRntiDci1CNum[10]; /* Ra-Rnti DCI_1C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwRaRntiDci1ASumNum; /* Ra-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 dwRaRntiDci1CSumNum; /* Ra-Rnti DCI_1C ×ܵÄÀÛ¼Ó */
+ UINT32 dwRaRntiDciSumNum; /* Ra-Rnti Dci×ܵÄͳ¼Æ¸öÊý */
+
+ /*Statistic Tc-Rnti Dci Info*/
+ UINT32 adwTcRntiDci1Num[10]; /* Tc-Rnti DCI_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwTcRntiDci1ANum[10]; /* Tc-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwTcRntiDci1SumNum; /* Tc-Rnti DCI_1 ×ܵÄÀÛ¼Ó */
+ UINT32 dwTcRntiDci1ASumNum; /* Tc-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 dwTcRntiDciSumNum; /* Tc-Rnti Dci×ܵÄͳ¼Æ¸öÊý */
+
+ /*Statistic Tpc-Rnti Dci Info*/
+ UINT32 adwTpcRntiDci3Num[10]; /* Tpc-Rnti DCI_3 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwTpcRntiDci3ANum[10]; /* Tpc-Rnti DCI_3A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwTpcRntiDci3SumNum; /* Tpc-Rnti DCI_3 ×ܵÄÀÛ¼Ó */
+ UINT32 adwTpcRntiDci3ASumNum; /* Tpc-Rnti DCI_3A ×ܵÄÀÛ¼Ó */
+ UINT32 adwPucchTpcDci33ASumNum;
+ UINT32 adwPuschTpcDci33ASumNum;
+
+ /*Statistic C-Rnti Dci Info*/
+ UINT32 adwCRntiDci01Num[10]; /* DCI0_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci02Num[10]; /* DCI0_2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci03Num[10]; /* DCI0_3 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci04Num[10]; /* DCI0_4 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci41Num[10]; /* DCI41 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci42Num[10]; /* DCI42 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci43Num[10]; /* DCI43 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci44Num[10]; /* DCI44 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci1Num[10]; /* C-Rnti DCI_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci1ANum[10]; /* C-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci1BNum[10]; /* C-Rnti DCI_1B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci1DNum[10]; /* C-Rnti DCI_1D °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci2Num[10]; /* C-Rnti DCI_2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci2ANum[10]; /* C-Rnti DCI_2A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci2BNum[10]; /* C-Rnti DCI_2B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci2CNum[10]; /* C-Rnti DCI_2C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci01SumNum; /* C-Rnti DCI_01 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci02SumNum; /* C-Rnti DCI_02 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci03SumNum; /* C-Rnti DCI_03 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci04SumNum; /* C-Rnti DCI_04 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci41SumNum; /* C-Rnti DCI_4 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci42SumNum; /* C-Rnti DCI_4 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci43SumNum; /* C-Rnti DCI_4 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci44SumNum; /* C-Rnti DCI_4 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci1SumNum; /* C-Rnti DCI_1 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci1ASumNum; /* C-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci1BSumNum; /* C-Rnti DCI_1B ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci1DSumNum; /* C-Rnti DCI_1D ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci2SumNum; /* C-Rnti DCI_2 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci2ASumNum; /* C-Rnti DCI_2A ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci2BSumNum; /* C-Rnti DCI_2B ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci2CSumNum; /* C-Rnti DCI_2C ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDciSumNum; /* C-Rnti Dci×ܵÄͳ¼Æ¸öÊý */
+
+ /*Statistic Sps-Rnti Dci Info*/
+ UINT32 adwSpsRntiDci1Num[10]; /* Sps-Rnti DCI_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci1ANum[10]; /* Sps-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2Num[10]; /* Sps-Rnti DCI_2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2ANum[10]; /* Sps-Rnti DCI_2A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2BNum[10]; /* Sps-Rnti DCI_2B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2CNum[10]; /* Sps-Rnti DCI_2B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci1SunNum; /* Sps-Rnti DCI_1 ×ܵÄÀÛ¼Ó */
+ UINT32 adwSpsRntiDci1ASunNum; /* Sps-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2SunNum; /* Sps-Rnti DCI_2 ×ܵÄÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2ASunNum; /* Sps-Rnti DCI_2A ×ܵÄÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2BSunNum; /* Sps-Rnti DCI_2B ×ܵÄÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2CSunNum; /* Sps-Rnti DCI_2B ×ܵÄÀÛ¼Ó */
+}T_ZPHY_EDL_PDCCH_INFO;
+
+/*PHICHͳ¼ÆÐÅÏ¢*/
+typedef struct
+{
+ UINT32 adwHiNg; /* Ng */
+ UINT32 adwHiDuration; /* PHICH Duration */
+ UINT32 adwPhichAckNum[4][10]; /* PHICH1¡¢2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwPhichNackNum[4][10]; /* PHICH1¡¢2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwPhichAckSumNum[4]; /* PHICH1¡¢2 °´×ܵÄÀÛ¼Óͳ¼Æ */
+ UINT32 adwPhichNackSumNum[4]; /* PHICH1¡¢2 °´×ܵÄÀÛ¼Óͳ¼Æ */
+ UINT32 adwPhich1Grp[10]; /* PHICH1µÄ×éºÅ */
+ UINT32 adwPhich1Seq[10]; /* PHICH1µÄÀ©ÆµÐòÁкŠ*/
+ UINT32 adwPhich2Grp[10]; /* PHICH2µÄ×éºÅ */
+ UINT32 adwPhich2Seq[10]; /* PHICH2µÄÀ©ÆµÐòÁкŠ*/
+ UINT32adwHiAckNum; /* Hi AckÊýĿͳ¼Æ */
+ UINT32adwHiNackNum; /* Hi NackÊýĿͳ¼Æ */
+}T_ZPHY_EDL_PHICH_INFO;
+
+/* PCFICHͳ¼ÆÐÅÏ¢ */
+typedef struct
+{
+ UINT32 dwCaCrossInd; /*¿çÔØ²¨µ÷¶Èָʾ*/
+ UINT32 adwCfiValTab[10]; /*Ñ»·Í³¼Æ10¸ö×ÓÖ¡µÄCFIÖµ*/
+ UINT32 adwCfiNumPerVal[4]; /*ͳ¼Æ²»Í¬CFIÖµµÄ¸öÊý*/
+ UINT32 adwCfiNumPerSF[4][10]; /*°´×Ó֡ͳ¼Æ²»Í¬CFIÖµµÄ¸öÊý*/
+ UINT32 dwSccPdschStart; /*¿çÔØ²¨µ÷¶ÈÇé¿öϵÄSCC CFI*/
+}T_ZPHY_EDL_PCFICH_INFO;
+
+
+/*Èí¼þ¹¤×÷״̬ÐÅϢͳ¼Æ*/
+typedef struct
+{
+ UINT32 dwAbsSFN; /*ʱ¼äÐÅÏ¢*/
+ UINT32 dwRntiAplySubfCnt[10];
+ UINT32 dwSiRntiApplyCnt; /* Èí¼þʹÄÜSIRNTIµÄ´ÎÊý */
+ UINT32 adwCRntiApplyCnt; /* Èí¼þʹÄÜCRNTIµÄ´ÎÊý */
+ UINT32 dwTcRntiApplyCnt; /* Èí¼þʹÄÜTCRNTIµÄ´ÎÊý */
+ UINT32 dwRaRntiApplyCnt; /* Èí¼þʹÄÜRARNTIµÄ´ÎÊý */
+ UINT32 dwPRntiApplyCnt; /* Èí¼þʹÄÜPRNTIµÄ´ÎÊý */
+ UINT32 dwMRntiApplyCnt; /* Èí¼þʹÄÜMRNTIµÄ´ÎÊý */
+ UINT32 adwPucchRntiApplyCnt; /* Èí¼þʹÄÜPucchRNTIµÄ´ÎÊý */
+ UINT32 adwPuschRntiApplyCnt; /* Èí¼þʹÄÜPuschRNTIµÄ´ÎÊý */
+ UINT32 adwSpsRntiApplyCnt; /* Èí¼þʹÄÜSPSRNTIµÄ´ÎÊý */
+ UINT32 adwDtchCfgCnt; /* Èí¼þDTCHÅäÖôÎÊý */
+ UINT32 adwDtchIntCnt; /* Èí¼þDTCHÖжÏÉϱ¨´ÎÊý */
+ UINT32 dwSibCfgCnt; /* Èí¼þSIBÅäÖôÎÊý */
+ UINT32 dwSibIntCnt; /* Èí¼þSIBÖжÏÉϱ¨´ÎÊý */
+ UINT32 dwPchCfgCnt; /* Èí¼þPCHÅäÖôÎÊý */
+ UINT32 dwPchIntCnt; /* Èí¼þPCHÖжÏÉϱ¨´ÎÊý */
+ UINT32 dwRarCfgCnt; /* Èí¼þRARÅäÖôÎÊý */
+ UINT32 dwRarIntCnt; /* Èí¼þRARÖжÏÉϱ¨´ÎÊý */
+ UINT32 dwMbmsCfgCnt; /* Èí¼þMBSFNÅäÖôÎÊý */
+ UINT32 dwMbmsIntCnt; /* Èí¼þMBSFNÖжÏÉϱ¨´ÎÊý */
+}T_ZPHY_EDL_WORK_INFO;
+
+
+typedef struct
+{
+ UINT32 dwSFN;
+ UINT32 dwUeAntNum;
+ UINT32 dwBsAntNum;
+ UINT32 dwDlBandWidth;
+ UINT32 dwTransMode;
+ UINT32 dwRxTxBitmap;
+ SINT64 sdwNoiseOutput;
+
+ SINT64 sdwRsrpOutput0;
+ SINT64 sdwRsrpOutput1;
+ SINT64 sdwRsrpOutput2;
+ SINT64 sdwRsrpOutput3;
+ SINT64 sdwRsrpOutput4;
+ SINT64 sdwRsrpOutput5;
+ SINT64 sdwRsrpOutput6;
+ SINT64 sdwRsrpOutput7;
+
+ SINT64 sdwRspOutput0;
+ SINT64 sdwRspOutput1;
+ SINT64 sdwRspOutput2;
+ SINT64 sdwRspOutput3;
+}T_zPHY_EDL_SINR_INFO;
+
+#if 0
+/*CMN_M004 Start */
+
+/******************_DEBUG_TMT_REFER_GAOTONG add by zhangzhirong 20120817*****************************/
+//#ifdef _DEBUG_TMT_REFER_GAOTONG
+typedef struct
+{
+ UINT32 dwPssPeakVal; /* PSS Peak Value Data */
+ UINT32 dwPeakPosition; /* Peak Position */
+ UINT32 dwPssIndicies; /* PSS Indicies */
+}T_zPHY_PSSInfo;
+
+typedef struct
+{
+ UINT16 wUarfcn; /* Ƶµã */
+ T_zPHY_PSSInfo atPSSInfo[16];
+}T_zPHY_UarfcnPssInfo;
+
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ T_zPHY_UarfcnPssInfo atUarfcnPssInfo[4];
+}T_zPHY_ECSR_PssInfo;
+
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+
+ UINT32 dwStDlFrmTimeOffset; /* DL Frame Timing Offse */
+ UINT32 dwStUlFrmTimeOffset; /* UL Frame Timing Offse */
+ UINT32 dwStUlTA; /* UL Timing Advance */
+
+ UINT16 wChDlFrmTime; /* Change in DL Frame Timing */
+ UINT16 wChUlFrmTime; /* Change in UL Frame Timing */
+}T_zPHY_ECSR_SerCellFrmTiming;
+
+typedef struct
+{
+ UINT16 wCellId; /* Barred Cell ID */
+}T_zPHY_BarredCellId;
+
+typedef struct
+{
+ UINT32 dwSSSPeakVal; /* SSS Peak Value Data */
+ UINT32 dwSSSPositon; /* SSS Position */
+ UINT32 dwCpMode; /* CP */
+ UINT32 dwHalfFrmHypth; /* Half Frame Hypothesis */
+}T_zPHY_DetectedCell;
+
+typedef struct
+{
+ T_zPHY_BarredCellId atBarredCellId[16];
+ T_zPHY_DetectedCell atDetectedCell[32];
+}T_zPHY_ECSR_SSSInfo;
+
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT16 wIsIdleMode; /* Is Idle Mode */
+ UINT16 wMeasBW; /* Measurement BW */
+ UINT16 wCellId; /* Cell ID */
+ UINT32 dwRxTimeOffset; /* Timing Offset Rx */
+}T_zPHY_ECSR_SerCellMeasResult;
+
+typedef struct
+{
+ UINT32 dwEarfcn; /* Ƶµã */
+ UINT32 dwDuplexMode; /* TDD or FDD*/
+ UINT16 wCellId; /* Ð¡ÇøID */
+ UINT16 wCpmode; /* CP mode */
+}T_zPHY_CellInfo;
+
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ T_zPHY_CellInfo tCellInfo;
+}T_zPHY_ECSR_NeborCellMeasResult;
+
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT16 wSerCellId; /* Serving Cell ID */
+ UINT16 wTransAntCnf; /* Transmit Antenna Config */
+ UINT16 wSfnOffset; /* SFN Offset */
+ UINT16 wCrcValue; /* CRC */
+}T_zPHY_ECSR_PbchInfo;
+
+typedef struct
+{
+ UINT32 bUeSrsEnable; /* UE SRS Enable ÊÇ·ñUEÈ·¶¨·¢SRS*/
+ UINT32 bCellSrsEnable; /* Cell SRS Enable */
+ UINT32 dwStartRb; /* Start RB */
+ UINT32 dwRbNum; /* RBÊý */
+ UINT32 dwZcRoot; /* ZC Root */
+ UINT32 dwCyclicShift; /* Cyclic Shift */
+ //SINT32 sdwSrsTxPower; /* ·¢É书¿ØÖÐÒÑÓÐ */
+ UINT32 bToneOffsetEnable; /* Tone Offset Enable */
+}T_zPHY_SrsTx_Report;//µ±Ç°10¸ö×ÓÖ¡ÐÅÏ¢
+typedef struct
+{
+ UINT32 dwRaRnti;
+ UINT32 dwTCRnti;
+ UINT32 dwDrxStatus;
+ //SINT32 dwTimeAdvance; /*T_zPHY_ECSR_SerCellFrmTiming dwStUlTA*/
+}T_zPHY_EUE_Info;
+
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT32 dwPading;
+ /* ÏÂÐÐÁ÷Á¿ */
+ UINT64 dwDlTB1Flow;
+ UINT64 dwDlTB2Flow;
+
+ /* ÉÏÐÐÁ÷Á¿ */
+ UINT64 dwUlFlow;
+
+ UINT32 dwUlRbNum; //¶¦Àû¿ÉÓÃ½Ó¿Ú PUSCH Rb Count(ÉÏÐÐRBÊý). Resource Schedule Information
+ UINT32 dwDlRbNum; //¶¦Àû¿ÉÓÃ½Ó¿Ú PDSCH Rb Count(ÏÂÐÐRBÊý). Resource Schedule Information
+
+}T_zPHY_ULDL_Flow_Info;
+
+typedef struct
+{
+ UINT32 dwSFN;
+ UINT32 dwUeAntNum;
+ UINT32 dwBsAntNum;
+ UINT32 dwDlBandWidth;
+ UINT32 dwTransMode;
+ UINT32 dwRxTxBitmap;
+ SINT64 sdwNoiseOutput;
+
+ SINT64 sdwRsrpOutput0;
+ SINT64 sdwRsrpOutput1;
+ SINT64 sdwRsrpOutput2;
+ SINT64 sdwRsrpOutput3;
+ SINT64 sdwRsrpOutput4;
+ SINT64 sdwRsrpOutput5;
+ SINT64 sdwRsrpOutput6;
+ SINT64 sdwRsrpOutput7;
+
+ SINT64 sdwRspOutput0;
+ SINT64 sdwRspOutput1;
+ SINT64 sdwRspOutput2;
+ SINT64 sdwRspOutput3;
+}T_zPHY_EDL_CALC_For_SINR;
+
+typedef struct
+{
+ UINT16 wServingCellFreq; /*·þÎñÐ¡ÇøÆµµã*/
+ UINT16 wNextInterFreq; /*ϸöGapµÄÒìÆµ¹¤×÷Ƶµã*/
+ UINT16 wServingCellID; /*·þÎñÐ¡ÇøÐ¡ÇøID*/
+ T_zPHY_ECSR_FreqPointInfor atFreqPointInforTab[4];
+ UINT32 tCsrMainState; /*CSR×Óϵͳµ±Ç°×´Ì¬*/
+ T_zPHY_ECSR_CsrCellInfo tCsrCellInfo[16]; /*±ÜÃâ½á¹¹Ìå¹ý´ó£¬½«64Ð¡ÇøËõ¼õµ½16*/
+}T_zPHY_ECSR_CellDataBaseInfo;
+
+typedef struct
+{
+ WORD wMsgId;
+ WORD bPadding;
+ WORD wMeasBitMask;
+ WORD wPading1;
+}T_zPHY_ECSR_MeasMaskSetInfo;
+
+typedef struct
+{
+ WORD wStartPhyCellId;
+ WORD wPhyCellIdNum;
+} T_zPHY_PhyCellIdRange;
+
+typedef struct
+{
+ WORD wEarfcn;
+ WORD wMeasBandWidth;
+ WORD wCellNum;
+ WORD awPhyCellIdList[32];
+ WORD wPadding;
+ WORD wPresenceAntennaPort1;
+ WORD wNCellConfig;
+ WORD wBlackCellNum;
+ T_zPHY_PhyCellIdRange atPhyCellIdRangeList[32];
+ WORD wNoDrxReportPeriod;
+ WORD wDrxReportPeriod;
+} T_zPHY_MeasFreqInfo;
+
+
+typedef struct
+{
+ WORD wMsgId;
+ WORD wReportQuantity;
+ WORD bMaxCellReportPerFreq;
+ WORD wFreqNum;
+ T_zPHY_MeasFreqInfo atMeasFreqInfoList[4];
+}T_zPHY_ECSR_MeasConfigInfo;
+
+typedef struct
+{
+ UINT32 dwRfcSynState; /*RFCͬ²½»ò·Çͬ²½µÄָʾ ³õʼ»¯Îª·Çͬ²½*/
+ UINT32 dwRfcState; /*RFCÉÏ¡¢ÏÂÐÐָʾ(°üº¬ÔÚÌØÊâ×ÓÖ¡ÉÏÏÂÐÐͬʱ´æÔÚµÄÇé¿ö)£¬³õʼ»¯ÎªIDLE״̬*/
+ BOOL bRfcServCellReceive; /*·þÎñÐ¡Çø»òÁÚÇø½ÓÊÕָʾ£¬Ê¹ÓÃʱ´ò¿ª£¬Ä¬ÈϹرÕ*/
+ BOOL bRfcCsrCellSearch; /*Ð¡ÇøËÑË÷»òͬ²½Ö¸Ê¾£¬³õʼ»¯Îª¹Ø±Õ*/
+ UINT32 dwRfcCsrCellMeas; /*Ð¡Çø²âÁ¿Ö¸Ê¾»òɨƵָʾ£¬Èç¹ûÊÇɨƵÔòRFC_syn_stateÉèΪ·Çͬ²½£¬¿ÉÒÔÑ¡Ôñµ¥Ð¡Çø»¹ÊÇË«Ð¡Çø£¬³õʼ»¯¹Ø±Õ*/
+ UINT32 dwRfcFrequencePoint; /*ƵµãÉèÖà ³õʼ»¯Îª0 */
+ UINT32 dwRfcFilterBand; /*´ø¿íÉèÖà ³õʼ»¯Îª20MHz*/
+ UINT32 dwRfcAsynOffset; /*·Çͬ²½±íÖ´ÐÐÆðʼʱ¼ä£¬³õʼ»¯Îª0*/
+ UINT32 dwRfcRxOffsetAnt0; /*Ö÷ͬ²½±íµÄÖ¡±ß½ç£¨ÌìÏß0£©£¬³õʼ»¯Îª0*/
+ UINT32 dwRfcRxOffsetAnt1; /*RX1ͬ²½±íµÄÖ¡±ß½ç£¨ÌìÏß1£©£¬³õʼ»¯Îª0*/
+ UINT32 dwRfcRxOffset0; /*²âÁ¿±í0µÄÖ¡±ß½ç£¬³õʼ»¯Îª0*/
+ UINT32 dwRfcRxOffset1; /*²âÁ¿±í1µÄÖ¡±ß½ç,³õʼ»¯Îª0*/
+ UINT16 cRfcSubFrameNo; /*Ö÷ͬ²½±íµÄÖ¡±ß½ç½øÐдóµ÷ʱÐèÒªRFC×ÓÖ¡Ìø×ª£¬¸Ã²ÎÊýÖ¸Ã÷Ìø×ªµÄÄ¿µÄ×ÓÖ¡ºÅ ·¶Î§0-9 ³õʼֵ0xff */
+ UINT16 cRfcSubFrameNo0; /*²âÁ¿±í0µÄÖ¡±ß½ç½øÐдóµ÷ʱÐèÒªRFC×ÓÖ¡Ìø×ª£¬¸Ã²ÎÊýÖ¸Ã÷Ìø×ªµÄÄ¿µÄ×ÓÖ¡ºÅ ·¶Î§0-9 ³õʼֵ0xff*/
+ UINT16 cRfcSubFrameNo1; /*²âÁ¿±í1µÄÖ¡±ß½ç½øÐдóµ÷ʱÐèÒªRFC×ÓÖ¡Ìø×ª£¬¸Ã²ÎÊýÖ¸Ã÷Ìø×ªµÄÄ¿µÄ×ÓÖ¡ºÅ ·¶Î§0-9 ³õʼֵ0xff*/
+ UINT16 cRfcSubFrameNo2; /*tx±íµÄÂŽ±ß½ç½øÐдóµ÷ʱÐèÒªRFC×ÓÖ¡Ìø×ª£¬¸Ã²ÎÊýÖ¸Ã÷Ìø×ªµÄÄ¿µÄ×ÓÖ¡ºÅ ·¶Î§0-9 ³õʼֵ0xff*/
+ UINT32 dwRfcUDMode; /*Ö÷ͬ²½±íÉÏÏÂÐÐ×ÓÖ¡ÅäÖÃ,³õʼ»¯ÎªE_FRAME_UD_TYPE2*/
+ UINT32 dwRfcCPMode; /*Ö÷ͬ²½±íµÄcpģʽ ³õʼ»¯Îªnormal CP*/
+ UINT32 dwRfcCPMode0; /*²âÁ¿±í0µÄcpģʽ ³õʼ»¯Îªnormal CP*/
+ UINT32 dwRfcCPMode1; /*²âÁ¿±í1µÄcpģʽ ³õʼ»¯Îªnormal CP*/
+ UINT16 cRfcMeasSymStart0; /*²âÁ¿±í0È¥CPÓÐЧ·ûºÅ¿ªÊ¼Êý ³õʼ»¯Îª0*/
+ UINT16 cRfcMeasSymStart1; /*²âÁ¿±í1È¥CPÓÐЧ·ûºÅ¿ªÊ¼Êý ³õʼ»¯Îª0*/
+ UINT32 dwRfcSpecSubFrameMode; /*ÌØÊâ×ÓÖ¡GPģʽ ³õʼ»¯ÎªE_SPEC_SUB_FRAME_TYPE1*/
+ UINT32 dwRfcFreqOffset; /*Ƶƫֵ£¬ÓÃÓÚµ÷ÕûRF¾§Õñ ³õʼ»¯Îª0*/
+ SINT32 sdwRfcTxOffset; /*ÉÏÐж¨Ê±Ìáǰ£¬³õʼ»¯Îª0*/
+ UINT32 dwRfcRxOffsetAnt0ForTx; /*TX±íµÄÏÂÐÐÖ¡±ß½ç£¨ÌìÏß0£©³õʼ»¯Îª0*/
+ UINT32 dwRfcRxOffsetAnt1ForTx; /*TX±íµÄÏÂÐÐÖ¡±ß½ç£¨ÌìÏß1£©³õʼ»¯Îª0*/
+ UINT32 dwRfcTxAntIndex; /*ÉÏÐз¢ËÍÌìÏßÑ¡Ôñ£¬ÌìÏß0ºÍ1£¬³õʼ»¯ÎªÌìÏß0*/
+ UINT32 dwRfcTxAntIndexForSRS; /*ÉÏÐз¢ËÍÌìÏßÑ¡Ôñ(×îºóÒ»¸ö·ûºÅSRS)£¬ÌìÏß0ºÍ1£¬Ä¬ÈϸòÎÊýδÐÞ¸Ä*/
+ UINT32 dwRfcPowerCloseMode; /*ÎåÖÖËæ»ú½ÓÈ빦ÂʹرÕʱ¼äµã ³õʼ»¯ÎªE_POWER_CLOSE_NOT_USED*/
+ SINT16 swRfcFirstSymbPower; /*ÉÏÐеÚÒ»¸ö·ûºÅ·¢Ë͵ŦÂÊ,³õʼ»¯Îª0x0fff */
+ SINT16 swRfcLastSymbPower; /*ÉÏÐеÚ×îºó¸ö·ûºÅ·¢Ë͵ŦÂÊ ³õʼ»¯Îª0x0fff*/
+ SINT16 swRfcSpecialPrachPower; /*ÌØÊâ×ÓÖ¡PRACH¹¦ÂÊÖµ,³õʼ»¯Îª0x0fff */
+ UINT32 dwApcFirstSymbChanType;/*¹¦ÂÊ¿ØÖƵÚÒ»¸ö·ûºÅÐŵÀÀàÐÍ£¬×îºóÒ»¸ö·ûºÅÒ»¶¨ÎªSRS£¬ËùÒÔTX²»ÓøæÖªRFC*/
+ SINT32 swFreqOffset;
+} T_ZPHY_ERFC_INFO;
+
+typedef struct
+{
+ UINT16 cRxAntennaMode; /* ½ÓÊÕÌìÏßģʽ ĬÈÏֵΪµ¥ÌìÏßģʽ */
+ UINT16 cSyncMode; /* ͬ²½Ä£Ê½ */
+ UINT16 cLNAMode0;
+ UINT16 cLNAMode1; /* LNA±í¸ñģʽ */
+
+ UINT16 wAgcdBGain0;
+ UINT16 wAgcdBGain1; /* AGCÔöÒæÖµ dB <8,7,u> */
+
+ UINT16 wRxLinDagc0;
+ UINT16 wRxLinDagc1; /* RX· DAGCÔöÒæÖµ ÏßÐÔÖµ <12,8,u> */
+
+ UINT16 wCsrmLinDagc0;
+ UINT16 wCsrmLinDagc1; /* CSRM· DAGCÔöÒæÖµ ÏßÐÔÖµ <12,8,u> */
+
+ UINT16 wCsrsLinDagc0;
+ UINT16 wCsrsLinDagc1; /* CSRS· DAGCÔöÒæÖµ ÏßÐÔÖµ <12,8,u> */
+
+ struct
+ {
+ UINT16 cAgcGainMaxFlag; /* ÔöÒæÆ½ºâ²¹³¥Ö¸Ê¾ */
+ UINT16 wMaxdBVulue; //Á½Â·ÌìÏ߽ϴóÔöÒæÖµ,<8,8,u>
+ SINT16 swAgcFactorLog2; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<16,7,t> log2Öµ*/
+ UINT16 wAgcFactor; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<10,0,u> */
+ } tRxAgcBalance; /* Rx·ÔöÒæÆ½ºâָʾºÍÔöÒæÒò×Ó */
+
+ struct
+ {
+ UINT16 cAgcGainMaxFlag; /* ÔöÒæÆ½ºâ²¹³¥Ö¸Ê¾ */
+ UINT16 wMaxdBVulue; //Á½Â·ÌìÏ߽ϴóÔöÒæÖµ,<8,8,u>
+ SINT16 swAgcFactorLog2; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<16,7,t> log2Öµ*/
+ UINT16 wAgcFactor; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<10,0,u> */
+ } tCsrsAgcBalance; /* Csrs·ÔöÒæÆ½ºâָʾºÍÔöÒæÒò×Ó */
+
+ struct
+ {
+ UINT16 cAgcGainMaxFlag; /* ÔöÒæÆ½ºâ²¹³¥Ö¸Ê¾ */
+ UINT16 wMaxdBVulue; //Á½Â·ÌìÏ߽ϴóÔöÒæÖµ,<8,8,u>
+ SINT16 swAgcFactorLog2; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<16,7,t> log2Öµ*/
+ UINT16 wAgcFactor; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<10,0,u> */
+ } tCsrmAgcBalance; /* Csrm·ÔöÒæÆ½ºâָʾºÍÔöÒæÒò×Ó */
+
+ /* ±£´æCSRM10¸ö×ÓÖ¡µÄ×ÜÔöÒæÖµ <14,6,u> */
+ struct
+ {
+ UINT16 wTotalAgcGain0Log2; /* ÌìÏß0µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
+ UINT16 wTotalAgcGain1Log2; /* ÌìÏß1µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
+ } awCsrmTotalAgcGainLog2[ZPHY_SUBFRAMES_PER_FRAME];
+
+ /* ±£´æRX10¸ö×ÓÖ¡µÄ×ÜÔöÒæÖµ <14,6,u> */
+ struct
+ {
+ UINT16 wTotalAgcGain0Log2; /* ÌìÏß0µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
+ UINT16 wTotalAgcGain1Log2; /* ÌìÏß1µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
+ } awRxTotalAgcGainLog2[ZPHY_SUBFRAMES_PER_FRAME];
+
+ /* ¿ìËÙAGCÈí¼þ¼ÆËãʱ£¬10msƽ¾ù¹¦ÂÊÊý×é */
+ SINT16 aswNotSyncAgcMeanPwr0[70];
+ SINT16 aswNotSyncAgcMeanPwr1[70];
+ /* ¿ìËÙAGCÈí¼þ¼ÆËãʱ£¬¼Ç¼ƽ¾ù¹¦ÂÊ×î´óÖµ */
+ SINT16 swMaxAGCMeanPwr0;
+ SINT16 swMaxAGCMeanPwr1;
+ /* ¿ìËÙAGCÈí¼þ¼ÆËãÍê³É±êÖ¾ */
+ UINT16 wNotSyncAGCDone;
+ /* É䯵´ò¿ªÒ»Ö¡ºó±êÖ¾ */
+ UINT16 wNotSyncAGCBegin;
+ //ΪʵÏÖË«ÌìÏß·Çͬ²½AGCµ÷Õû£¬Ôö¼ÓÏà¹ØÈ«¾Ö±äÁ¿,add by zhoupeng 2010.11.6
+ UINT16 wNotSyncAGCDoneAnt0;//ÌìÏß0 AGCÊÕÁ²±êÖ¾
+ UINT16 wNotSyncAGCDoneAnt1;//ÌìÏß1 AGCÊÕÁ²±êÖ¾
+ union
+ {
+ struct
+ {
+ UINT32 RXBandwidth :3; /* Bit[0-2] TX·´ø¿í */
+ UINT32 CPMode :1; /* Bit[3] CPģʽ */
+ UINT32 Reserved :28; /* Bit[4-31] */
+ } tBit;
+
+ UINT32 dwReg;
+ } tRXBandwidthCPMode;
+
+ UINT16 wRxBandwidth;
+ UINT16 cDAGCCalMode; /* DAGC ¼ÆËãģʽ */
+ UINT16 cAGCCalMode; /* AGC ¼ÆËãģʽ */
+}T_zPHY_EDFE_SYSTEM_INFO;
+
+typedef struct
+{
+ UINT32 dwSFN;
+ SINT16 aswPucchGi[ZPHY_DEBUG_TMT_SIZE]; /* ·¢ËÍPUCCH±Õ»·¹¦¿Ø²ÎÊýGi£¬ÓÉ·²àÈí¼þÒýÈë */
+ SINT16 aswPucchPower[ZPHY_DEBUG_TMT_SIZE]; /* PUCCHµÄ·¢Ë͹¦ÂÊͳ¼Æ */
+ SINT16 aswPuschPower[ZPHY_DEBUG_TMT_SIZE]; /* PUSCHµÄ·¢Ë͹¦ÂÊͳ¼Æ */
+ SINT16 aswSrsPower[ZPHY_DEBUG_TMT_SIZE]; /* SRSµÄ·¢Ë͹¦ÂÊͳ¼Æ */
+ SINT16 aswPrachPower[ZPHY_DEBUG_TMT_SIZE]; /* PRACHµÄ·¢Ë͹¦ÂÊͳ¼Æ */
+ UINT16 acPuschPowerHeadroom[ZPHY_DEBUG_TMT_SIZE]; /* PUSCHµÄ·¢Ë͹¦ÂÊÊ£ÓàÁ¿PHR */
+}T_zPHY_EUL_PowerCtrlInfo;
+typedef struct
+{
+ //UINT16 cDci0OrDci1A; /* DCI0ºÍDCI1AµÄÇø±ð */
+ UINT16 cHoppingFlag; /* DCI0ÖеÄÌøÆµflag */
+ UINT16 wBlockAssignment; /* DCI0ÖеÄRB·ÖÅä */
+ UINT16 cMCS; /* DCI0ÖеÄMCS */
+ UINT16 cNewDataFlag; /* DCI0ÖеÄNDI */
+ UINT16 cTpcCommand; /* DCI0ÖеÄTPCÃüÁî */
+ UINT16 cDMRSCyclicShift; /* DCI0ÖÐÓÃÓÚDMRSµÄÑ»·ÒÆÎ» */
+ UINT16 cUlIndex; /* DCI0ÖеÄUL IndexλÓÃÓÚ×ÓÖ¡ÅäÖÃ0 */
+ UINT16 cDAI; /* DCI0ÖеÄÏÂÐзÖÅäָʾ */
+ UINT16 cCqiRequest; /* DCI0ÖеÄCQIָʾλ */
+ UINT16 cRbStart[2]; /* DCI0ÖеÄRIVָʾµÄRBÆðʼλÖà */
+ UINT16 cLcrbs[2]; /* DCI0ÖеÄRIVָʾµÄRBÊý */
+}T_zPHY_Dci0Info;
+typedef struct
+{
+ T_zPHY_Dci0Info atDci0Info[ZPHY_DEBUG_TMT_SIZE];
+}T_zPHY_EUL_Dci0Info;
+
+
+typedef struct
+{
+ //UINT16 wAbsSubFrmNo; /* TPC Command¶ÔÓ¦µÄ×ÓÖ¡ºÅ£¬¸ÄΪ³¬Ö¡ºÅ±íʾ */
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT16 wPuschDCI3or3aTpcIdx; /* ¼ÓÈÅ·½Ê½ÎªTPC-PUSCH-RNTIµÄDCI3/3AÖлñµÃµÄTPC Command */
+ UINT16 wPucchDCI3or3aTpcIdx; /* ¼ÓÈÅ·½Ê½ÎªTPC-PUCCH-RNTIµÄDCI3/3AÖлñµÃµÄTPC Command */
+}T_zPHY_EUL_DCI3Or3AInfo;
+
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT32 dwNewTransCnt; /* д«Í³¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwAdaptTransCnt; /* ×ÔÊÊÓ¦ÖØ´«Í³¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwNonAdaptTransCnt; /* ·Ç×ÔÊÊÓ¦ÖØ´«Í³¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwNoTransCnt; /* ²»´«Êäͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+ UINT32 dwHarqTransCnt; /* ÖØ´«´ÎÊýµÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwHarq0TransCnt; /* HARQ ID=0µÄ´«Êä´ÎÊýͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwHarq1TransCnt; /* HARQ ID=1µÄ´«Êä´ÎÊýͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwHarq2TransCnt; /* HARQ ID=2µÄ´«Êä´ÎÊýͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwHarq3TransCnt; /* HARQ ID=3µÄ´«Êä´ÎÊýͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+ UINT32 dwHarqRv0Cnt; /* RV=0µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwHarqRv1Cnt; /* RV=1µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwHarqRv2Cnt; /* RV=2µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwHarqRv3Cnt; /* RV=3µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+ UINT32 dwCurHarqId; /* µ±Ç°HARQ ID */
+
+ UINT32 dwHarqMaxReTxLimit; /* ÉÏÐÐÖØ´«×î´óÏÞÖÆ´ÎÊý£¬Â·²àÈí¼þÒýÈë */
+
+ /* ÉÏÐгõ´«¡¢ÖØ´«ÐÅÏ¢£¬ÓÃÓÚͳ¼Æ³õ´«¡¢ÖØ´«µÄBlerÐÅÏ¢ */
+ UINT32 dwUlHarqInitAck; /* ÉÏÐгõ´«ACKͳ¼ÆÐÅÏ¢ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwUlHarqInitNack; /* ÉÏÐгõ´«NACKͳ¼ÆÐÅÏ¢ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwUlHarqReTxAck; /* ÉÏÐÐÖØ´«ACKͳ¼ÆÐÅÏ¢ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwUlHarqReTxNack; /* ÉÏÐÐÖØ´«NACKͳ¼ÆÐÅÏ¢ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+
+ /*ÉÏÐеÚÒ»´Î¡¢µÚ¶þ´Î¡¢µÚÈý´Î¡¢µÚËÄ´ÎÒÔ¼°ÆäËûÖØ´«³É¹¦´ÎÊý*/
+ UINT32 dwUlHarq1stSuccNum; /* µÚÒ»´ÎÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwUlHarq2ndSuccNum; /* µÚ¶þ´ÎÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwUlHarq3rdSuccNum; /* µÚÈý´ÎÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwUlHarq4thSuccNum; /* µÚËÄ´ÎÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwUlHarqOtherSuccNum; /* ÆäËûÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+
+ /*ÉÏÐÐÄ£¿é¸÷Harq ID ACK¡¢NACKÊý*/
+ UINT32 adwUlHarqIdAck[8]; /* ÉÏÐÐ8¸öHARQ ACKͳ¼ÆÐÅÏ¢£¬¸÷¸öID×ܵÄÀÛ¼ÓÖµ£¬Â·²àµÈÒýÈë */
+ UINT32 adwUlHarqIdNack[8]; /* ÉÏÐÐ8¸öHARQ NACKͳ¼ÆÐÅÏ¢£¬¸÷¸öID×ܵÄÀÛ¼ÓÖµ£¬Â·²àµÈÒýÈë */
+}T_zPHY_EUL_HarqTransStatisticsInfo;
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+
+ UINT32 dwUlaCqiAndHarqCnt; /* PUCCH CQIºÍACKÒ»Æð·´À¡µÄͳ¼Æ£¬¹Ì¶¨Ñ¡ÔñFormat 2b£¬²é±íÑ¡Ôñ2¸öbit£ºb(1),b(0)½øÐд«Êä ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaCqiAndHarqBits00Cnt; /* Ñ¡Ôñb(1)=0 b(0)=0µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaCqiAndHarqBits01Cnt; /* Ñ¡Ôñb(1)=0 b(0)=1µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaCqiAndHarqBits10Cnt; /* Ñ¡Ôñb(1)=1 b(0)=0µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaCqiAndHarqBits11Cnt; /* Ñ¡Ôñb(1)=1 b(0)=1µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+
+ UINT32 dwUlaPeriodicCQICnt; /* ÖÜÆÚCQI·´À¡µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaAperiodicCQICnt; /* PUSCHÉÏ·´À¡·ÇÖÜÆÚCQIµÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaRiCnt; /* RI·´À¡µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPucchPeriodicCQICnt; /* PUCCH·´À¡ÖÜÆÚCQIµÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPuschPeriodicCQICnt; /* PUSCH·´À¡ÖÜÆÚCQIµÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+// UINT32 dwUlaPuschAperiodicCQICnt; * PUSCHÉÏ·´À¡·ÇÖÜÆÚCQIµÄͳ¼Æ,ÓëdwUlaAperiodicCQICntÒâÒåÒ»Ñù ×ܵÄÀÛ¼ÓÖµ */
+
+ /* ÒÔÏÂ7¸öCQIµÄͳ¼ÆÐÅÏ¢£¬¿ÉÒÔÓ뷲ಿ·Ö½øÐкϲ¢£¬¿ÉÒÔ¿¼Âǰ´×ÓÖ¡½øÐÐͳ¼Æ */
+ UINT32 adwUlaCqiVal[10]; /* CQIÖµ °´×ÓÖ¡·Ö±ðͳ¼Æ */
+ UINT32 adwUlaRiVal[10]; /* RIÖµ °´×ÓÖ¡·Ö±ðͳ¼Æ */
+ UINT32 adwUlaCqiFN[10]; /* ·´À¡CQIµÄÖ¡ºÅ */
+ UINT32 adwUlaCqiSFN[10]; /* ·´À¡CQIµÄ×ÓÖ¡ºÅ */
+
+ UINT16 awCqiReportPeriodFlag[10]; /* ÖÜÆÚCQI Flag */
+ UINT16 awSubFrameNum[10]; /* SIDÖеÄ×ÓÖ¡ºÅ */
+ UINT16 awFrameNum[10]; /* SIDÖеÄÖ¡ºÅ */
+ UINT32 dwUlMcs; //¶¦Àû¿ÉÓýӿÚUL MCS(ÉÏÐÐMCS)MCS Statistic Information,¿ÉÓÃͨ¹ýÐÒéµÃµ½QPSK\16QAM\64QAM
+ UINT32 dwCQI;
+ UINT32 dwPMI; /* PMI */
+ UINT32 dwRI; /* RI */
+ UINT32 dwWbCode0Cqi; /* Wideband Code0 CQI */
+ UINT32 dwWbCode1Cqi; /* Wideband Code1 CQI */
+ SINT32 sdwRank1Sinr; /* Rank1 SINR0 */
+ SINT32 sdwRank2Sinr0; /* Rank2 SINR0 */
+ SINT32 sdwRank2Sinr1; /* Rank2 SINR1 */
+ UINT32 dwTxDivFlag; /* Rank SINR ¼ÆËã¼õ3dbm±êÖ¾ */
+
+}T_zPHY_EUL_CqiHarqSimulStatisticsInfo;
+typedef struct
+{
+ UINT16 wParchPremFrmNo; /* preamble Ö¡ºÅ£¬Â·²àÈí¼þÒýÈë */
+ UINT16 cParchPremSubFrmNo; /* preamble ×ÓÖ¡ºÅ£¬Â·²àÈí¼þÒýÈë(ÒÔ¼°´æÔÚ32λµÄ) */
+ UINT16 cParchPremIndex; /* preamble ID */
+ UINT16 cPrachConfigIndex; /* ÐÒéջָʾµ±Ç°PHY¿ÉÓõÄprach resource¡£ÓÃÓÚ×ÊÔ´Ñ¡ÔñÒÔ¼°»ñÈ¡preambleµ±Ç°ËùÓøñʽ(0,63) */
+ UINT16 cHighSpeedFlag; /* ±êÖ¾µ±Ç°Ð¡ÇøÀàÐÍ(1:¸ßËÙÐ¡Çø,0:·Ç¸ßËÙ) */
+ UINT16 wNcs; /* NCSË÷ÒýÖµ */
+ UINT16 cPrachFrqOffset; /* prach resourceÔÚOFDM·ûºÅÉÏÆµÓòµÄÆ«ÒÆÖµ */
+ UINT16 wRootSwquenceIndex; /* ZCÐòÁÐÁãÏà¹ØÇøÓòÂß¼¸ùÖ² */
+ UINT16 cNumberOfRAPreamble; /* Ëæ»ú½ÓÈëǰµ¼¸öÊý */
+ UINT16 cSizeOfRAPreamblesGroupA; /* Ëæ»ú½ÓÈëǰµ¼×éAµÄ¸öÊý */
+ UINT16 wMessageSizeGroupA; /* Ëæ»úǰµ¼×éAµÄÏûÏ¢³¤¶È */
+ UINT16 cMessagePowerOffetGroupB; /* ÓÃÓÚ½øÐÐǰµ¼Ñ¡Ôñ */
+ UINT16 cPowerRampingStep; /* ÉÏÐз¢ËÍpreamble¹¦Âʵ÷Õû²½³¤£¬ÓÃÓÚÖØ·¢preamble¹ý³ÌÖе÷Õû·¢É书ÂÊ */
+ UINT16 wPreambleTransMax; /* preamble×î´óÖØ´«´ÎÊý */
+ UINT16 cRAResponseWindowSize; /* ¼ì²âRARÐÅϢʱ¼ä´°³¤¶È */
+ UINT16 cMacContentionResolutionTimer; /* ¾ºÕùËæ»ú½ÓÈë¹ý³ÌÖмì²âmsg4ʱ¼ä´°¿Ú´óС */
+ UINT16 cMaxHQRQMsg3Tx; /* ¾ºÕù½â¾ö¹ý³ÌÖз¢ËÍmsg3ʱ£¬µ÷ÓÃHARQ¹ý³Ì×î´óÖØ´«´ÎÊý */
+
+ UINT16 awMsg1TxSysFrameNum[10]; /* Preamble·¢ËÍÖ¡ºÅµÄͳ¼Æ */
+ UINT16 awMsg1TxSubFrameNum[10]; /* Preamble·¢ËÍ×ÓÖ¡ºÅµÄͳ¼Æ */
+
+ UINT32 adwMsg1TxCnt[10]; /* Preamble·¢ËÍ´ÎÊýµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT16 awMsg1TxFreqPos[10]; /* PreambleµÄƵÓòλÖÃnPRBµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT16 acMsg1TxPreambleID[10]; /* Preamble IDµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ //SINT8 ascMsg1TxPower[10]; /* Preamble·¢Ë͹¦ÂʵÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ //UINT32 adwMsg1TxNumCnt[10]; /* Preamble·¢ËÍÊýµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwMsg2RxMatchNumCnt[10]; /* RAR PIDÆ¥ÅäµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwMsg2RxNotMatchNumCnt[10]; /* RAR PID²»Æ¥ÅäµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwMsg3TxNumCnt[10]; /* Msg3·¢ËÍÊýÄ¿µÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwMsg3TxAckNumCnt[10]; /* Msg3·¢ËÍÕýÈ·µÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwMsg3TxNackNumCnt[10]; /* Msg3·¢ËÍ´íÎóµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwMsg4RxNumCnt[10]; /* Msg4½ÓÊÕµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwMsg4RxAckNumCnt[10]; /* Msg4½ÓÊÕÕýÈ·µÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+}T_zPHY_EUL_PrachStatisticsInfo;
+
+
+
+
+/* SRS ͳ¼Æ */
+typedef struct
+{
+ UINT32 dwSFN; /* ʱ¼äÐÅÏ¢ */
+ UINT32 dwUlaSrsCnt; /* SRS·¢Ë͵Äͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 adwdwUlaSrsCommSFCnt[10]; /* ÆÕͨ×ÓÖ¡·¢ËÍSRSµÄͳ¼Æ °´×ÓÖ¡ÀÛ¼ÓÖµ */
+
+ /* ÒÔÏÂ4¸ö²ÎÊýĿǰûÓи³Öµ²Ù×÷£¬±¸Óà begin */
+ UINT32 dwUlaSrsForTddSpecSF1LastSymbCnt; /* TDDÌØÊâ×ÓÖ¡1ÖÐ×îºóÒ»¸ö·ûºÅ·¢SRSµÄͳ¼Æ£¬°üÀ¨×îºóÁ½¸ö·ûºÅ¶¼·¢µÄÇé¿ö ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaSrsForTddSpecSF1LastSecondSymbCnt; /* TDDÌØÊâ×ÓÖ¡1Öе¹ÊýµÚ¶þ¸ö·ûºÅ·¢SRSµÄͳ¼Æ£¬°üÀ¨×îºóÁ½¸ö·ûºÅ¶¼·¢µÄÇé¿ö ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaSrsForTddSpecSF6LastSymbCnt; /* TDDÌØÊâ×ÓÖ¡6ÖÐ×îºóÒ»¸ö·ûºÅ·¢SRSµÄͳ¼Æ£¬°üÀ¨×îºóÁ½¸ö·ûºÅ¶¼·¢µÄÇé¿ö ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaSrsForTddSpecSF6LastSecondSymbCnt; /* TDDÌØÊâ×ÓÖ¡6ÖÐ×îºóÒ»¸ö·ûºÅ·¢SRSµÄͳ¼Æ£¬°üÀ¨×îºóÁ½¸ö·ûºÅ¶¼·¢µÄÇé¿ö ×ܵÄÀÛ¼ÓÖµ */
+ /* ÒÔÉÏ4¸ö²ÎÊýĿǰûÓи³Öµ²Ù×÷£¬±¸Óà over */
+ T_zPHY_SrsTx_Report atSrsTx_Report[10];//µ±Ç°10¸ö×ÓÖ¡ÐÅÏ¢
+}T_zPHY_EUL_SrsStatisticsInfo;
+
+/* SR HARQͳ¼ÆÐÅÏ¢ */
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT32 dwUlaSrAndHarqCnt; /* PUCCH SRºÍACKÒ»Æð·´À¡µÄͳ¼Æ£¬¹Ì¶¨Ñ¡ÔñFormat 1b£¬²é±íÑ¡Ôñ2¸öbit£ºb(1),b(0)½øÐд«Êä ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaSrAndHarqBits00Cnt; /* Ñ¡Ôñb(1)=0 b(0)=0µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaSrAndHarqBits01Cnt; /* Ñ¡Ôñb(1)=0 b(0)=1µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaSrAndHarqBits10Cnt; /* Ñ¡Ôñb(1)=1 b(0)=0µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaSrAndHarqBits11Cnt; /* Ñ¡Ôñb(1)=1 b(0)=1µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
+}T_zPHY_UL_SrHarqSimulStatisticsInfo;
+
+/* PUCCH Multiplexing Ñ¡ÔñN1pucch×ÊԴͳ¼ÆÐÅÏ¢ */
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT32 dwUlaN1pucch0Bits00Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch0×ÊÔ´µÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch0Bits01Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch0×ÊÔ´µÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch0Bits10Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch0×ÊÔ´µÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch0Bits11Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch0×ÊÔ´µÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+ UINT32 dwUlaN1pucch1Bits00Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch1×ÊÔ´µÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch1Bits01Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch1×ÊÔ´µÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch1Bits10Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch1×ÊÔ´µÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch1Bits11Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch1×ÊÔ´µÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+ UINT32 dwUlaN1pucch2Bits00Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch2×ÊÔ´µÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch2Bits01Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch2×ÊÔ´µÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch2Bits10Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch2×ÊÔ´µÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch2Bits11Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch2×ÊÔ´µÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+ UINT32 dwUlaN1pucch3Bits00Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch3×ÊÔ´µÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch3Bits01Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch3×ÊÔ´µÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch3Bits10Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch3×ÊÔ´µÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaN1pucch3Bits11Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch3×ÊÔ´µÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+}T_zPHY_UL_MutiplexingANStatisticsInfo;
+
+/* ͳ¼ÆÏÂÐнâÂëµÄBunldingÐÅÏ¢ */
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ //PUCCH·´À¡
+ UINT32 dwUlaPucchBunldingAckCnt; /* µ¥Âë×ÖÏÂPUCCH BundlingºóµÄACKͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPucchBunldingNackCnt; /* µ¥Âë×ÖÏÂPUCCH BundlingºóµÄNACKͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPucchBunldingAckAckCnt; /* Á½Âë×ÖÏÂPUCCH BundlingºóµÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPucchBunldingAckNackCnt; /* Á½Âë×ÖÏÂPUCCH BundlingºóµÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPucchBunldingNackAckCnt; /* Á½Âë×ÖÏÂPUCCH BundlingºóµÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPucchBunldingNackNackCnt; /* Á½Âë×ÖÏÂPUCCH BundlingºóµÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+ //PUSCH·´À¡
+ UINT32 dwUlaPuschBunldingAckCnt; /* µ¥Âë×ÖÏÂPUSCH BundlingºóµÄACKͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPuschBunldingNackCnt; /* µ¥Âë×ÖÏÂPUSCH BundlingºóµÄNACKͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPuschBunldingAckAckCnt; /* Á½Âë×ÖÏÂPUSCH BundlingºóµÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPuschBunldingAckNackCnt; /* Á½Âë×ÖÏÂPUSCH BundlingºóµÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPuschBunldingNackAckCnt; /* Á½Âë×ÖÏÂPUSCH BundlingºóµÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+ UINT32 dwUlaPuschBunldingNackNackCnt; /* Á½Âë×ÖÏÂPUSCH BundlingºóµÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
+
+
+ UINT32 dwPdcchUlGrantCnt; /* ÊÚȨͳ¼Æ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+ UINT32 dwPuschDynPacketNum; /* ¶¯Ì¬°üͳ¼Æ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
+}T_zPHY_EUL_BunldingANStatisticsInfo;
+
+/* PUCCH FMT ¸ñʽͳ¼ÆÐÅÏ¢ */
+typedef struct
+{
+ UINT32 dwSFN; //ʱ¼äÐÅÏ¢
+ UINT32 dwUlaPucchFmt1Cnt; /* PUCCH Format1 ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
+ UINT32 dwUlaPucchFmt1aCnt; /* PUCCH Format1A ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
+ UINT32 dwUlaPucchFmt1bCnt; /* PUCCH Format1B ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
+ UINT32 dwUlaPucchFmt2Cnt; /* PUCCH Format2 ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
+ UINT32 dwUlaPucchFmt2aCnt; /* PUCCH Format2A ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
+ UINT32 dwUlaPucchFmt2bCnt; /* PUCCH Format2B ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
+ UINT32 dwUlaPucchFmt3Cnt; /* PUCCH Format2B ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
+}T_zPHY_EUL_PucchFmtStatisticsInfo;
+
+/* ÉÏÐÐÏÂÐÐÁ÷Á¿ÐÅϢͳ¼Æ */
+typedef struct
+{
+ UINT32 dwPhyDLTB1Flow;
+ UINT32 dwPhyDLTB2Flow;
+ UINT32 dwPhyULTB1Flow;
+ UINT32 dwPhyULTB2Flow;
+}T_ZPHY_EULDL_FLOW_INFO;
+
+typedef struct
+{
+ UINT32 dwPowerA; /* À´×ÔDedicatedÏûÏ¢µÄÓÃÓÚPDSCH¹¦Âʲ¹³¥µÄ²ÎÊý */
+ UINT32 dwPowerB; /* À´×ÔCommonÏûÏ¢µÄÓÃÓÚPDSCH¹¦Âʲ¹³¥µÄ²ÎÊý */
+}T_ZPHY_EDL_PA_INFO;
+
+/* ÏÂÐÐDCIͳ¼ÆÐÅÏ¢ */
+typedef struct
+{
+ UINT32 dwSFN; /* ʱ¼äÐÅÏ¢ */
+ UINT32 dwResource; /* ×ÊÔ´·ÖÅä×Ö¶Î */
+ UINT32 adwRbBmp[8]; /* 1-bitµÄRB-demapping bitmap */
+ UINT32 dwRaType; /* RA ÀàÐÍ */
+ UINT32 dwRbNum; /* RBÊý */
+ UINT32 dwRbStart; /* RBÆäʵλÖà */
+ UINT32 dwRbLength; /* RB³¤¶È */
+ UINT32 dwHarqId; /* HARQ ID */
+ UINT32 dwTb1Mcs; /* TB1 MCSÖµ */
+ UINT32 dwTb2Mcs; /* TB2 MCSÖµ */
+ UINT32 dwTb1Ndi; /* TB1 NDI */
+ UINT32 dwTb2Ndi; /* TB2 NDI */
+ UINT32 dwTb1Rv; /* TB1 ÈßÓà°æ±¾ */
+ UINT32 dwTb2Rv; /* TB2 ÈßÓà°æ±¾ */
+ UINT32 dwDaiIdx; /* DAI Ë÷Òý */
+}T_ZPHY_EDL_DCI_DECODE;
+
+typedef struct
+{
+ T_ZPHY_EDL_DCI_DECODE atDlDciInfo[10]; /* ÏÂÐÐ10¸ö×ÓÖ¡µÄDCIͳ¼Æ */
+}T_ZPHY_EDL_DCI_INFO;
+
+
+/* ÏÂÐÐHARQÐÅϢͳ¼Æ */
+typedef struct
+{
+ UINT32 adwRevTb1RvNum[4]; /* TB1 ¸÷×Ôµ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwRevTb2RvNum[4]; /* TB2 ¸÷×Ôµ¥¶ÀÀÛ¼Óͳ¼Æ */
+
+ /*ÏÂÐÐÄ£¿é¸÷Harq ID ACK¡¢NACKÊý*/
+ UINT32 adwDlTb1HarqIdAck[15]; /* TB1 15¸öHARQ IDµÄACKÐÅÏ¢£¬¸÷ID×ܵÄÀÛ¼Ó */
+ UINT32 adwDlTb1HarqIdNack[15]; /* TB1 15¸öHARQ IDµÄNACKÐÅÏ¢£¬¸÷ID×ܵÄÀÛ¼Ó */
+ UINT32 adwDlTb2HarqIdAck[15]; /* TB2 15¸öHARQ IDµÄACKÐÅÏ¢£¬¸÷ID×ܵÄÀÛ¼Ó */
+ UINT32 adwDlTb2HarqIdNack[15]; /* TB2 15¸öHARQ IDµÄNACKÐÅÏ¢£¬¸÷ID×ܵÄÀÛ¼Ó */
+
+ UINT32 adwDlHarqSuccNum[4]; /* TB1¡¢TB2ÖØ´«³É¹¦´ÎÊýͳ¼Æ£¬ ×ܵÄÀÛ¼ÓÖµ */
+}T_ZPHY_EDL_HARQ_INFO;
+
+/* PDSCH½âÂëͳ¼ÆÐÅÏ¢ */
+typedef struct
+{
+ /*Statistic Si-Rnti PDSCH Decode Info*/
+ UINT32 adwSiRntiCrcOkNum[10]; /* Si-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSiRntiCrcErrNum[10]; /* Si-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwSiRntiCrcOkSumNum; /* Si-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 dwSiRntiCrcErrSumNum; /* Si-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
+
+ /*Statistic P-Rnti PDSCH Decode Info*/
+ UINT32 adwPRntiCrcOkNum[10]; /* P-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwPRntiCrcErrNum[10]; /* P-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwPRntiCrcOkSumNum; /* P-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 dwPRntiCrcErrSumNum; /* P-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
+
+ /*Statistic Ra-Rnti PDSCH Decode Info*/
+ UINT32 adwRaRntiCrcOkNum[10]; /* Ra-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwRaRntiCrcErrNum[10]; /* Ra-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwRaRntiCrcOkSumNum; /* Ra-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 dwRaRntiCrcErrSumNum; /* Ra-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
+
+ /*Statistic Tc-Rnti PDSCH Decode Info*/
+ UINT32 adwTcRntiCrcOkNum[10]; /* Tc-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwTcRntiCrcErrNum[10]; /* Tc-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwTcRntiCrcOkSumNum; /* Tc-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 dwTcRntiCrcErrSumNum; /* Tc-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+
+ /*Statistic C-Rnti PDSCH Decode Info*/
+ UINT32 adwCRntiTbCrcOkNum[2][10]; /* TB1¡¢2 C-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiTbCrcErrNum[2][10]; /* TB1¡¢2 C-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiTbCrcOkSumNum[2]; /* TB1¡¢2 C-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiTbCrcErrSumNum[2]; /* TB1¡¢2 C-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
+
+ /*Statistic Sps-Rnti PDSCH Decode Info*/
+ UINT32 adwSpsRntiCrcOkNum[10]; /* Sps-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiCrcErrNum[10]; /* Sps-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiCrcOkSumNum; /* Sps-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+ UINT32 adwSpsRntiCrcErrSumNum; /* Sps-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
+}T_ZPHY_EDL_PDSCH_INFO;
+
+/*PDCCHä¼ì²âͳ¼ÆÐÅÏ¢*/
+typedef struct
+{
+ /*Statistic Si-Rnti Dci Info*/
+ UINT32 adwSiRntiDci1ANum[10]; /* Si-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSiRntiDci1CNum[10]; /* Si-Rnti DCI_1C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwSiRntiDci1ASumNum; /* Si-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 dwSiRntiDci1CSumNum; /* Si-Rnti DCI_1C ×ܵÄÀÛ¼Ó */
+ UINT32 dwSiRntiDciSumNum; /* Si-Rnti Dci×ܵÄͳ¼Æ¸öÊý */
+
+ /*Statistic P-Rnti Dci Info*/
+ UINT32 adwPRntiDci1ANum[10]; /* P-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwPRntiDci1CNum[10]; /* P-Rnti DCI_1C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwPRntiDci1ASumNum; /* P-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 dwPRntiDci1CSumNum; /* P-Rnti DCI_1C ×ܵÄÀÛ¼Ó */
+ UINT32 dwPRntiDciSumNum; /* P-Rnti Dci×ܵÄͳ¼Æ¸öÊý */
+
+ /*Statistic Ra-Rnti Dci Info*/
+ UINT32 adwRaRntiDci1ANum[10]; /* Ra-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwRaRntiDci1CNum[10]; /* Ra-Rnti DCI_1C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwRaRntiDci1ASumNum; /* Ra-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 dwRaRntiDci1CSumNum; /* Ra-Rnti DCI_1C ×ܵÄÀÛ¼Ó */
+ UINT32 dwRaRntiDciSumNum; /* Ra-Rnti Dci×ܵÄͳ¼Æ¸öÊý */
+
+ /*Statistic Tc-Rnti Dci Info*/
+ UINT32 adwTcRntiDci1Num[10]; /* Tc-Rnti DCI_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwTcRntiDci1ANum[10]; /* Tc-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 dwTcRntiDci1SumNum; /* Tc-Rnti DCI_1 ×ܵÄÀÛ¼Ó */
+ UINT32 dwTcRntiDci1ASumNum; /* Tc-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 dwTcRntiDciSumNum; /* Tc-Rnti Dci×ܵÄͳ¼Æ¸öÊý */
+
+ /*Statistic Tpc-Rnti Dci Info*/
+ UINT32 adwTpcRntiDci3Num[10]; /* Tpc-Rnti DCI_3 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwTpcRntiDci3ANum[10]; /* Tpc-Rnti DCI_3A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwTpcRntiDci3SumNum; /* Tpc-Rnti DCI_3 ×ܵÄÀÛ¼Ó */
+ UINT32 adwTpcRntiDci3ASumNum; /* Tpc-Rnti DCI_3A ×ܵÄÀÛ¼Ó */
+ UINT32 adwPucchTpcDci33ASumNum;
+ UINT32 adwPuschTpcDci33ASumNum;
+
+ /*Statistic C-Rnti Dci Info*/
+ UINT32 adwCRntiDci01Num[10]; /* DCI0_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci02Num[10]; /* DCI0_2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci03Num[10]; /* DCI0_3 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci04Num[10]; /* DCI0_4 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci41Num[10]; /* DCI41 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci42Num[10]; /* DCI42 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci43Num[10]; /* DCI43 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci44Num[10]; /* DCI44 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci1Num[10]; /* C-Rnti DCI_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci1ANum[10]; /* C-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci1BNum[10]; /* C-Rnti DCI_1B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci1DNum[10]; /* C-Rnti DCI_1D °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci2Num[10]; /* C-Rnti DCI_2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci2ANum[10]; /* C-Rnti DCI_2A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci2BNum[10]; /* C-Rnti DCI_2B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci2CNum[10]; /* C-Rnti DCI_2C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwCRntiDci01SumNum; /* C-Rnti DCI_01 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci02SumNum; /* C-Rnti DCI_02 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci03SumNum; /* C-Rnti DCI_03 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci04SumNum; /* C-Rnti DCI_04 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci41SumNum; /* C-Rnti DCI_4 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci42SumNum; /* C-Rnti DCI_4 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci43SumNum; /* C-Rnti DCI_4 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci44SumNum; /* C-Rnti DCI_4 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci1SumNum; /* C-Rnti DCI_1 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci1ASumNum; /* C-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci1BSumNum; /* C-Rnti DCI_1B ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci1DSumNum; /* C-Rnti DCI_1D ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci2SumNum; /* C-Rnti DCI_2 ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci2ASumNum; /* C-Rnti DCI_2A ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci2BSumNum; /* C-Rnti DCI_2B ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDci2CSumNum; /* C-Rnti DCI_2C ×ܵÄÀÛ¼Ó */
+ UINT32 adwCRntiDciSumNum; /* C-Rnti Dci×ܵÄͳ¼Æ¸öÊý */
+
+ /*Statistic Sps-Rnti Dci Info*/
+ UINT32 adwSpsRntiDci1Num[10]; /* Sps-Rnti DCI_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci1ANum[10]; /* Sps-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2Num[10]; /* Sps-Rnti DCI_2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2ANum[10]; /* Sps-Rnti DCI_2A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2BNum[10]; /* Sps-Rnti DCI_2B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2CNum[10]; /* Sps-Rnti DCI_2B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
+ UINT32 adwSpsRntiDci1SunNum; /* Sps-Rnti DCI_1 ×ܵÄÀÛ¼Ó */
+ UINT32 adwSpsRntiDci1ASunNum; /* Sps-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2SunNum; /* Sps-Rnti DCI_2 ×ܵÄÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2ASunNum; /* Sps-Rnti DCI_2A ×ܵÄÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2BSunNum; /* Sps-Rnti DCI_2B ×ܵÄÀÛ¼Ó */
+ UINT32 adwSpsRntiDci2CSunNum; /* Sps-Rnti DCI_2B ×ܵÄÀÛ¼Ó */
+}T_ZPHY_EDL_PDCCH_INFO;
+
+/*PHICHͳ¼ÆÐÅÏ¢*/
+typedef struct
+{
+ UINT32 adwHiNg; /* Ng */
+ UINT32 adwHiDuration; /* PHICH Duration */
+ UINT32 adwPhichAckNum[4][10]; /* PHICH1¡¢2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwPhichNackNum[4][10]; /* PHICH1¡¢2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
+ UINT32 adwPhichAckSumNum[4]; /* PHICH1¡¢2 °´×ܵÄÀÛ¼Óͳ¼Æ */
+ UINT32 adwPhichNackSumNum[4]; /* PHICH1¡¢2 °´×ܵÄÀÛ¼Óͳ¼Æ */
+ UINT32 adwPhich1Grp[10]; /* PHICH1µÄ×éºÅ */
+ UINT32 adwPhich1Seq[10]; /* PHICH1µÄÀ©ÆµÐòÁкŠ*/
+ UINT32 adwPhich2Grp[10]; /* PHICH2µÄ×éºÅ */
+ UINT32 adwPhich2Seq[10]; /* PHICH2µÄÀ©ÆµÐòÁкŠ*/
+ UINT32adwHiAckNum; /* Hi AckÊýĿͳ¼Æ */
+ UINT32adwHiNackNum; /* Hi NackÊýĿͳ¼Æ */
+}T_ZPHY_EDL_PHICH_INFO;
+
+/* PCFICHͳ¼ÆÐÅÏ¢ */
+typedef struct
+{
+ UINT32 dwCaCrossInd; /*¿çÔØ²¨µ÷¶Èָʾ*/
+ UINT32 adwCfiValTab[10]; /*Ñ»·Í³¼Æ10¸ö×ÓÖ¡µÄCFIÖµ*/
+ UINT32 adwCfiNumPerVal[4]; /*ͳ¼Æ²»Í¬CFIÖµµÄ¸öÊý*/
+ UINT32 adwCfiNumPerSF[4][10]; /*°´×Ó֡ͳ¼Æ²»Í¬CFIÖµµÄ¸öÊý*/
+ UINT32 dwSccPdschStart; /*¿çÔØ²¨µ÷¶ÈÇé¿öϵÄSCC CFI*/
+}T_ZPHY_EDL_PCFICH_INFO;
+
+
+/*Èí¼þ¹¤×÷״̬ÐÅϢͳ¼Æ*/
+typedef struct
+{
+ UINT32 dwAbsSFN; /*ʱ¼äÐÅÏ¢*/
+ UINT32 dwRntiAplySubfCnt[10];
+ UINT32 dwSiRntiApplyCnt; /* Èí¼þʹÄÜSIRNTIµÄ´ÎÊý */
+ UINT32 adwCRntiApplyCnt; /* Èí¼þʹÄÜCRNTIµÄ´ÎÊý */
+ UINT32 dwTcRntiApplyCnt; /* Èí¼þʹÄÜTCRNTIµÄ´ÎÊý */
+ UINT32 dwRaRntiApplyCnt; /* Èí¼þʹÄÜRARNTIµÄ´ÎÊý */
+ UINT32 dwPRntiApplyCnt; /* Èí¼þʹÄÜPRNTIµÄ´ÎÊý */
+ UINT32 dwMRntiApplyCnt; /* Èí¼þʹÄÜMRNTIµÄ´ÎÊý */
+ UINT32 adwPucchRntiApplyCnt; /* Èí¼þʹÄÜPucchRNTIµÄ´ÎÊý */
+ UINT32 adwPuschRntiApplyCnt; /* Èí¼þʹÄÜPuschRNTIµÄ´ÎÊý */
+ UINT32 adwSpsRntiApplyCnt; /* Èí¼þʹÄÜSPSRNTIµÄ´ÎÊý */
+ UINT32 adwDtchCfgCnt; /* Èí¼þDTCHÅäÖôÎÊý */
+ UINT32 adwDtchIntCnt; /* Èí¼þDTCHÖжÏÉϱ¨´ÎÊý */
+ UINT32 dwSibCfgCnt; /* Èí¼þSIBÅäÖôÎÊý */
+ UINT32 dwSibIntCnt; /* Èí¼þSIBÖжÏÉϱ¨´ÎÊý */
+ UINT32 dwPchCfgCnt; /* Èí¼þPCHÅäÖôÎÊý */
+ UINT32 dwPchIntCnt; /* Èí¼þPCHÖжÏÉϱ¨´ÎÊý */
+ UINT32 dwRarCfgCnt; /* Èí¼þRARÅäÖôÎÊý */
+ UINT32 dwRarIntCnt; /* Èí¼þRARÖжÏÉϱ¨´ÎÊý */
+ UINT32 dwMbmsCfgCnt; /* Èí¼þMBSFNÅäÖôÎÊý */
+ UINT32 dwMbmsIntCnt; /* Èí¼þMBSFNÖжÏÉϱ¨´ÎÊý */
+}T_ZPHY_EDL_WORK_INFO;
+
+/* ÏÂÐÐSNRÐÅÏ¢ */
+typedef struct
+{
+ SINT32 sdwSinrVal;
+ SINT32 sdwRx0Tx0Snr;
+ SINT32 sdwRx0Tx0Snr;
+ SINT32 sdwRx0Tx0Snr;
+ SINT32 sdwRx0Tx0Snr;
+}T_ZPHY_EDL_SNR_INFO;
+
+
+/* UE¹¤×÷»ù±¾ÐÅÏ¢ */
+typedef struct
+{
+ UINT32 dwWorkEarfcn; /* Èí¼þPCHÅäÖôÎÊý */
+ UINT32 dwWorkCellId; /* Èí¼þPCHÖжÏÉϱ¨´ÎÊý */
+ UINT32 dwSysBw; /* Èí¼þRARÅäÖôÎÊý */
+ UINT32 dwSubFrmType; /* Èí¼þRARÖжÏÉϱ¨´ÎÊý */
+ UINT32 dwSpecSubFrmType; /* Èí¼þMBSFNÅäÖôÎÊý */
+ UINT32 dwDlTransMode; /* ÏÂÐд«Êäģʽ */
+ UINT32 dwUlTransMode; /* ÉÏÐд«Êäģʽ */
+ UINT32 dwCrntiVal;
+}T_ZPHY_EDL_SNR_INFO;
+
+
+
+
+
+
+typedef struct
+{
+ UINT32 dwServerCellId; /* ·þÎñÐ¡ÇøID */
+
+ SINT32 sdwCsrmRssi; /* RSSI */
+ SINT32 sdwCsrmRsrq; /* RSRQ */
+ SINT32 sdwCsrmRsrp; /* RSRP */
+
+ SINT32 sdwCsrmRssiAnt0; /* ÌìÏß0 RSSI */
+ SINT32 sdwCsrmRssiAnt1; /* ÌìÏß1 RSSI */
+
+ SINT32 sdwCsrmRsrpAnt0; /* ÌìÏß0 RSRP */
+ SINT32 sdwCsrmRsrpAnt1; /* ÌìÏß1 RSRP */
+
+ SINT32 sdwCsrmRsrqAnt0; /* ÌìÏß0 RSRQ */
+ SINT32 sdwCsrmRsrqAnt1; /* ÌìÏß0 RSRQ */
+}T_zPHY_ECSR_MeasureInfo;
+
+typedef struct
+{
+ UINT32 dwMibRefreshFlag; //MIBÐÅÏ¢¸üбêÖ¾£¬ÓиüÐÂÔòÖÃ1
+ UINT32 dwMibInfo; //MIBÐÅÏ¢
+}T_zPHY_ECSR_MibInfo;
+
+typedef struct
+{
+ UINT16 wCellBand; /* ÏÂÐдø¿í*/
+ UINT16 wPhichConfig; /* PHICH²ÎÊý*/
+}T_zPHY_ECSR_DebugMibInfo;
+
+
+#endif
+
+#ifdef _DEBUG_PHY_TMT_GLOBAL_CONTROL
+ extern T_zPHY_DebugStatisticsFigInfo *g_patLtePhyDbgFigInfo;
+ #ifdef _DEBUG_TMT_FOR_DINGLI //20120208¶¦ÀûÐÂÔö MIBÐÅÏ¢
+ extern T_zPHY_MibInfoForDingLi *g_ptMibInfo;
+ #endif
+#endif
+typedef struct
+{
+ UINT32 dwWorkMode; /* ¹¤×÷ÖÆÊ½ */
+ UINT32 dwWorkEarfcn; /* ¹¤×÷Ƶµã */
+ UINT32 dwWorkCellId; /* ¹¤×÷Ð¡ÇøID */
+ UINT32 dwSysBw; /* ϵͳ´ø¿í */
+ UINT32 dwSubFrmType; /* ×ÓÖ¡Åä±È */
+ UINT32 dwSpecSubFrmType; /* ÌØÊâ×ÓÖ¡Åä±È */
+ UINT32 dwDlTransMode; /* ÏÂÐд«Êäģʽ */
+ UINT32 dwUlTransMode; /* ÉÏÐд«Êäģʽ */
+ UINT32 dwCrntiVal; /* CRNTI */
+ UINT32 dwRaRnti; /* RaRNTI */
+ UINT32 dwTCRnti; /* TCRNTI */
+ UINT32 dwDrxStatus; /* DrxStatus */
+}T_ZPHY_UE_BASE_INFO;
+typedef struct
+{
+ UINT32 dwSFN;
+ UINT32 dwUeAntNum;
+ UINT32 dwBsAntNum;
+ UINT32 dwDlBandWidth;
+ UINT32 dwTransMode;
+ UINT32 dwRxTxBitmap;
+ SINT64 sdwNoiseOutput;
+
+ SINT64 sdwRsrpOutput0;
+ SINT64 sdwRsrpOutput1;
+ SINT64 sdwRsrpOutput2;
+ SINT64 sdwRsrpOutput3;
+ SINT64 sdwRsrpOutput4;
+ SINT64 sdwRsrpOutput5;
+ SINT64 sdwRsrpOutput6;
+ SINT64 sdwRsrpOutput7;
+
+ SINT64 sdwRspOutput0;
+ SINT64 sdwRspOutput1;
+ SINT64 sdwRspOutput2;
+ SINT64 sdwRspOutput3;
+}T_zPHY_EDL_CALC_For_SINR;
+
+typedef struct
+{
+ UINT16 cRxAntennaMode; /* ½ÓÊÕÌìÏßģʽ ĬÈÏֵΪµ¥ÌìÏßģʽ */
+ UINT16 cSyncMode; /* ͬ²½Ä£Ê½ */
+ UINT16 cLNAMode0;
+ UINT16 cLNAMode1; /* LNA±í¸ñģʽ */
+
+ UINT16 wAgcdBGain0;
+ UINT16 wAgcdBGain1; /* AGCÔöÒæÖµ dB <8,7,u> */
+
+ UINT16 wRxLinDagc0;
+ UINT16 wRxLinDagc1; /* RX· DAGCÔöÒæÖµ ÏßÐÔÖµ <12,8,u> */
+
+ UINT16 wCsrmLinDagc0;
+ UINT16 wCsrmLinDagc1; /* CSRM· DAGCÔöÒæÖµ ÏßÐÔÖµ <12,8,u> */
+
+ UINT16 wCsrsLinDagc0;
+ UINT16 wCsrsLinDagc1; /* CSRS· DAGCÔöÒæÖµ ÏßÐÔÖµ <12,8,u> */
+
+ struct
+ {
+ UINT16 cAgcGainMaxFlag; /* ÔöÒæÆ½ºâ²¹³¥Ö¸Ê¾ */
+ UINT16 wMaxdBVulue; //Á½Â·ÌìÏ߽ϴóÔöÒæÖµ,<8,8,u>
+ SINT16 swAgcFactorLog2; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<16,7,t> log2Öµ*/
+ UINT16 wAgcFactor; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<10,0,u> */
+ } tRxAgcBalance; /* Rx·ÔöÒæÆ½ºâָʾºÍÔöÒæÒò×Ó */
+
+ struct
+ {
+ UINT16 cAgcGainMaxFlag; /* ÔöÒæÆ½ºâ²¹³¥Ö¸Ê¾ */
+ UINT16 wMaxdBVulue; //Á½Â·ÌìÏ߽ϴóÔöÒæÖµ,<8,8,u>
+ SINT16 swAgcFactorLog2; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<16,7,t> log2Öµ*/
+ UINT16 wAgcFactor; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<10,0,u> */
+ } tCsrsAgcBalance; /* Csrs·ÔöÒæÆ½ºâָʾºÍÔöÒæÒò×Ó */
+
+ struct
+ {
+ UINT16 cAgcGainMaxFlag; /* ÔöÒæÆ½ºâ²¹³¥Ö¸Ê¾ */
+ UINT16 wMaxdBVulue; //Á½Â·ÌìÏ߽ϴóÔöÒæÖµ,<8,8,u>
+ SINT16 swAgcFactorLog2; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<16,7,t> log2Öµ*/
+ UINT16 wAgcFactor; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<10,0,u> */
+ } tCsrmAgcBalance; /* Csrm·ÔöÒæÆ½ºâָʾºÍÔöÒæÒò×Ó */
+
+ /* ±£´æCSRM10¸ö×ÓÖ¡µÄ×ÜÔöÒæÖµ <14,6,u> */
+ struct
+ {
+ UINT16 wTotalAgcGain0Log2; /* ÌìÏß0µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
+ UINT16 wTotalAgcGain1Log2; /* ÌìÏß1µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
+ } awCsrmTotalAgcGainLog2[ZPHY_SUBFRAMES_PER_FRAME];
+
+ /* ±£´æRX10¸ö×ÓÖ¡µÄ×ÜÔöÒæÖµ <14,6,u> */
+ struct
+ {
+ UINT16 wTotalAgcGain0Log2; /* ÌìÏß0µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
+ UINT16 wTotalAgcGain1Log2; /* ÌìÏß1µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
+ } awRxTotalAgcGainLog2[ZPHY_SUBFRAMES_PER_FRAME];
+
+ /* ¿ìËÙAGCÈí¼þ¼ÆËãʱ£¬10msƽ¾ù¹¦ÂÊÊý×é */
+ SINT16 aswNotSyncAgcMeanPwr0[70];
+ SINT16 aswNotSyncAgcMeanPwr1[70];
+ /* ¿ìËÙAGCÈí¼þ¼ÆËãʱ£¬¼Ç¼ƽ¾ù¹¦ÂÊ×î´óÖµ */
+ SINT16 swMaxAGCMeanPwr0;
+ SINT16 swMaxAGCMeanPwr1;
+ /* ¿ìËÙAGCÈí¼þ¼ÆËãÍê³É±êÖ¾ */
+ UINT16 wNotSyncAGCDone;
+ /* É䯵´ò¿ªÒ»Ö¡ºó±êÖ¾ */
+ UINT16 wNotSyncAGCBegin;
+ //ΪʵÏÖË«ÌìÏß·Çͬ²½AGCµ÷Õû£¬Ôö¼ÓÏà¹ØÈ«¾Ö±äÁ¿,add by zhoupeng 2010.11.6
+ UINT16 wNotSyncAGCDoneAnt0;//ÌìÏß0 AGCÊÕÁ²±êÖ¾
+ UINT16 wNotSyncAGCDoneAnt1;//ÌìÏß1 AGCÊÕÁ²±êÖ¾
+ union
+ {
+ struct
+ {
+ UINT32 RXBandwidth :3; /* Bit[0-2] TX·´ø¿í */
+ UINT32 CPMode :1; /* Bit[3] CPģʽ */
+ UINT32 Reserved :28; /* Bit[4-31] */
+ } tBit;
+
+ UINT32 dwReg;
+ } tRXBandwidthCPMode;
+
+ UINT16 wRxBandwidth;
+ UINT16 cDAGCCalMode; /* DAGC ¼ÆËãģʽ */
+ UINT16 cAGCCalMode; /* AGC ¼ÆËãģʽ */
+}T_zPHY_EDFE_SYSTEM_INFO;
+
+#ifdef _DEBUG_TMT_REFER_GAOTONG
+
+#if 0
+ extern T_zPHY_ECSR_PssInfo g_ECSR_PssInfo;
+ extern T_zPHY_ECSR_SerCellFrmTiming g_ECSR_SerCellFrmTiming;
+ extern T_zPHY_ECSR_SSSInfo g_ECSR_SSSInfo;
+ extern T_zPHY_ECSR_SerCellMeasResult g_ECSR_SerCellMeasResult;
+ extern T_zPHY_ECSR_NeborCellMeasResult g_ECSR_NeborCellMeasResult[64];
+ extern T_zPHY_ECSR_PbchInfo g_ECSR_PbchInfo;
+ extern T_zPHY_ECSR_MibInfo g_ECSR_MibInfo;
+ extern T_zPHY_ECSR_MeasureInfo g_ECSR_MeasureInfo;
+#endif
+ extern T_ZPHY_EDL_PCFICH_INFO g_EDL_PCFICH_INFO;
+ extern T_ZPHY_EDL_PHICH_INFO g_EDL_PHICH_INFO;
+ extern T_ZPHY_EDL_PDCCH_INFO g_EDL_PDCCH_INFO;
+ extern T_ZPHY_EDL_PDSCH_INFO g_EDL_PDSCH_INFO;
+ extern T_ZPHY_EDL_HARQ_INFO g_EDL_HARQ_INFO;
+ extern T_ZPHY_EDL_DCI_INFO g_EDL_DCI_INFO;
+ extern T_ZPHY_EDL_PA_INFO g_EDL_PA_INFO;
+ //extern T_ZPHY_EDL_FLOW_INFO g_EDL_FLOW_INFO;
+ extern T_ZPHY_EDL_WORK_INFO g_EDL_WORK_INFO;
+ extern T_ZPHY_UE_BASE_INFO g_UE_BASE_INFO[2];
+ extern T_zPHY_ULDL_Flow_Info g_EDLUL_FLOW_INFO [2];
+
+ extern T_zPHY_EUL_PucchFmtStatisticsInfo g_EUL_PucchFmtStatisticsInfo;
+ extern T_zPHY_EUL_BunldingANStatisticsInfo g_EUL_BunldingANStatisticsInfo;
+ extern T_zPHY_UL_MutiplexingANStatisticsInfo g_UL_MutiplexingANStatisticsInfo;
+ extern T_zPHY_UL_SrHarqSimulStatisticsInfo g_UL_SrHarqSimulStatisticsInfo;
+ extern T_zPHY_EUL_CqiHarqSimulStatisticsInfo g_EUL_CqiHarqSimulStatisticsInfo;
+ extern T_zPHY_EUL_SrsStatisticsInfo g_EUL_SrsStatisticsInfo[2];
+ extern T_zPHY_EUL_PrachStatisticsInfo g_EUL_PrachStatisticsInfo;
+ extern T_zPHY_EUL_HarqTransStatisticsInfo g_EUL_HarqTransStatisticsInfo[2];
+ extern T_zPHY_EUL_Dci0Info g_EUL_Dci0Info[2];
+ extern T_zPHY_EUL_DCI3Or3AInfo g_EUL_DCI3Or3AInfo[2];
+ extern T_zPHY_EUL_PowerCtrlInfo g_EUL_PowerCtrlInfo[2];
+ extern T_zPHY_ULDL_Flow_Info g_ULDL_Flow_Info;
+ extern T_zPHY_EDFE_SYSTEM_INFO g_EDFE_SYSTEM_INFO;
+ extern T_zPHY_EDL_CALC_For_SINR g_EDL_CALC_For_SINR;
+ #if 0
+
+ extern T_ZPHY_ERFC_INFO g_ERFC_INFO;
+ extern T_zPHY_ECSR_DebugMibInfo g_ECSR_DebugMibInfo;
+ extern T_zPHY_ECSR_MeasConfigInfo g_ECSR_MeasConfigInfo;
+ extern T_zPHY_ECSR_MeasMaskSetInfo g_ECSR_MeasMaskSetInfo;;
+ extern T_zPHY_ECSR_CellDataBaseInfo g_ECSR_CellDataBaseInfo;
+
+
+ extern T_zPHY_EUE_Info g_EUE_Info;
+#endif
+#endif
+/*CMN_M004 End */
+
+/**************************************************************************
+ * È«¾Öº¯ÊýÔÐÍ *
+ **************************************************************************/
+
+
+/*****************************************************************************
+ * º¯ÊýÃû £ºzPHY_VersionInfo
+ * ¹¦ÄÜ £ºLTEÎïÀí²ãÄÚ²¿°æ±¾ÐÅϢά»¤
+ * ÊäÈë²ÎÊý £ºÎÞ
+ * Êä³ö²ÎÊý £ºÎÞ
+ * ·µ»ØÖµËµÃ÷ £ºÎÞ
+ * ÆäËû˵Ã÷ £º
+ *****************************************************************************/
+VOID zPHY_VersionInfo(VOID);
+
+#endif
diff --git a/pub/include/tools/phy_td_log_if.h b/pub/include/tools/phy_td_log_if.h
new file mode 100644
index 0000000..2ff44d4
--- /dev/null
+++ b/pub/include/tools/phy_td_log_if.h
@@ -0,0 +1,116 @@
+/********************************************************************
+* °æÈ¨ËùÓÐ (C)2015, ÉîÛÚÊÐÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
+*
+* ÎļþÃû³Æ£º phy_td_log_if.h
+* Îļþ±êʶ£º
+* ÄÚÈÝÕªÒª£ºÎïÀí²ã±ê×¼LOGÊä³öµÄ½Ó¿ÚÎļþ
+* ÆäËü˵Ã÷£º
+* µ±Ç°°æ±¾£º
+* ×÷ Õߣº
+* Íê³ÉÈÕÆÚ£º
+*
+* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
+* -----------------------------------------------
+* 2015/8/07 V1.0 L1td н¨
+************************************************************************/
+#ifndef PHY_TD_LOG_IF_H
+#define PHY_TD_LOG_IF_H
+
+//TDÎïÀí²ãÏûÏ¢ÀàÐÍö¾Ù
+typedef enum
+{
+ PA_ENG_CMD = 1,
+ PA_INTER_MSG = 2,
+ PA_PRINT_MSG = 3,
+ PA_HCI_MSG = 4,
+ PA_HOOK_MSG = 5,
+
+ PA_ENG_MISS_PACKET = 6,
+ PA_DATA_DUMP = 7,
+ PA_MEAS_INTRA_INFO = 8,
+ PA_MEAS_INTER_INFO = 9,
+ PA_HDTR_HSSCCH_INFO = 10,
+ PA_JD_PHY_CH_CFG_LOG = 11,
+ PA_JD_PICH_DETECT_LOG = 12,
+ PA_JD_ACD_LOG = 13,
+ PA_JD_INTERRUPT_LOG = 14,
+ PA_JD_PHY_CH_CFG_REL_TIME_LOG = 15,
+ PA_JD_CELL_CFG_LOG = 16,
+ PA_CSR_DWPTS_POS_LOG = 17,
+ PA_CSR_SYNC_MODE_LOG = 18,
+ PA_CSR_MIDAMBLE_LOG = 19,
+ PA_CSR_MULTI_RESULT_LOG = 20,
+ PA_01B_AFC_INFO = 21,
+ PA_01B_AFC_PATH_INFO = 22,
+ PA_02B_AFC_INFO = 23,
+ PA_02B_AFC_PATH_INFO = 24,
+ PA_RFC_AGC_INFO = 25,
+ PA_RFC_RFC_INFO = 26,
+ PA_L1S_DL_DATA_IND = 27,
+ PA_RES_MAP_INFO = 28,
+ PA_MIPS_INFO = 29,
+ PA_PHY_VER_INFO = 30,
+ ENG_MSG_TYPE_MAX_NUM
+}E_PaMsgType; //ZCat---PA_MSG_TYPE ÓÐÐÞ¸Ä
+
+typedef enum
+{
+ HOOK_EVENT_ID_SWAP = 1,
+ HOOK_EVENT_ID_CREATE_PRO = 2,
+ HOOK_EVENT_ID_SEND = 3,
+ HOOK_EVENT_ID_ALLOC = 4,
+ HOOK_EVENT_ID_FREE = 5,
+}E_HookEventId; //ZCat--- ֮ǰÎÞ¶¨Òå Ö»ÓÐö¾Ù
+
+
+typedef struct
+{
+ U16 wHeader; /* PA_TRACE_PACKET_HEADER 0x69E8*/
+ U16 wSfn; /* sfn */
+ U16 wCfn; /* cfn */
+ U16 wChip; /* chip */
+ U16 wType:8; /* 0-63 type */
+ U16 wProcId:8; /* 0-127 proc_id */
+ U16 wLen; /* len */
+ U16 wSsfnH; /*ssfnµÄ¸ß16λ*/
+ U16 wSsfnL; /*ssfnµÄµÍ16λ*/
+}T_EngPaHeader;
+
+typedef struct
+{
+ U16 wMsgId;
+ U16 wMsgLen;
+}T_EngPaHciMsg;/*PHYºÍPS½Ó¿ÚÏûÏ¢*/
+
+
+typedef struct
+{
+ U16 wMsgId; /* message id, according to physical software, need scan the whole code */
+ U16 wParaNum; /* each parameter hold 16bits */
+}T_EngPaPrintMsg;/*×Ô¶¨Òå´òÓ¡ÐÅÏ¢*/
+
+typedef struct
+{
+ U16 wEventId; /* ½ø³ÌÇл»£¬µ±Ç°½ø³ÌidÒѾÔÚheader.proc_idÅäÖÃ*/
+ U16 wReceiverPid;/* next */
+}T_EngPaHook;/*HOOKÏûÏ¢*/
+
+typedef struct
+{
+ U16 wMsgId;
+ U16 wMsgLen;
+}T_EngPaInternalMsg;/*PHYÄÚ²¿¸÷Ä£¿é½»»¥ÏûÏ¢*/
+
+typedef struct
+{
+ U16 wPeriod;
+ U16 wMissNum;
+}T_EngMissPacket;
+
+typedef struct
+{
+ U16 wMsgId;
+ U16 wMsgLen;
+}T_EngPaDumpData;
+
+#endif
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 */
+
+