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

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/pub/include/tools/phy_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