blob: c3e847cbf2f3e41a87c2f3ebdc1b0ec572521a6d [file] [log] [blame]
#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