blob: 62f817f9a78a510449350f241f03c2022b50298a [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#ifndef _PHY_LTE_LOG_IF_H
2#define _PHY_LTE_LOG_IF_H
3
4#ifndef ZPHY_DEBUG_TMT_SIZE
5#define ZPHY_DEBUG_TMT_SIZE ((UINT32)10)
6#endif
7
8#ifndef ZPHY_SUBFRAMES_PER_FRAME
9#define ZPHY_SUBFRAMES_PER_FRAME ((UINT32)10)
10#endif
11//LTEÎïÀí²ãÏûÏ¢½á¹ûÌå
12/*========================================================================
13LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_ECSR_PSSINFO
14˵Ã÷£ºPSS Result
15=========================================================================*/
16typedef struct
17{
18 WORD16 wHeader; /* µ÷ÊÔÐÅÏ¢Êý¾Ý°üָʾͷ£¬¹Ì¶¨Îª0x69E8 */
19 WORD16 wLogType:8; /* Êä³öLOGÀàÐÍ£¬¼ûEngLogType¶¨Òå*/
20 WORD16 wProcId:8; /* µ±Ç°½ø³ÌID */
21 WORD16 wSubFrame:5;
22 WORD16 wFrame:11;
23 WORD16 wSuperSubFrame;
24 WORD16 wLen; /* Êä³öµ÷ÊÔÐÅÏ¢µÄ³¤¶È£¬²»°üÀ¨EngLogHeader£¬µ¥Î»×Ö½Ú */
25 WORD16 wReserved;
26}T_LteEngLogHeader;
27
28
29typedef struct
30{
31 WORD16 wMsgId; /* ±ê×¼LOGµÄÏûÏ¢ID£¬¾ßÌå´ýºóÐø¶¨Òå */
32 WORD16 wMsgLen; /* ±ê×¼LOGµÄ³¤¶È */
33}T_LteEngStandardMsg; /* ±ê×¼LOGÊä³öµÄÐÅϢͷ */
34
35typedef struct
36{
37 WORD16 wMsgId; /* ×Ô¶¨Òå´òÓ¡µÄÏûÏ¢ID */
38 WORD16 wPri:8; /* ×Ô¶¨Òå´òÓ¡µÄÓÅÏȼ¶ */
39 WORD16 wParaNum:8; /* ×Ô¶¨Òå´òÓ¡µÄ²ÎÊý¸öÊý */
40}T_LteEngPrintMsg; /* ×Ô¶¨Òå´òÓ¡µÄÐÅϢͷ */
41
42typedef struct
43{
44 WORD16 wMsgId; /* W_PHYÓëЭÒéÕ»½Ó¿ÚÏûÏ¢µÄID */
45 WORD16 wMsgLen; /* Êä³ö½Ó¿ÚÏûÏ¢ÄÚÈݵij¤¶È */
46}T_LteEngHciMsg; /* ÓëЭÒéÕ»½Ó¿ÚÏûÏ¢Êä³öµÄÐÅϢͷ */
47
48typedef enum
49{
50 E_LTE_SWAP_HOOK = 0,
51 E_LTE_SEND_HOOK,
52 E_LTE_TRACE_HOOK,
53}E_LteHookEventId;
54
55typedef struct
56{
57 WORD16 wEventId; /* HOOKÐÅÏ¢µÄʼþID */
58 WORD16 wPara; /* ¶ÔÓÚSWAP_HOOK£¬wParaΪĿ±ê½ø³ÌID£»
59 ¶ÔÓÚSEND_HOOK£¬wParaΪ·¢ËÍÏûÏ¢ID£»
60 ¶ÔÓÚTRACE_HOOK£¬wParaΪµ÷ÊÔ¸ú×ÙÊý¾Ý */
61}T_LteEngHookMsg; /* HOOKÊä³öµÄÐÅϢͷ */
62
63
64typedef struct
65{
66 WORD16 wDataType; /* ץȡÊý¾ÝµÄÀàÐÍ£¬¾ßÌå´ýºóÐø¶¨Òå */
67 WORD16 wDataLen; /* ץȡÊý¾ÝµÄ³¤¶È */
68}T_LteEngDataDump; /* Êý¾ÝץȡLOGµÄÐÅϢͷ */
69
70
71
72typedef struct
73{
74 UINT32 dwPssPeakVal; /* PSS Peak Value Data */
75 UINT32 dwPeakPosition; /* Peak Position */
76 UINT32 dwPssIndicies; /* PSS Indicies */
77}T_zPHY_PSSInfo;
78
79typedef struct
80{
81 UINT16 wUarfcn; /* Ƶµã */
82 UINT16 wpading;
83 T_zPHY_PSSInfo atPSSInfo[16];
84}T_zPHY_UarfcnPssInfo;
85
86typedef struct
87{
88 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
89 T_zPHY_UarfcnPssInfo atUarfcnPssInfo[4];
90}T_zPHY_ECSR_PssInfo;
91/*========================================================================
92LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_ECSR_SERCELLFRMTIMING
93˵Ã÷£ºServing Cell Frame Timing
94=========================================================================*/
95typedef struct
96{
97 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
98
99 UINT32 dwStDlFrmTimeOffset; /* DL Frame Timing Offse */
100 UINT32 dwStUlFrmTimeOffset; /* UL Frame Timing Offse */
101 UINT32 dwStUlTA; /* UL Timing Advance */
102
103 UINT16 wChDlFrmTime; /* Change in DL Frame Timing */
104 UINT16 wChUlFrmTime; /* Change in UL Frame Timing */
105}T_zPHY_ECSR_SerCellFrmTiming;
106/*========================================================================
107LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_ECSR_SSSINFO
108˵Ã÷£ºSSS Result
109=========================================================================*/
110typedef struct
111{
112 UINT16 wCellId; /* Barred Cell ID */
113}T_zPHY_BarredCellId;
114
115typedef struct
116{
117 UINT32 dwSSSPeakVal; /* SSS Peak Value Data */
118 UINT32 dwSSSPositon; /* SSS Position */
119 UINT32 dwCpMode; /* CP */
120 UINT32 dwHalfFrmHypth; /* Half Frame Hypothesis */
121}T_zPHY_DetectedCell;
122
123typedef struct
124{
125 T_zPHY_BarredCellId atBarredCellId[16];
126 T_zPHY_DetectedCell atDetectedCell[32];
127}T_zPHY_ECSR_SSSInfo;
128/*========================================================================
129LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_ECSR_SERCELL_MEAS_RESULT
130˵Ã÷£ºServing Cell MeasureMent Result
131=========================================================================*/
132typedef struct
133{
134 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
135 UINT16 wIsIdleMode; /* Is Idle Mode */
136 UINT16 wMeasBW; /* Measurement BW */
137 UINT16 wCellId; /* Cell ID */
138 UINT16 wpading; /* ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
139 UINT32 dwRxTimeOffset; /* Timing Offset Rx */
140}T_zPHY_ECSR_SerCellMeasResult;
141/*========================================================================
142LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_ECSR_NEBORCELL_MEAS_RESULT
143˵Ã÷£ºNeighbor Cell Measurements and Tracking
144=========================================================================*/
145typedef struct
146{
147 UINT32 dwEarfcn; /* Ƶµã */
148 UINT32 dwDuplexMode; /* TDD or FDD*/
149 UINT16 wCellId; /* Ð¡ÇøID */
150 UINT16 wCpmode; /* CP mode */
151}T_zPHY_CellInfo;
152
153typedef struct
154{
155 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
156 T_zPHY_CellInfo tCellInfo;
157}T_zPHY_ECSR_NeborCellMeasResult;
158/*========================================================================
159LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_PBCH_INFO
160˵Ã÷£ºPBCH
161=========================================================================*/
162typedef struct
163{
164 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
165 UINT16 wSerCellId; /* Serving Cell ID */
166 UINT16 wTransAntCnf; /* Transmit Antenna Config */
167 UINT16 wSfnOffset; /* SFN Offset */
168 UINT16 wCrcValue; /* CRC */
169}T_zPHY_ECSR_PbchInfo;
170/*========================================================================
171LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_GLB_MIB_INFO
172˵Ã÷£ºMIBÐÅÏ¢
173=========================================================================*/
174typedef struct
175{
176 UINT32 dwMibRefreshFlag; //MIBÐÅÏ¢¸üбêÖ¾£¬ÓиüÐÂÔòÖÃ1
177 UINT32 dwMibInfo; //MIBÐÅÏ¢
178} T_zPHY_ECSR_MibInfo;
179/*========================================================================
180LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_GLB_CSR_MEASURE_INFO
181˵Ã÷£ºRSRP¡¢RSRQ¡¢RSSIÐÅÏ¢
182=========================================================================*/
183typedef struct
184{
185 UINT32 dwServerCellId; /* ·þÎñÐ¡ÇøID */
186
187 SINT32 sdwCsrmRssi; /* RSSI */
188 SINT32 sdwCsrmRsrq; /* RSRQ */
189 SINT32 sdwCsrmRsrp; /* RSRP */
190
191 SINT32 sdwCsrmRssiAnt0; /* ÌìÏß0 RSSI */
192 SINT32 sdwCsrmRssiAnt1; /* ÌìÏß1 RSSI */
193
194 SINT32 sdwCsrmRsrpAnt0; /* ÌìÏß0 RSRP */
195 SINT32 sdwCsrmRsrpAnt1; /* ÌìÏß1 RSRP */
196
197 SINT32 sdwCsrmRsrqAnt0; /* ÌìÏß0 RSRQ */
198 SINT32 sdwCsrmRsrqAnt1; /* ÌìÏß0 RSRQ */
199}T_zPHY_ECSR_MeasureInfo;
200/*========================================================================
201LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_PCFICH_INFO
202˵Ã÷£ºPCFICHͳ¼ÆÐÅÏ¢
203=========================================================================*/
204typedef struct
205{
206 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
207 UINT16 aucDlCfiTab[10]; /*Ñ­»·Í³¼Æ10¸ö×ÓÖ¡µÄCFIÖµ*/
208 UINT32 adwDlCfiValue[4]; /*ͳ¼Æ²»Í¬CFIÖµµÄ¸öÊý*/
209 UINT32 adwDlCfiValueSubf[10][4]; /*°´×Ó֡ͳ¼Æ²»Í¬CFIÖµµÄ¸öÊý*/
210}T_ZPHY_EDL_PCFICH_INFO;
211/*========================================================================
212LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_PHICH_INFO
213˵Ã÷£ºPHICHͳ¼ÆÐÅÏ¢
214=========================================================================*/
215typedef struct
216{
217 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
218 UINT16 ucNg; /* Ng */
219 UINT16 ucHiDuration; /* PHICH Duration */
220 UINT32 adwPhichAckNum[2][10]; /* PHICH1¡¢2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
221 UINT32 adwPhichNackNum[2][10]; /* PHICH1¡¢2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
222 UINT32 adwPhichAckSumNum[2]; /* PHICH1¡¢2 °´×ܵÄÀÛ¼Óͳ¼Æ */
223 UINT32 adwPhichNackSumNum[2]; /* PHICH1¡¢2 °´×ܵÄÀÛ¼Óͳ¼Æ */
224 UINT16 aucPhich1Grp[10]; /* PHICH1µÄ×éºÅ */
225 UINT16 aucPhich1Seq[10]; /* PHICH1µÄÀ©ÆµÐòÁкŠ*/
226 UINT16 aucPhich2Grp[10]; /* PHICH2µÄ×éºÅ */
227 UINT16 aucPhich2Seq[10]; /* PHICH2µÄÀ©ÆµÐòÁкŠ*/
228 UINT32 dwPHICH_AckNum;
229 UINT32 dwPHICH_NackNum;
230}T_ZPHY_EDL_PHICH_INFO;
231/*========================================================================
232LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_PDCCH_INFO
233˵Ã÷£ºPDCCHä¼ì²âͳ¼ÆÐÅÏ¢
234=========================================================================*/
235typedef struct
236{
237 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
238 /*Statistic Si-Rnti Dci Info*/
239 UINT32 adwSiRntiDci1ANum[10]; /* Si-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
240 UINT32 adwSiRntiDci1CNum[10]; /* Si-Rnti DCI_1C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
241 UINT32 dwSiRntiDci1ASumNum; /* Si-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
242 UINT32 dwSiRntiDci1CSumNum; /* Si-Rnti DCI_1C ×ܵÄÀÛ¼Ó */
243 UINT32 dwSiRntiDciSumNum;
244
245 /*Statistic P-Rnti Dci Info*/
246 UINT32 adwPRntiDci1ANum[10]; /* P-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
247 UINT32 adwPRntiDci1CNum[10]; /* P-Rnti DCI_1C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
248 UINT32 dwPRntiDci1ASumNum; /* P-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
249 UINT32 dwPRntiDci1CSumNum; /* P-Rnti DCI_1C ×ܵÄÀÛ¼Ó */
250 UINT32 dwPRntiDciSumNum;
251
252 /*Statistic Ra-Rnti Dci Info*/
253 UINT32 adwRaRntiDci1ANum[10]; /* Ra-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
254 UINT32 adwRaRntiDci1CNum[10]; /* Ra-Rnti DCI_1C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
255 UINT32 dwRaRntiDci1ASumNum; /* Ra-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
256 UINT32 dwRaRntiDci1CSumNum; /* Ra-Rnti DCI_1C ×ܵÄÀÛ¼Ó */
257 UINT32 dwRaRntiDciSumNum;
258
259 /*Statistic C-Rnti Dci Info*/
260 UINT32 adwCRntiDci1Num[10]; /* C-Rnti DCI_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
261 UINT32 adwCRntiDci1ANum[10]; /* C-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
262 UINT32 adwCRntiDci1BNum[10]; /* C-Rnti DCI_1B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
263 UINT32 adwCRntiDci1DNum[10]; /* C-Rnti DCI_1D °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
264 UINT32 adwCRntiDci2Num[10]; /* C-Rnti DCI_2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
265 UINT32 adwCRntiDci2ANum[10]; /* C-Rnti DCI_2A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
266 UINT32 adwCRntiDci2BNum[10]; /* C-Rnti DCI_2B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
267 UINT32 dwCRntiDci1SumNum; /* C-Rnti DCI_1 ×ܵÄÀÛ¼Ó */
268 UINT32 dwCRntiDci1ASumNum; /* C-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
269 UINT32 dwCRntiDci1BSumNum; /* C-Rnti DCI_1B ×ܵÄÀÛ¼Ó */
270 UINT32 dwCRntiDci1DSumNum; /* C-Rnti DCI_1D ×ܵÄÀÛ¼Ó */
271 UINT32 dwCRntiDci2SumNum; /* C-Rnti DCI_2 ×ܵÄÀÛ¼Ó */
272 UINT32 dwCRntiDci2ASumNum; /* C-Rnti DCI_2A ×ܵÄÀÛ¼Ó */
273 UINT32 dwCRntiDci2BSumNum; /* C-Rnti DCI_2B ×ܵÄÀÛ¼Ó */
274 UINT32 dwCRntiDciSumNum;
275
276 /*Statistic Tpc-Rnti Dci Info*/
277 UINT32 adwTpcRntiDci3Num[10]; /* Tpc-Rnti DCI_3 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
278 UINT32 adwTpcRntiDci3ANum[10]; /* Tpc-Rnti DCI_3A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
279 UINT32 dwTpcRntiDci3SumNum; /* Tpc-Rnti DCI_3 ×ܵÄÀÛ¼Ó */
280 UINT32 dwTpcRntiDci3ASumNum; /* Tpc-Rnti DCI_3A ×ܵÄÀÛ¼Ó */
281 UINT32 dwPucchTpcDci33ASumNum;
282 UINT32 dwPuschTpcDci33ASumNum;
283
284 /*Statistic Sps-Rnti Dci Info*/
285 UINT32 adwSpsRntiDci1Num[10]; /* Sps-Rnti DCI_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
286 UINT32 adwSpsRntiDci1ANum[10]; /* Sps-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
287 UINT32 adwSpsRntiDci2Num[10]; /* Sps-Rnti DCI_2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
288 UINT32 adwSpsRntiDci2ANum[10]; /* Sps-Rnti DCI_2A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
289 UINT32 adwSpsRntiDci2BNum[10]; /* Sps-Rnti DCI_2B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
290 UINT32 dwSpsRntiDci1SunNum; /* Sps-Rnti DCI_1 ×ܵÄÀÛ¼Ó */
291 UINT32 dwSpsRntiDci1ASunNum; /* Sps-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
292 UINT32 dwSpsRntiDci2SunNum; /* Sps-Rnti DCI_2 ×ܵÄÀÛ¼Ó */
293 UINT32 dwSpsRntiDci2ASunNum; /* Sps-Rnti DCI_2A ×ܵÄÀÛ¼Ó */
294 UINT32 dwSpsRntiDci2BSunNum; /* Sps-Rnti DCI_2B ×ܵÄÀÛ¼Ó */
295
296 /*Statistic Tc-Rnti Dci Info*/
297 UINT32 adwTcRntiDci1Num[10]; /* Tc-Rnti DCI_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
298 UINT32 adwTcRntiDci1ANum[10]; /* Tc-Rnti DCI_1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
299 UINT32 dwTcRntiDci1SumNum; /* Tc-Rnti DCI_1 ×ܵÄÀÛ¼Ó */
300 UINT32 dwTcRntiDci1ASumNum; /* Tc-Rnti DCI_1A ×ܵÄÀÛ¼Ó */
301
302 /*Statistic Dci Total Number*/ /* ÉÏÊö×ÛºÏÀàͳ¼Æ */
303 UINT32 adwValidDci0_1Num[10]; /* DCI0_1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
304 UINT32 adwValidDci0_2Num[10]; /* DCI0_2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
305 UINT32 adwValidDci1Num[10]; /* DCI1 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
306 UINT32 adwValidDci1ANum[10]; /* DCI1A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
307 UINT32 adwValidDci1CNum[10]; /* DCI1C °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
308 UINT32 adwValidDci2Num[10]; /* DCI2 °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
309 UINT32 adwValidDci2ANum[10]; /* DCI2A °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
310 UINT32 adwValidDci2BNum[10]; /* DCI2B °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
311 UINT32 dwValidDci0_1SumNum; /* DCI0_1 ×ܵÄÀÛ¼Ó */
312 UINT32 dwValidDci0_2SumNum; /* DCI0_2 ×ܵÄÀÛ¼Ó */
313 UINT32 dwValidDci1SumNum; /* DCI1 ×ܵÄÀÛ¼Ó */
314 UINT32 dwValidDci1ASumNum; /* DCI1A ×ܵÄÀÛ¼Ó */
315 UINT32 dwValidDci1CSumNum; /* DCI1C ×ܵÄÀÛ¼Ó */
316 UINT32 dwValidDci2SumNum; /* DCI2 ×ܵÄÀÛ¼Ó */
317 UINT32 dwValidDci2ASumNum; /* DCI2A ×ܵÄÀÛ¼Ó */
318 UINT32 dwValidDci2BSumNum; /* DCI2B ×ܵÄÀÛ¼Ó */
319
320 UINT32 dwPdcchDlGrantCnt; /* ÊÚȨͳ¼Æ£¬×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈ룬¿ÉÓÉÉÏÊöDCIÐÅÏ¢Àۼӵõ½*/
321}T_ZPHY_EDL_PDCCH_INFO;
322/*========================================================================
323LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_PDSCH_INFO
324˵Ã÷£ºPDSCH½âÂëͳ¼ÆÐÅÏ¢
325=========================================================================*/
326typedef struct
327{
328 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
329 /*Statistic C-Rnti PDSCH Decode Info*/
330 UINT32 adwCRntiTbCrcOkNum[2][10]; /* TB1¡¢2 C-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
331 UINT32 adwCRntiTbCrcErrNum[2][10]; /* TB1¡¢2 C-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
332 UINT32 adwCRntiTbCrcOkSumNum[2]; /* TB1¡¢2 C-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
333 UINT32 adwCRntiTbCrcErrSumNum[2]; /* TB1¡¢2 C-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
334
335 /*Statistic Si-Rnti PDSCH Decode Info*/
336 UINT32 adwSiRntiCrcOkNum[10]; /* Si-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
337 UINT32 adwSiRntiCrcErrNum[10]; /* Si-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
338 UINT32 dwSiRntiCrcOkSumNum; /* Si-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
339 UINT32 dwSiRntiCrcErrSumNum; /* Si-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
340
341 /*Statistic P-Rnti PDSCH Decode Info*/
342 UINT32 adwPRntiCrcOkNum[10]; /* P-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
343 UINT32 adwPRntiCrcErrNum[10]; /* P-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
344 UINT32 dwPRntiCrcOkSumNum; /* P-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
345 UINT32 dwPRntiCrcErrSumNum; /* P-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
346
347 /*Statistic Ra-Rnti PDSCH Decode Info*/
348 UINT32 adwRaRntiCrcOkNum[10]; /* Ra-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
349 UINT32 adwRaRntiCrcErrNum[10]; /* Ra-Rnti ½âÂë CRC_ERR °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
350 UINT32 dwRaRntiCrcOkSumNum; /* Ra-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
351 UINT32 dwRaRntiCrcErrSumNum; /* Ra-Rnti ½âÂë CRC_ERR ×ܵÄÀÛ¼Ó */
352
353 /*Statistic Sps-Rnti PDSCH Decode Info*/
354 UINT32 adwSpsRntiCrcOkNum[10]; /* Sps-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
355 UINT32 adwSpsRntiCrcErrNum[10]; /* Sps-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
356 UINT32 dwSpsRntiCrcOkSumNum; /* Sps-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
357 UINT32 dwSpsRntiCrcErrSumNum; /* Sps-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
358
359 /*Statistic Tc-Rnti PDSCH Decode Info*/
360 UINT32 adwTcRntiCrcOkNum[10]; /* Tc-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
361 UINT32 adwTcRntiCrcErrNum[10]; /* Tc-Rnti ½âÂë CRC_OK °´×ÓÖ¡µ¥¶ÀÀÛ¼Ó */
362 UINT32 dwTcRntiCrcOkSumNum; /* Tc-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
363 UINT32 dwTcRntiCrcErrSumNum; /* Tc-Rnti ½âÂë CRC_OK ×ܵÄÀÛ¼Ó */
364 UINT32 dwPDSCH_TB1CrcAckNum;
365 UINT32 dwPDSCH_TB1CrcNackNum;
366 UINT32 dwPDSCH_TB2CrcAckNum;
367 UINT32 dwPDSCH_TB2CrcNackNum;
368}T_ZPHY_EDL_PDSCH_INFO;
369/*========================================================================
370LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_HARQ_INFO
371˵Ã÷£ºÏÂÐÐHARQÐÅϢͳ¼Æ
372=========================================================================*/
373typedef struct
374{
375 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
376 UINT32 adwRevTb1RvNum[4]; /* TB1 ¸÷×Ôµ¥¶ÀÀÛ¼Óͳ¼Æ */
377 UINT32 adwRevTb2RvNum[4]; /* TB2 ¸÷×Ôµ¥¶ÀÀÛ¼Óͳ¼Æ */
378
379 /*ÏÂÐÐÄ£¿é¸÷Harq ID ACK¡¢NACKÊý*/
380 /* ×î´óÖ§³Ö15¸öHarq ProcessµÄBLERͳ¼Æ */
381 /*ÏÂÐÐ TB1*/
382 UINT32 adwDlTb1HarqIdAck[15]; /* TB1 15¸öHARQ IDµÄACKÐÅÏ¢£¬¸÷ID×ܵÄÀÛ¼Ó£¬Â·²àµÈÒýÈë */
383 UINT32 adwDlTb1HarqIdNack[15]; /* TB1 15¸öHARQ IDµÄNACKÐÅÏ¢£¬¸÷ID×ܵÄÀÛ¼Ó£¬Â·²àµÈÒýÈë */
384
385 /*ÏÂÐÐ TB2*/
386 UINT32 adwDlTb2HarqIdAck[15]; /* TB2 15¸öHARQ IDµÄACKÐÅÏ¢£¬¸÷ID×ܵÄÀÛ¼Ó£¬Â·²àµÈÒýÈë */
387 UINT32 adwDlTb2HarqIdNack[15]; /* TB2 15¸öHARQ IDµÄNACKÐÅÏ¢£¬¸÷ID×ܵÄÀÛ¼Ó£¬Â·²àµÈÒýÈë */
388
389 /* ÏÂÐеÚÒ»´Î¡¢µÚ¶þ´Î¡¢µÚÈý´Î¡¢µÚËÄ´ÎÖØ´«³É¹¦´ÎÊý */
390 UINT32 adwDlHarqSuccNum[2][4]; /* TB1¡¢TB2ÖØ´«³É¹¦´ÎÊýͳ¼Æ£¬ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
391}T_ZPHY_EDL_HARQ_INFO;
392/*========================================================================
393LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_PA_INFO
394˵Ã÷£ºÏÂÐй¦ÂÊ·ÖÅäÐÅϢͳ¼Æ
395=========================================================================*/
396typedef struct
397{
398 UINT16 ucPowerA; /* À´×ÔDedicatedÏûÏ¢µÄÓÃÓÚPDSCH¹¦Âʲ¹³¥µÄ²ÎÊý */
399 UINT16 ucPowerB; /* À´×ÔCommonÏûÏ¢µÄÓÃÓÚPDSCH¹¦Âʲ¹³¥µÄ²ÎÊý */
400}T_ZPHY_EDL_PA_INFO;
401/*========================================================================
402LOGÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_FLOW_INFO
403˵Ã÷£ºÏÂÐÐÁ÷Á¿ÐÅϢͳ¼Æ
404=========================================================================*/
405typedef struct
406{
407 UINT32 dwPeakFlow;
408 UINT32 dwMeanFlow;
409 UINT32 dwBlerAckCount; /*Only Statistic C-Rnti Pdsch*/
410 UINT32 dwBlerNackCount; /*Only Statistic C-Rnti Pdsch*/
411}T_ZPHY_EDL_FLOW_INFO;
412/*========================================================================
413EVENTÀàÐÍ£ºLOG_TOOL_LTE_PHY_DL_DCI_INFO
414˵Ã÷£º
415=========================================================================*/
416typedef struct
417{
418 UINT32 dwSFN;
419 UINT32 dwResource;
420 UINT32 adwPdschBmp[14];
421 UINT16 cRaType;
422 UINT16 cRbNum;
423 UINT16 cRbStart;
424 UINT16 cRbLength;
425 UINT16 cHarqId;
426 UINT16 cTb1Mcs;
427 UINT16 cTb2Mcs;
428 UINT16 cTb1Ndi;
429 UINT16 cTb2Ndi;
430 UINT16 cTb1Rv;
431 UINT16 cTb2Rv;
432 UINT16 cDaiIdx;
433}T_zPHY_DciInfo;
434
435/* ÏÂÐÐDCIµ÷¶ÈÐÅÏ¢ */
436typedef struct
437{
438 T_zPHY_DciInfo atDciInfo[10]; /* 10¸ö×ÓÖ¡µÄµ±Ç°DCIÐÅÏ¢ */
439}T_ZPHY_EDL_DCI_INFO;
440/*========================================================================
441LOG_TOOL_LTE_PHY_EXT_PUCCHFMT_STAT_INFO
442˵Ã÷£º PUCCH FMT ¸ñʽͳ¼ÆÐÅÏ¢
443=========================================================================*/
444typedef struct
445{
446 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
447 UINT32 dwUlaPucchFmt1Cnt; /* PUCCH Format1 ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
448 UINT32 dwUlaPucchFmt1aCnt; /* PUCCH Format1A ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
449 UINT32 dwUlaPucchFmt1bCnt; /* PUCCH Format1B ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
450 UINT32 dwUlaPucchFmt2Cnt; /* PUCCH Format2 ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
451 UINT32 dwUlaPucchFmt2aCnt; /* PUCCH Format2A ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
452 UINT32 dwUlaPucchFmt2bCnt; /* PUCCH Format2B ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ*/
453}T_zPHY_EUL_PucchFmtStatisticsInfo;
454/*========================================================================
455LOG_TOOL_LTE_PHY_EXT_BUNLDINGAN_STAT_INFO
456˵Ã÷£º ͳ¼ÆÏÂÐнâÂëµÄBunldingÐÅÏ¢
457=========================================================================*/
458typedef struct
459{
460 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
461 //PUCCH·´À¡
462 UINT32 dwUlaPucchBunldingAckCnt; /* µ¥Âë×ÖÏÂPUCCH BundlingºóµÄACKͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
463 UINT32 dwUlaPucchBunldingNackCnt; /* µ¥Âë×ÖÏÂPUCCH BundlingºóµÄNACKͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
464 UINT32 dwUlaPucchBunldingAckAckCnt; /* Á½Âë×ÖÏÂPUCCH BundlingºóµÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
465 UINT32 dwUlaPucchBunldingAckNackCnt; /* Á½Âë×ÖÏÂPUCCH BundlingºóµÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
466 UINT32 dwUlaPucchBunldingNackAckCnt; /* Á½Âë×ÖÏÂPUCCH BundlingºóµÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
467 UINT32 dwUlaPucchBunldingNackNackCnt; /* Á½Âë×ÖÏÂPUCCH BundlingºóµÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
468
469 //PUSCH·´À¡
470 UINT32 dwUlaPuschBunldingAckCnt; /* µ¥Âë×ÖÏÂPUSCH BundlingºóµÄACKͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
471 UINT32 dwUlaPuschBunldingNackCnt; /* µ¥Âë×ÖÏÂPUSCH BundlingºóµÄNACKͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
472 UINT32 dwUlaPuschBunldingAckAckCnt; /* Á½Âë×ÖÏÂPUSCH BundlingºóµÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
473 UINT32 dwUlaPuschBunldingAckNackCnt; /* Á½Âë×ÖÏÂPUSCH BundlingºóµÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
474 UINT32 dwUlaPuschBunldingNackAckCnt; /* Á½Âë×ÖÏÂPUSCH BundlingºóµÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
475 UINT32 dwUlaPuschBunldingNackNackCnt; /* Á½Âë×ÖÏÂPUSCH BundlingºóµÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
476
477
478 UINT32 dwPdcchUlGrantCnt; /* ÊÚȨͳ¼Æ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
479 UINT32 dwPuschDynPacketNum; /* ¶¯Ì¬°üͳ¼Æ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
480}T_zPHY_EUL_BunldingANStatisticsInfo;
481/*========================================================================
482LOG_TOOL_LTE_PHY_EXT_MUTIPLEXAN_STAT_INFO
483˵Ã÷£º PUCCH Multiplexing Ñ¡ÔñN1pucch×ÊԴͳ¼ÆÐÅÏ¢
484=========================================================================*/
485typedef struct
486{
487 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
488 UINT32 dwUlaN1pucch0Bits00Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch0×ÊÔ´µÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
489 UINT32 dwUlaN1pucch0Bits01Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch0×ÊÔ´µÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
490 UINT32 dwUlaN1pucch0Bits10Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch0×ÊÔ´µÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
491 UINT32 dwUlaN1pucch0Bits11Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch0×ÊÔ´µÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
492
493 UINT32 dwUlaN1pucch1Bits00Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch1×ÊÔ´µÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
494 UINT32 dwUlaN1pucch1Bits01Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch1×ÊÔ´µÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
495 UINT32 dwUlaN1pucch1Bits10Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch1×ÊÔ´µÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
496 UINT32 dwUlaN1pucch1Bits11Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch1×ÊÔ´µÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
497
498 UINT32 dwUlaN1pucch2Bits00Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch2×ÊÔ´µÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
499 UINT32 dwUlaN1pucch2Bits01Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch2×ÊÔ´µÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
500 UINT32 dwUlaN1pucch2Bits10Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch2×ÊÔ´µÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
501 UINT32 dwUlaN1pucch2Bits11Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch2×ÊÔ´µÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
502
503 UINT32 dwUlaN1pucch3Bits00Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch3×ÊÔ´µÄ[NACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
504 UINT32 dwUlaN1pucch3Bits01Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch3×ÊÔ´µÄ[NACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
505 UINT32 dwUlaN1pucch3Bits10Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch3×ÊÔ´µÄ[ACK NACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
506 UINT32 dwUlaN1pucch3Bits11Cnt; /* PUCCH Multiplexing Ñ¡ÔñN1pucch3×ÊÔ´µÄ[ACK ACK]ͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
507}T_zPHY_UL_MutiplexingANStatisticsInfo;
508/*========================================================================
509LOG_TOOL_LTE_PHY_EXT_SRHARQSIMUL_STAT_INFO
510˵Ã÷£ºSR HARQͳ¼ÆÐÅÏ¢
511=========================================================================*/
512typedef struct
513{
514 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
515 UINT32 dwUlaSrAndHarqCnt; /* PUCCH SRºÍACKÒ»Æð·´À¡µÄͳ¼Æ£¬¹Ì¶¨Ñ¡ÔñFormat 1b£¬²é±íÑ¡Ôñ2¸öbit£ºb(1),b(0)½øÐд«Êä ×ܵÄÀÛ¼ÓÖµ */
516 UINT32 dwUlaSrAndHarqBits00Cnt; /* Ñ¡Ôñb(1)=0 b(0)=0µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
517 UINT32 dwUlaSrAndHarqBits01Cnt; /* Ñ¡Ôñb(1)=0 b(0)=1µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
518 UINT32 dwUlaSrAndHarqBits10Cnt; /* Ñ¡Ôñb(1)=1 b(0)=0µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
519 UINT32 dwUlaSrAndHarqBits11Cnt; /* Ñ¡Ôñb(1)=1 b(0)=1µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
520}T_zPHY_UL_SrHarqSimulStatisticsInfo;
521/*========================================================================
522LOG_TOOL_LTE_PHY_EXT_CQIHARQSIMULSIMUL_STAT_INFO
523˵Ã÷£ºÉÏÐÐͳ¼ÆCQIÐÅÏ¢
524=========================================================================*/
525typedef struct
526{
527 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
528
529 UINT32 dwUlaCqiAndHarqCnt; /* PUCCH CQIºÍACKÒ»Æð·´À¡µÄͳ¼Æ£¬¹Ì¶¨Ñ¡ÔñFormat 2b£¬²é±íÑ¡Ôñ2¸öbit£ºb(1),b(0)½øÐд«Êä ×ܵÄÀÛ¼ÓÖµ */
530 UINT32 dwUlaCqiAndHarqBits00Cnt; /* Ñ¡Ôñb(1)=0 b(0)=0µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
531 UINT32 dwUlaCqiAndHarqBits01Cnt; /* Ñ¡Ôñb(1)=0 b(0)=1µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
532 UINT32 dwUlaCqiAndHarqBits10Cnt; /* Ñ¡Ôñb(1)=1 b(0)=0µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
533 UINT32 dwUlaCqiAndHarqBits11Cnt; /* Ñ¡Ôñb(1)=1 b(0)=1µÄ¸öÊý ×ܵÄÀÛ¼ÓÖµ */
534
535 UINT32 dwUlaPeriodicCQICnt; /* ÖÜÆÚCQI·´À¡µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
536 UINT32 dwUlaAperiodicCQICnt; /* PUSCHÉÏ·´À¡·ÇÖÜÆÚCQIµÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
537 UINT32 dwUlaRiCnt; /* RI·´À¡µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
538 UINT32 dwUlaPucchPeriodicCQICnt; /* PUCCH·´À¡ÖÜÆÚCQIµÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
539 UINT32 dwUlaPuschPeriodicCQICnt; /* PUSCH·´À¡ÖÜÆÚCQIµÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
540// UINT32 dwUlaPuschAperiodicCQICnt; * PUSCHÉÏ·´À¡·ÇÖÜÆÚCQIµÄͳ¼Æ,ÓëdwUlaAperiodicCQICntÒâÒåÒ»Ñù ×ܵÄÀÛ¼ÓÖµ */
541
542 /* ÒÔÏÂ7¸öCQIµÄͳ¼ÆÐÅÏ¢£¬¿ÉÒÔÓ뷲ಿ·Ö½øÐкϲ¢£¬¿ÉÒÔ¿¼Âǰ´×ÓÖ¡½øÐÐͳ¼Æ */
543 UINT32 adwUlaCqiVal[10]; /* CQIÖµ °´×ÓÖ¡·Ö±ðͳ¼Æ */
544 UINT32 adwUlaRiVal[10]; /* RIÖµ °´×ÓÖ¡·Ö±ðͳ¼Æ */
545 UINT32 adwUlaCqiFN[10]; /* ·´À¡CQIµÄÖ¡ºÅ */
546 UINT32 adwUlaCqiSFN[10]; /* ·´À¡CQIµÄ×ÓÖ¡ºÅ */
547
548 UINT16 awCqiReportPeriodFlag[10]; /* ÖÜÆÚCQI Flag */
549 UINT16 awSubFrameNum[10]; /* SIDÖеÄ×ÓÖ¡ºÅ */
550 UINT16 awFrameNum[10]; /* SIDÖеÄÖ¡ºÅ */
551 UINT32 dwUlMcs; //¶¦Àû¿ÉÓýӿÚUL MCS(ÉÏÐÐMCS)MCS Statistic Information,¿ÉÓÃͨ¹ýЭÒéµÃµ½QPSK\16QAM\64QAM
552 UINT32 dwCQI;
553 UINT32 dwPMI; /* PMI */
554 UINT32 dwRI; /* RI */
555 UINT32 dwWbCode0Cqi; /* Wideband Code0 CQI */
556 UINT32 dwWbCode1Cqi; /* Wideband Code1 CQI */
557 SINT32 sdwRank1Sinr; /* Rank1 SINR0 */
558 SINT32 sdwRank2Sinr0; /* Rank2 SINR0 */
559 SINT32 sdwRank2Sinr1; /* Rank2 SINR1 */
560 UINT32 dwTxDivFlag; /* Rank SINR ¼ÆËã¼õ3dbm±êÖ¾ */
561
562}T_zPHY_EUL_CqiHarqSimulStatisticsInfo;
563/*========================================================================
564LOG_TOOL_LTE_PHY_SRSTX_REPORT
565˵Ã÷£ºSRS ͳ¼Æ
566=========================================================================*/
567typedef struct
568{
569 UINT32 bUeSrsEnable; /* UE SRS Enable ÊÇ·ñUEÈ·¶¨·¢SRS*/
570 UINT32 bCellSrsEnable; /* Cell SRS Enable */
571 UINT32 dwStartRb; /* Start RB */
572 UINT32 dwRbNum; /* RBÊý */
573 UINT32 dwZcRoot; /* ZC Root */
574 UINT32 dwCyclicShift; /* Cyclic Shift */
575
576 UINT32 bToneOffsetEnable; /* Tone Offset Enable */
577}T_zPHY_SrsTx_Report;//µ±Ç°10¸ö×ÓÖ¡ÐÅÏ¢
578typedef struct
579{
580 UINT32 dwSFN; /* ʱ¼äÐÅÏ¢ */
581 UINT32 dwUlaSrsCnt; /* SRS·¢Ë͵Äͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
582 UINT32 adwdwUlaSrsCommSFCnt[10]; /* ÆÕͨ×ÓÖ¡·¢ËÍSRSµÄͳ¼Æ °´×ÓÖ¡ÀÛ¼ÓÖµ */
583
584 /* ÒÔÏÂ4¸ö²ÎÊýĿǰûÓи³Öµ²Ù×÷£¬±¸Óà begin */
585 UINT32 dwUlaSrsForTddSpecSF1LastSymbCnt; /* TDDÌØÊâ×ÓÖ¡1ÖÐ×îºóÒ»¸ö·ûºÅ·¢SRSµÄͳ¼Æ£¬°üÀ¨×îºóÁ½¸ö·ûºÅ¶¼·¢µÄÇé¿ö ×ܵÄÀÛ¼ÓÖµ */
586 UINT32 dwUlaSrsForTddSpecSF1LastSecondSymbCnt; /* TDDÌØÊâ×ÓÖ¡1Öе¹ÊýµÚ¶þ¸ö·ûºÅ·¢SRSµÄͳ¼Æ£¬°üÀ¨×îºóÁ½¸ö·ûºÅ¶¼·¢µÄÇé¿ö ×ܵÄÀÛ¼ÓÖµ */
587 UINT32 dwUlaSrsForTddSpecSF6LastSymbCnt; /* TDDÌØÊâ×ÓÖ¡6ÖÐ×îºóÒ»¸ö·ûºÅ·¢SRSµÄͳ¼Æ£¬°üÀ¨×îºóÁ½¸ö·ûºÅ¶¼·¢µÄÇé¿ö ×ܵÄÀÛ¼ÓÖµ */
588 UINT32 dwUlaSrsForTddSpecSF6LastSecondSymbCnt; /* TDDÌØÊâ×ÓÖ¡6ÖÐ×îºóÒ»¸ö·ûºÅ·¢SRSµÄͳ¼Æ£¬°üÀ¨×îºóÁ½¸ö·ûºÅ¶¼·¢µÄÇé¿ö ×ܵÄÀÛ¼ÓÖµ */
589 /* ÒÔÉÏ4¸ö²ÎÊýĿǰûÓи³Öµ²Ù×÷£¬±¸Óà over */
590 T_zPHY_SrsTx_Report atSrsTx_Report[10];//µ±Ç°10¸ö×ÓÖ¡ÐÅÏ¢
591}T_zPHY_EUL_SrsStatisticsInfo;
592/*========================================================================
593LOG_TOOL_LTE_PHY_EXT_PRACH_STAT_INFO
594˵Ã÷£ºPrach ͳ¼ÆÐÅÏ¢
595=========================================================================*/
596typedef struct
597{
598 UINT16 wParchPremFrmNo; /* preamble Ö¡ºÅ£¬Â·²àÈí¼þÒýÈë */
599 UINT16 cParchPremSubFrmNo; /* preamble ×ÓÖ¡ºÅ£¬Â·²àÈí¼þÒýÈë(ÒÔ¼°´æÔÚ32λµÄ) */
600 UINT16 cParchPremIndex; /* preamble ID */
601 UINT16 cPrachConfigIndex; /* ЭÒéջָʾµ±Ç°PHY¿ÉÓõÄprach resource¡£ÓÃÓÚ×ÊÔ´Ñ¡ÔñÒÔ¼°»ñÈ¡preambleµ±Ç°ËùÓøñʽ(0,63) */
602 UINT16 cHighSpeedFlag; /* ±êÖ¾µ±Ç°Ð¡ÇøÀàÐÍ(1:¸ßËÙÐ¡Çø,0:·Ç¸ßËÙ) */
603 UINT16 wNcs; /* NCSË÷ÒýÖµ */
604 UINT16 cPrachFrqOffset; /* prach resourceÔÚOFDM·ûºÅÉÏÆµÓòµÄÆ«ÒÆÖµ */
605 UINT16 wRootSwquenceIndex; /* ZCÐòÁÐÁãÏà¹ØÇøÓòÂß¼­¸ùÖ² */
606 UINT16 cNumberOfRAPreamble; /* Ëæ»ú½ÓÈëǰµ¼¸öÊý */
607 UINT16 cSizeOfRAPreamblesGroupA; /* Ëæ»ú½ÓÈëǰµ¼×éAµÄ¸öÊý */
608 UINT16 wMessageSizeGroupA; /* Ëæ»úǰµ¼×éAµÄÏûÏ¢³¤¶È */
609 UINT16 cMessagePowerOffetGroupB; /* ÓÃÓÚ½øÐÐǰµ¼Ñ¡Ôñ */
610 UINT16 cPowerRampingStep; /* ÉÏÐз¢ËÍpreamble¹¦Âʵ÷Õû²½³¤£¬ÓÃÓÚÖØ·¢preamble¹ý³ÌÖе÷Õû·¢É书ÂÊ */
611 UINT16 wPreambleTransMax; /* preamble×î´óÖØ´«´ÎÊý */
612 UINT16 cRAResponseWindowSize; /* ¼ì²âRARÐÅϢʱ¼ä´°³¤¶È */
613 UINT16 cMacContentionResolutionTimer; /* ¾ºÕùËæ»ú½ÓÈë¹ý³ÌÖмì²âmsg4ʱ¼ä´°¿Ú´óС */
614 UINT16 cMaxHQRQMsg3Tx; /* ¾ºÕù½â¾ö¹ý³ÌÖз¢ËÍmsg3ʱ£¬µ÷ÓÃHARQ¹ý³Ì×î´óÖØ´«´ÎÊý */
615 UINT16 wpading; /*ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
616 UINT16 awMsg1TxSysFrameNum[10]; /* Preamble·¢ËÍÖ¡ºÅµÄͳ¼Æ */
617 UINT16 awMsg1TxSubFrameNum[10]; /* Preamble·¢ËÍ×ÓÖ¡ºÅµÄͳ¼Æ */
618
619 UINT32 adwMsg1TxCnt[10]; /* Preamble·¢ËÍ´ÎÊýµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
620 UINT16 awMsg1TxFreqPos[10]; /* PreambleµÄƵÓòλÖÃnPRBµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
621 UINT16 acMsg1TxPreambleID[10]; /* Preamble IDµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
622 //SINT16 ascMsg1TxPower[10]; /* Preamble·¢Ë͹¦ÂʵÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
623 //UINT32 adwMsg1TxNumCnt[10]; /* Preamble·¢ËÍÊýµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
624 UINT32 adwMsg2RxMatchNumCnt[10]; /* RAR PIDÆ¥ÅäµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
625 UINT32 adwMsg2RxNotMatchNumCnt[10]; /* RAR PID²»Æ¥ÅäµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
626 UINT32 adwMsg3TxNumCnt[10]; /* Msg3·¢ËÍÊýÄ¿µÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
627 UINT32 adwMsg3TxAckNumCnt[10]; /* Msg3·¢ËÍÕýÈ·µÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
628 UINT32 adwMsg3TxNackNumCnt[10]; /* Msg3·¢ËÍ´íÎóµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
629 UINT32 adwMsg4RxNumCnt[10]; /* Msg4½ÓÊÕµÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
630 UINT32 adwMsg4RxAckNumCnt[10]; /* Msg4½ÓÊÕÕýÈ·µÄͳ¼Æ °´×ÓÖ¡µ¥¶ÀÀÛ¼Óͳ¼Æ */
631}T_zPHY_EUL_PrachStatisticsInfo;
632/*========================================================================
633LOG_TOOL_LTE_PHY_EXT_PRACH_STAT_INFO
634˵Ã÷£ºHARQ ÖØ´«Í³¼ÆÐÅÏ¢£¬¿ÉÒÔ½«Â·²àÖеÄÏà¹Ø²¿·ÖºÏ²¢µ½ÏÂÃæµÄ½á¹¹ÌåÖÐ
635=========================================================================*/
636typedef struct
637{
638 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
639 UINT32 dwNewTransCnt; /* д«Í³¼Æ ×ܵÄÀÛ¼ÓÖµ */
640 UINT32 dwAdaptTransCnt; /* ×ÔÊÊÓ¦ÖØ´«Í³¼Æ ×ܵÄÀÛ¼ÓÖµ */
641 UINT32 dwNonAdaptTransCnt; /* ·Ç×ÔÊÊÓ¦ÖØ´«Í³¼Æ ×ܵÄÀÛ¼ÓÖµ */
642 UINT32 dwNoTransCnt; /* ²»´«Êäͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
643
644 UINT32 dwHarqTransCnt; /* ÖØ´«´ÎÊýµÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
645 UINT32 dwHarq0TransCnt; /* HARQ ID=0µÄ´«Êä´ÎÊýͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
646 UINT32 dwHarq1TransCnt; /* HARQ ID=1µÄ´«Êä´ÎÊýͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
647 UINT32 dwHarq2TransCnt; /* HARQ ID=2µÄ´«Êä´ÎÊýͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
648 UINT32 dwHarq3TransCnt; /* HARQ ID=3µÄ´«Êä´ÎÊýͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
649
650 UINT32 dwHarqRv0Cnt; /* RV=0µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
651 UINT32 dwHarqRv1Cnt; /* RV=1µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
652 UINT32 dwHarqRv2Cnt; /* RV=2µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
653 UINT32 dwHarqRv3Cnt; /* RV=3µÄͳ¼Æ ×ܵÄÀÛ¼ÓÖµ */
654
655 UINT32 dwCurHarqId; /* µ±Ç°HARQ ID */
656
657 UINT32 dwHarqMaxReTxLimit; /* ÉÏÐÐÖØ´«×î´óÏÞÖÆ´ÎÊý£¬Â·²àÈí¼þÒýÈë */
658
659 /* ÉÏÐгõ´«¡¢ÖØ´«ÐÅÏ¢£¬ÓÃÓÚͳ¼Æ³õ´«¡¢ÖØ´«µÄBlerÐÅÏ¢ */
660 UINT32 dwUlHarqInitAck; /* ÉÏÐгõ´«ACKͳ¼ÆÐÅÏ¢ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
661 UINT32 dwUlHarqInitNack; /* ÉÏÐгõ´«NACKͳ¼ÆÐÅÏ¢ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
662 UINT32 dwUlHarqReTxAck; /* ÉÏÐÐÖØ´«ACKͳ¼ÆÐÅÏ¢ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
663 UINT32 dwUlHarqReTxNack; /* ÉÏÐÐÖØ´«NACKͳ¼ÆÐÅÏ¢ ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
664
665 /*ÉÏÐеÚÒ»´Î¡¢µÚ¶þ´Î¡¢µÚÈý´Î¡¢µÚËÄ´ÎÒÔ¼°ÆäËûÖØ´«³É¹¦´ÎÊý*/
666 UINT32 dwUlHarq1stSuccNum; /* µÚÒ»´ÎÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
667 UINT32 dwUlHarq2ndSuccNum; /* µÚ¶þ´ÎÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
668 UINT32 dwUlHarq3rdSuccNum; /* µÚÈý´ÎÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
669 UINT32 dwUlHarq4thSuccNum; /* µÚËÄ´ÎÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
670 UINT32 dwUlHarqOtherSuccNum; /* ÆäËûÖØ´«³É¹¦´ÎÊý ×ܵÄÀÛ¼ÓÖµ£¬Â·²àÈí¼þÒýÈë */
671
672 /*ÉÏÐÐÄ£¿é¸÷Harq ID ACK¡¢NACKÊý*/
673 UINT32 adwUlHarqIdAck[8]; /* ÉÏÐÐ8¸öHARQ ACKͳ¼ÆÐÅÏ¢£¬¸÷¸öID×ܵÄÀÛ¼ÓÖµ£¬Â·²àµÈÒýÈë */
674 UINT32 adwUlHarqIdNack[8]; /* ÉÏÐÐ8¸öHARQ NACKͳ¼ÆÐÅÏ¢£¬¸÷¸öID×ܵÄÀÛ¼ÓÖµ£¬Â·²àµÈÒýÈë */
675}T_zPHY_EUL_HarqTransStatisticsInfo;
676/*========================================================================
677LOG_TOOL_LTE_PHY_EXT_DCI0_INFO
678˵Ã÷£º DCI0 Ïà¹ØÐÅÏ¢ 10¸ö¿Õ¼ä£¬°´¸÷×ÓÖ¡·Ö±ðͳ¼Æ
679=========================================================================*/
680typedef struct
681{
682
683 UINT16 cHoppingFlag; /* DCI0ÖеÄÌøÆµflag */
684 UINT16 wBlockAssignment; /* DCI0ÖеÄRB·ÖÅä */
685 UINT16 cMCS; /* DCI0ÖеÄMCS */
686 UINT16 cNewDataFlag; /* DCI0ÖеÄNDI */
687 UINT16 cTpcCommand; /* DCI0ÖеÄTPCÃüÁî */
688 UINT16 cDMRSCyclicShift; /* DCI0ÖÐÓÃÓÚDMRSµÄÑ­»·ÒÆÎ» */
689 UINT16 cUlIndex; /* DCI0ÖеÄUL IndexλÓÃÓÚ×ÓÖ¡ÅäÖÃ0 */
690 UINT16 cDAI; /* DCI0ÖеÄÏÂÐзÖÅäָʾ */
691 UINT16 cCqiRequest; /* DCI0ÖеÄCQIָʾλ */
692 UINT16 cRbStart; /* DCI0ÖеÄRIVָʾµÄRBÆðʼλÖà */
693 UINT16 cLcrbs; /* DCI0ÖеÄRIVָʾµÄRBÊý */
694 UINT16 wpading; /*ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
695}T_zPHY_Dci0Info;
696typedef struct
697{
698 T_zPHY_Dci0Info atDci0Info[ZPHY_DEBUG_TMT_SIZE];
699}T_zPHY_EUL_Dci0Info;
700/*========================================================================
701LOG_TOOL_LTE_PHY_EXT_DCI3OR3A_INFO
702˵Ã÷£º TPCÐÅÏ¢
703=========================================================================*/
704typedef struct
705{
706 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
707 UINT16 cPuschDCI3or3aTpcIdx; /* ¼ÓÈÅ·½Ê½ÎªTPC-PUSCH-RNTIµÄDCI3/3AÖлñµÃµÄTPC Command */
708 UINT16 cPucchDCI3or3aTpcIdx; /* ¼ÓÈÅ·½Ê½ÎªTPC-PUCCH-RNTIµÄDCI3/3AÖлñµÃµÄTPC Command */
709}T_zPHY_EUL_DCI3Or3AInfo;
710/*========================================================================
711LOG_TOOL_LTE_PHY_EXT_ULPOWERCTRL_INFO
712˵Ã÷£º ÉÏÐй¦ÂÊÐÅÏ¢£¬¸÷¸ö×ÓÖ¡µÄµ±Ç°¹¦ÂÊÖµµÄʵʱֵ
713=========================================================================*/
714typedef struct
715{
716 UINT32 dwSFN;
717 SINT16 aswPucchGi[ZPHY_DEBUG_TMT_SIZE]; /* ·¢ËÍPUCCH±Õ»·¹¦¿Ø²ÎÊýGi£¬ÓÉ·²àÈí¼þÒýÈë */
718 SINT16 aswPucchPower[ZPHY_DEBUG_TMT_SIZE]; /* PUCCHµÄ·¢Ë͹¦ÂÊͳ¼Æ */
719 SINT16 aswPuschPower[ZPHY_DEBUG_TMT_SIZE]; /* PUSCHµÄ·¢Ë͹¦ÂÊͳ¼Æ */
720 SINT16 aswSrsPower[ZPHY_DEBUG_TMT_SIZE]; /* SRSµÄ·¢Ë͹¦ÂÊͳ¼Æ */
721 SINT16 aswPrachPower[ZPHY_DEBUG_TMT_SIZE]; /* PRACHµÄ·¢Ë͹¦ÂÊͳ¼Æ */
722 UINT16 acPuschPowerHeadroom[ZPHY_DEBUG_TMT_SIZE]; /* PUSCHµÄ·¢Ë͹¦ÂÊÊ£ÓàÁ¿PHR */
723}T_zPHY_EUL_PowerCtrlInfo;
724/*========================================================================
725LOG_TOOL_LTE_PHY_DFE_DEBUG_INFO
726˵Ã÷£º ÊÕ¼¯DFEÖØÒªÈ«¾Ö±äÁ¿£¬ÓÃÓÚTMT¹¤¾ßʵʱ²éѯ,add by zhoupeng 2011.03.14
727=========================================================================*/
728typedef struct
729{
730 UINT16 cRxAntennaMode; /* ½ÓÊÕÌìÏßģʽ ĬÈÏֵΪµ¥ÌìÏßģʽ */
731 UINT16 cSyncMode; /* ͬ²½Ä£Ê½ */
732 UINT16 cLNAMode0;
733 UINT16 cLNAMode1; /* LNA±í¸ñģʽ */
734
735 UINT16 wAgcdBGain0;
736 UINT16 wAgcdBGain1; /* AGCÔöÒæÖµ dB <8,7,u> */
737
738 UINT16 wRxLinDagc0;
739 UINT16 wRxLinDagc1; /* RX· DAGCÔöÒæÖµ ÏßÐÔÖµ <12,8,u> */
740
741 UINT16 wCsrmLinDagc0;
742 UINT16 wCsrmLinDagc1; /* CSRM· DAGCÔöÒæÖµ ÏßÐÔÖµ <12,8,u> */
743
744 UINT16 wCsrsLinDagc0;
745 UINT16 wCsrsLinDagc1; /* CSRS· DAGCÔöÒæÖµ ÏßÐÔÖµ <12,8,u> */
746
747 struct
748 {
749 UINT16 wAgcGainMaxFlag; /* ÔöÒæÆ½ºâ²¹³¥Ö¸Ê¾ */
750 UINT16 wMaxdBVulue; //Á½Â·ÌìÏ߽ϴóÔöÒæÖµ,<8,8,u>
751 SINT16 swAgcFactorLog2; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<16,7,t> log2Öµ*/
752 UINT16 wAgcFactor; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<10,0,u> */
753 } tRxAgcBalance; /* Rx·ÔöÒæÆ½ºâָʾºÍÔöÒæÒò×Ó */
754
755 struct
756 {
757 UINT16 wAgcGainMaxFlag; /* ÔöÒæÆ½ºâ²¹³¥Ö¸Ê¾ */
758 UINT16 wMaxdBVulue; //Á½Â·ÌìÏ߽ϴóÔöÒæÖµ,<8,8,u>
759 SINT16 swAgcFactorLog2; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<16,7,t> log2Öµ*/
760 UINT16 wAgcFactor; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<10,0,u> */
761 } tCsrsAgcBalance; /* Csrs·ÔöÒæÆ½ºâָʾºÍÔöÒæÒò×Ó */
762
763 struct
764 {
765 UINT16 wAgcGainMaxFlag; /* ÔöÒæÆ½ºâ²¹³¥Ö¸Ê¾ */
766 UINT16 wMaxdBVulue; //Á½Â·ÌìÏ߽ϴóÔöÒæÖµ,<8,8,u>
767 SINT16 swAgcFactorLog2; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<16,7,t> log2Öµ*/
768 UINT16 wAgcFactor; /* ÔöÒæÆ½ºâ²¹³¥Òò×Ó<10,0,u> */
769 } tCsrmAgcBalance; /* Csrm·ÔöÒæÆ½ºâָʾºÍÔöÒæÒò×Ó */
770
771 /* ±£´æCSRM10¸ö×ÓÖ¡µÄ×ÜÔöÒæÖµ <14,6,u> */
772 struct
773 {
774 UINT16 wTotalAgcGain0Log2; /* ÌìÏß0µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
775 UINT16 wTotalAgcGain1Log2; /* ÌìÏß1µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
776 } awCsrmTotalAgcGainLog2[ZPHY_SUBFRAMES_PER_FRAME];
777
778 /* ±£´æRX10¸ö×ÓÖ¡µÄ×ÜÔöÒæÖµ <14,6,u> */
779 struct
780 {
781 UINT16 wTotalAgcGain0Log2; /* ÌìÏß0µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
782 UINT16 wTotalAgcGain1Log2; /* ÌìÏß1µÄ×ÜÔöÒæÖµ <14,6,u> log2Öµ */
783 } awRxTotalAgcGainLog2[ZPHY_SUBFRAMES_PER_FRAME];
784
785 /* ¿ìËÙAGCÈí¼þ¼ÆËãʱ£¬10msƽ¾ù¹¦ÂÊÊý×é */
786 SINT16 aswNotSyncAgcMeanPwr0[70];
787 SINT16 aswNotSyncAgcMeanPwr1[70];
788 /* ¿ìËÙAGCÈí¼þ¼ÆËãʱ£¬¼Ç¼ƽ¾ù¹¦ÂÊ×î´óÖµ */
789 SINT16 swMaxAGCMeanPwr0;
790 SINT16 swMaxAGCMeanPwr1;
791 /* ¿ìËÙAGCÈí¼þ¼ÆËãÍê³É±êÖ¾ */
792 UINT16 wNotSyncAGCDone;
793 /* É䯵´ò¿ªÒ»Ö¡ºó±êÖ¾ */
794 UINT16 wNotSyncAGCBegin;
795 //ΪʵÏÖË«ÌìÏß·Çͬ²½AGCµ÷Õû£¬Ôö¼ÓÏà¹ØÈ«¾Ö±äÁ¿,add by zhoupeng 2010.11.6
796 UINT16 wNotSyncAGCDoneAnt0;//ÌìÏß0 AGCÊÕÁ²±êÖ¾
797 UINT16 wNotSyncAGCDoneAnt1;//ÌìÏß1 AGCÊÕÁ²±êÖ¾
798 union
799 {
800 struct
801 {
802 UINT32 RXBandwidth :3; /* Bit[0-2] TX·´ø¿í */
803 UINT32 CPMode :1; /* Bit[3] CPģʽ */
804 UINT32 Reserved :28; /* Bit[4-31] */
805 } tBit;
806
807 UINT32 dwReg;
808 } tRXBandwidthCPMode;
809
810 UINT16 wRxBandwidth;
811 UINT16 cDAGCCalMode; /* DAGC ¼ÆËãģʽ */
812 UINT16 cAGCCalMode; /* AGC ¼ÆËãģʽ */
813 UINT16 wpading; /*4×Ö½Ú¶ÔÆë£¬ÎÞÒâÒå*/
814}T_zPHY_EDFE_SYSTEM_INFO;
815/*========================================================================
816LOG_TOOL_LTE_PHY_RFC_DEBUG_INFO
817˵Ã÷£º RFC ״̬Êý¾Ý¿â
818=========================================================================*/
819typedef struct
820{
821 UINT32 dwRfcSynState; /*RFCͬ²½»ò·Çͬ²½µÄָʾ ³õʼ»¯Îª·Çͬ²½*/
822 UINT32 dwRfcState; /*RFCÉÏ¡¢ÏÂÐÐָʾ(°üº¬ÔÚÌØÊâ×ÓÖ¡ÉÏÏÂÐÐͬʱ´æÔÚµÄÇé¿ö)£¬³õʼ»¯ÎªIDLE״̬*/
823 UINT16 bRfcServCellReceive; /*·þÎñÐ¡Çø»òÁÚÇø½ÓÊÕָʾ£¬Ê¹ÓÃʱ´ò¿ª£¬Ä¬ÈϹرÕ*/
824 UINT16 bRfcCsrCellSearch; /*Ð¡ÇøËÑË÷»òͬ²½Ö¸Ê¾£¬³õʼ»¯Îª¹Ø±Õ*/
825 UINT32 dwRfcCsrCellMeas; /*Ð¡Çø²âÁ¿Ö¸Ê¾»òɨƵָʾ£¬Èç¹ûÊÇɨƵÔòRFC_syn_stateÉèΪ·Çͬ²½£¬¿ÉÒÔÑ¡Ôñµ¥Ð¡Çø»¹ÊÇË«Ð¡Çø£¬³õʼ»¯¹Ø±Õ*/
826 UINT32 dwRfcFrequencePoint; /*ƵµãÉèÖà ³õʼ»¯Îª0 */
827 UINT32 dwRfcFilterBand; /*´ø¿íÉèÖà ³õʼ»¯Îª20MHz*/
828 UINT32 dwRfcAsynOffset; /*·Çͬ²½±íÖ´ÐÐÆðʼʱ¼ä£¬³õʼ»¯Îª0*/
829 UINT32 dwRfcRxOffsetAnt0; /*Ö÷ͬ²½±íµÄÖ¡±ß½ç£¨ÌìÏß0£©£¬³õʼ»¯Îª0*/
830 UINT32 dwRfcRxOffsetAnt1; /*RX1ͬ²½±íµÄÖ¡±ß½ç£¨ÌìÏß1£©£¬³õʼ»¯Îª0*/
831 UINT32 dwRfcRxOffset0; /*²âÁ¿±í0µÄÖ¡±ß½ç£¬³õʼ»¯Îª0*/
832 UINT32 dwRfcRxOffset1; /*²âÁ¿±í1µÄÖ¡±ß½ç,³õʼ»¯Îª0*/
833 UINT16 cRfcSubFrameNo; /*Ö÷ͬ²½±íµÄÖ¡±ß½ç½øÐдóµ÷ʱÐèÒªRFC×ÓÖ¡Ìø×ª£¬¸Ã²ÎÊýÖ¸Ã÷Ìø×ªµÄÄ¿µÄ×ÓÖ¡ºÅ ·¶Î§0-9 ³õʼֵ0xff */
834 UINT16 cRfcSubFrameNo0; /*²âÁ¿±í0µÄÖ¡±ß½ç½øÐдóµ÷ʱÐèÒªRFC×ÓÖ¡Ìø×ª£¬¸Ã²ÎÊýÖ¸Ã÷Ìø×ªµÄÄ¿µÄ×ÓÖ¡ºÅ ·¶Î§0-9 ³õʼֵ0xff*/
835 UINT16 cRfcSubFrameNo1; /*²âÁ¿±í1µÄÖ¡±ß½ç½øÐдóµ÷ʱÐèÒªRFC×ÓÖ¡Ìø×ª£¬¸Ã²ÎÊýÖ¸Ã÷Ìø×ªµÄÄ¿µÄ×ÓÖ¡ºÅ ·¶Î§0-9 ³õʼֵ0xff*/
836 UINT16 cRfcSubFrameNo2; /*tx±íµÄŽ­±ß½ç½øÐдóµ÷ʱÐèÒªRFC×ÓÖ¡Ìø×ª£¬¸Ã²ÎÊýÖ¸Ã÷Ìø×ªµÄÄ¿µÄ×ÓÖ¡ºÅ ·¶Î§0-9 ³õʼֵ0xff*/
837 UINT32 dwRfcUDMode; /*Ö÷ͬ²½±íÉÏÏÂÐÐ×ÓÖ¡ÅäÖÃ,³õʼ»¯ÎªE_FRAME_UD_TYPE2*/
838 UINT32 dwRfcCPMode; /*Ö÷ͬ²½±íµÄcpģʽ ³õʼ»¯Îªnormal CP*/
839 UINT32 dwRfcCPMode0; /*²âÁ¿±í0µÄcpģʽ ³õʼ»¯Îªnormal CP*/
840 UINT32 dwRfcCPMode1; /*²âÁ¿±í1µÄcpģʽ ³õʼ»¯Îªnormal CP*/
841 UINT16 cRfcMeasSymStart0; /*²âÁ¿±í0È¥CPÓÐЧ·ûºÅ¿ªÊ¼Êý ³õʼ»¯Îª0*/
842 UINT16 cRfcMeasSymStart1; /*²âÁ¿±í1È¥CPÓÐЧ·ûºÅ¿ªÊ¼Êý ³õʼ»¯Îª0*/
843 UINT32 dwRfcSpecSubFrameMode; /*ÌØÊâ×ÓÖ¡GPģʽ ³õʼ»¯ÎªE_SPEC_SUB_FRAME_TYPE1*/
844 UINT32 dwRfcFreqOffset; /*Ƶƫֵ£¬ÓÃÓÚµ÷ÕûRF¾§Õñ ³õʼ»¯Îª0*/
845 SINT32 sdwRfcTxOffset; /*ÉÏÐж¨Ê±Ìáǰ£¬³õʼ»¯Îª0*/
846 UINT32 dwRfcRxOffsetAnt0ForTx; /*TX±íµÄÏÂÐÐÖ¡±ß½ç£¨ÌìÏß0£©³õʼ»¯Îª0*/
847 UINT32 dwRfcRxOffsetAnt1ForTx; /*TX±íµÄÏÂÐÐÖ¡±ß½ç£¨ÌìÏß1£©³õʼ»¯Îª0*/
848 UINT32 dwRfcTxAntIndex; /*ÉÏÐз¢ËÍÌìÏßÑ¡Ôñ£¬ÌìÏß0ºÍ1£¬³õʼ»¯ÎªÌìÏß0*/
849 UINT32 dwRfcTxAntIndexForSRS; /*ÉÏÐз¢ËÍÌìÏßÑ¡Ôñ(×îºóÒ»¸ö·ûºÅSRS)£¬ÌìÏß0ºÍ1£¬Ä¬ÈϸòÎÊýδÐÞ¸Ä*/
850 UINT32 dwRfcPowerCloseMode; /*ÎåÖÖËæ»ú½ÓÈ빦ÂʹرÕʱ¼äµã ³õʼ»¯ÎªE_POWER_CLOSE_NOT_USED*/
851 SINT16 swRfcFirstSymbPower; /*ÉÏÐеÚÒ»¸ö·ûºÅ·¢Ë͵ŦÂÊ,³õʼ»¯Îª0x0fff */
852 SINT16 swRfcLastSymbPower; /*ÉÏÐеÚ×îºó¸ö·ûºÅ·¢Ë͵ŦÂÊ ³õʼ»¯Îª0x0fff*/
853 SINT16 swRfcSpecialPrachPower; /*ÌØÊâ×ÓÖ¡PRACH¹¦ÂÊÖµ,³õʼ»¯Îª0x0fff */
854 UINT16 wpading; /*ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
855 UINT32 dwApcFirstSymbChanType;/*¹¦ÂÊ¿ØÖƵÚÒ»¸ö·ûºÅÐŵÀÀàÐÍ£¬×îºóÒ»¸ö·ûºÅÒ»¶¨ÎªSRS£¬ËùÒÔTX²»ÓøæÖªRFC*/
856 SINT32 swFreqOffset;
857} T_ZPHY_ERFC_INFO;
858/*========================================================================
859LOG_TOOL_LTE_PHY_ECSR_DEBUGMIB_INFO
860
861=========================================================================*/
862typedef struct
863{
864 UINT16 wCellBand; /* ÏÂÐдø¿í*/
865 UINT16 wPhichConfig; /* PHICH²ÎÊý*/
866}T_zPHY_ECSR_DebugMibInfo; /* ¸ÃMIBÐÅÏ¢ÓëÉÏÃæÂ·²âµÄ¸ñʽÉÏÓÐЩ²»Ò»Ñù */
867
868typedef struct
869{
870 WORD wStartPhyCellId;
871 WORD wPhyCellIdNum;
872} T_zPHY_DebugPhyCellIdRange;
873
874typedef struct
875{
876 WORD wEarfcn;
877 UINT16 bMeasBandWidth;
878 UINT16 bCellNum;
879 WORD awPhyCellIdList[32];
880 UINT16 bPadding;
881 UINT16 bPresenceAntennaPort1;
882 UINT16 bNCellConfig;
883 UINT16 bBlackCellNum;
884 T_zPHY_DebugPhyCellIdRange atPhyCellIdRangeList[32];
885 WORD wNoDrxReportPeriod;
886 WORD wDrxReportPeriod;
887} T_zPHY_DebugMeasFreqInfo;
888
889typedef struct
890{
891 UINT16 bMsgId;
892 UINT16 bReportQuantity;
893 UINT16 bMaxCellReportPerFreq;
894 UINT16 bFreqNum;
895 T_zPHY_DebugMeasFreqInfo atMeasFreqInfoList[4];
896}T_zPHY_ECSR_MeasConfigInfo;
897
898typedef struct
899{
900 UINT16 bMsgId;
901 UINT16 bPadding;
902 WORD wMeasBitMask;
903 WORD wPading1;
904}T_zPHY_ECSR_MeasMaskSetInfo;
905
906
907typedef struct
908{
909 UINT32 Ts :12;
910 UINT32 Symbol :3;
911 UINT32 Slot :5;
912 UINT32 Frame :10;
913 UINT32 Resv :2;
914}T_zPHY_DebugSeg4Time;
915
916typedef struct
917{
918 UINT32 Ts :14;
919 UINT32 Slot :5;
920 UINT32 Frame :10;
921 UINT32 Resv :3;
922}T_zPHY_DebugSeg3Time;
923
924typedef union
925{
926 UINT32 dwReg;
927 T_zPHY_DebugSeg4Time tSeg4;
928 T_zPHY_DebugSeg3Time tSeg3;
929}T_zPHY_DebugTime;
930
931typedef struct
932{
933 UINT32 dwMeasState :8; /*Ð¡Çø²âÁ¿×´Ì¬*/
934 UINT32 dwSearchState :8; /*Ð¡ÇøËÑË÷״̬*/
935 UINT32 dwReserve :16;
936}T_zPHY_ECSR_DebugCsrCellState;
937
938typedef struct
939{
940 T_zPHY_DebugTime tCellFrameBoundry; /*Ö¡±ß½çÐÅÏ¢£¬Ê±¼ä*/
941
942}T_zPHY_ECSR_DebugCsrFrameBoundryInfo;
943
944typedef struct
945{
946 UINT16 wCellBchMimo; /*BCH½âÂëµÄÌìÏßģʽ£»¶ÔÓÚä¼ì²â£¬ÓÃÓÚBCHÈí¼þ´æ·Åä¼ì²âµÃµ½½á¹û£»¹éÓÚ·Çä¼ì²â£¬ÓÉCTRLÌîд*/
947 UINT16 wCellBchCrcReslut; /*BCH½âÂëµÄCRC½á¹û*/
948 UINT16 wCellBchMark; /*BCH½âÂë±êʾ£¬ÓÃÓÚ±êʾµ±Ç°Ð¡ÇøÊÇ·ñÒѾ­ÓÐBCH½á¹û£¬ÊÇ·ñÐèÒª×öBCH½âÂ룬bchÈí¼þ²éѯÓÃ*/
949 UINT16 wCellBchPhich; /*BCH½âÂëµÃµ½µÄPHICH½á¹û*/
950 UINT16 wCellBchBand ;
951 UINT16 wPading; /*ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
952 T_zPHY_DebugTime tCellBchSfnOffset; /*BCH½âÂëµÃµ½µÄÖ¡±ß½ç*/
953}T_zPHY_ECSR_DebugCsrBchInfo; /*ËùÓеÄBCHÏà¹ØÐÅÏ¢*/
954
955typedef struct
956{
957
958 UINT32 CsrDDMode;
959 UINT32 tCsrCPMode;
960 T_zPHY_ECSR_DebugCsrFrameBoundryInfo tCsrFrameBoundryInfo;
961 UINT16 wCsrFingerValue; /*SSCH¼ì²âµÃµ½µÄ·åÖµ(¹éÒ»»¯ºó),ÓÃÓںϲ¢Ð¡ÇøµÄÒÀ¾Ý---Added by gaozhuhong 0913*/
962 UINT16 wPading; /*ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
963}T_zPHY_ECSR_DebugCsrSearchInfo;
964
965typedef struct
966{
967 SINT16 swCellMeasRSRP; /*²âÁ¿µÃµ½µÄRSRPÖµ£¬ÓɲâÁ¿Ä£¿éÌîд£¬CTRL¶ÁÈ¡*/
968 SINT16 swCellMeasRSRQ; /*²âÁ¿µÃµ½µÄRSRQÖµ£¬ÓɲâÁ¿Ä£¿éÌîд£¬CTRL¶ÁÈ¡*/
969 UINT16 wCellMeasBand; /*²âÁ¿´ø¿í£¬ÓÉCTRLÄ£¿éÔÚÊÕµ½²âÁ¿ÅäÖÃʱÐ޸쬲âÁ¿Ä£¿é¶ÁÈ¡*/
970 UINT16 wCellMeasMinBand; /*CTRLÄ£¿é¸ù¾Ý34.101¸ø¶¨µÄƵ¶ÎºÍ×îС´ø¿í¶ÔÓ¦±íÖÐÕÒµ½£¬»ò¸ù¾ÝÔËÓªÉ̵ıíÖÐÕÒµ½£¬²âÁ¿Ä£¿é¶ÁÈ¡*/
971 UINT16 wCellMeasTimes; /*CTRL Ä£¿éÅäÖõĵ±Ç°Ð¡ÇøµÄ²âÁ¿´ÎÊý£¬²âÁ¿Ä£¿é¶ÁÈ¡*/
972 UINT16 wCellMeasAntPort; /*²âÁ¿ÌìÏߣ¬ÓÉCTRLÄ£¿éÔÚÊÕµ½²âÁ¿ÅäÖÃʱÐ޸쬲âÁ¿Ä£¿é¶ÁÈ¡*/
973 UINT16 wCellMeasReportQuan; /*0,Ö»²ârsrp£¬1£¬RSRPºÍRSRQÒ»Æð²à*/
974 UINT16 bNCellConfig; /*Óë·þÎñÐ¡ÇøÉÏÏÂÐÐÅä±ÈÊÇ·ñÒ»Öµıêʾ£¬ÓÉCTRLÄ£¿éÔÚÊÕµ½²âÁ¿ÅäÖÃʱÐ޸쬲âÁ¿Ä£¿é¶ÁÈ¡*/
975
976}T_zPHY_ECSR_DebugCsrMeasInfo; /*CSRËùÒԵIJÎÊýÅäÖúͽá¹û*/
977
978typedef struct
979{
980 UINT32 mSearchPriority :8;
981 UINT32 mMeasPriority :8;
982 UINT32 mBlacklistPriority :8;
983 UINT32 mCellValidPriority :8;
984}T_zPHY_ECSR_DebugCsrPriority;
985
986typedef union
987{
988 UINT32 dwPrio;
989 T_zPHY_ECSR_DebugCsrPriority tPrio;
990}U_zPHY_ECSR_DebugCsrPriority;
991
992typedef struct
993{
994
995 UINT16 wCellFrameBoundryAge; /*Ö¡±ß½çÀÏ»¯Öµ*/
996 UINT16 wCellMeasAge; /*µ±Ç°²âÁ¿ÏîµÄÀÏ»¯Öµ£¬ÓÉCTRLÄ£¿é¶¨ÆÚ¸üУ¬²âÁ¿Ä£¿é¶ÁÈ¡*/
997 UINT16 wCellBchAge ; /*BCHÐŵÀ½âÂëµÄÀÏ»¯Öµ*/
998 UINT16 wpading; /*ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
999
1000}T_zPHY_ECSR_DebugCsrAgeInfo;
1001
1002typedef struct
1003{
1004 UINT16 wEarfcn;
1005 UINT16 wCellId;
1006 T_zPHY_ECSR_DebugCsrAgeInfo tCsrAgeInfo;
1007 U_zPHY_ECSR_DebugCsrPriority tCsrPriotity;
1008 T_zPHY_ECSR_DebugCsrMeasInfo tCsrMeasInfo;
1009 T_zPHY_ECSR_DebugCsrSearchInfo tCsrSearchInfo;
1010 T_zPHY_ECSR_DebugCsrBchInfo tCsrBchInfo ;
1011 T_zPHY_ECSR_DebugCsrCellState tCellState;
1012}T_zPHY_ECSR_DebugCsrCellInfo;
1013typedef struct
1014{
1015 UINT16 wAgcGain0;
1016 UINT16 wAgcGain1;
1017 SINT32 sdwAfc;
1018 UINT16 wEarcfn;
1019 UINT16 wFreq;
1020}T_zPHY_ECSR_DebugFreqPointInfor;
1021
1022typedef struct
1023{
1024 UINT16 wServingCellFreq; /*·þÎñÐ¡ÇøÆµµã*/
1025 UINT16 wNextInterFreq; /*ϸöGapµÄÒìÆµ¹¤×÷Ƶµã*/
1026 UINT16 wServingCellID; /*·þÎñÐ¡ÇøÐ¡ÇøID*/
1027 UINT16 wpading; /*ÎÞÒâÒ壬4×Ö½Ú¶ÔÆë*/
1028 T_zPHY_ECSR_DebugFreqPointInfor atFreqPointInforTab[4];
1029 UINT32 tCsrMainState; /*CSR×Óϵͳµ±Ç°×´Ì¬*/
1030 T_zPHY_ECSR_DebugCsrCellInfo tCsrCellInfo[16]; /*±ÜÃâ½á¹¹Ìå¹ý´ó£¬½«64Ð¡ÇøËõ¼õµ½16*/
1031}T_zPHY_ECSR_CellDataBaseInfo;
1032
1033typedef struct
1034{
1035 UINT32 dwSFN;
1036 UINT32 dwUeAntNum;
1037 UINT32 dwBsAntNum;
1038 UINT32 dwDlBandWidth;
1039 UINT32 dwTransMode;
1040 UINT32 dwRxTxBitmap;
1041 SINT64 sdwNoiseOutput;
1042
1043 SINT64 sdwRsrpOutput0;
1044 SINT64 sdwRsrpOutput1;
1045 SINT64 sdwRsrpOutput2;
1046 SINT64 sdwRsrpOutput3;
1047 SINT64 sdwRsrpOutput4;
1048 SINT64 sdwRsrpOutput5;
1049 SINT64 sdwRsrpOutput6;
1050 SINT64 sdwRsrpOutput7;
1051
1052 SINT64 sdwRspOutput0;
1053 SINT64 sdwRspOutput1;
1054 SINT64 sdwRspOutput2;
1055 SINT64 sdwRspOutput3;
1056}T_zPHY_EDL_CALC_For_SINR;
1057
1058typedef struct
1059{
1060 UINT32 dwSFN; //ʱ¼äÐÅÏ¢
1061
1062 /* ÏÂÐÐÁ÷Á¿ */
1063 UINT32 dwDlTB1Flow;
1064 UINT32 dwDlTB2Flow;
1065
1066 /* ÉÏÐÐÁ÷Á¿ */
1067 UINT32 dwUlFlow;
1068 UINT32 dwUlRbNum; //¶¦Àû¿ÉÓÃ½Ó¿Ú PUSCH Rb Count(ÉÏÐÐRBÊý). Resource Schedule Information
1069 UINT32 dwDlRbNum; //¶¦Àû¿ÉÓÃ½Ó¿Ú PDSCH Rb Count(ÏÂÐÐRBÊý). Resource Schedule Information
1070
1071}T_zPHY_ULDL_Flow_Info;
1072
1073typedef struct
1074{
1075 UINT32 dwRaRnti;
1076 UINT32 dwTCRnti;
1077 UINT32 dwDrxStatus;
1078}T_zPHY_EUE_Info;
1079
1080typedef struct
1081{
1082 UINT32 PreamSeqIdx;
1083 UINT32 PhyRootIdx;
1084 UINT32 CyclicShift;
1085 SINT32 PreamTxPower;
1086 UINT32 N_ra_Prb;
1087 UINT32 PreamFormat;
1088 UINT16 Duplex_Mode;
1089 UINT16 f_ra;
1090 UINT16 t_0_ra;
1091 UINT16 t_1_ra;
1092 UINT16 t_2_ra;
1093 UINT16 Density;
1094 //UINT16 Reserved;
1095 UINT32 AccessTime;
1096 UINT32 RARWinStrat;
1097 UINT32 RARWinEnd;
1098 UINT32 RA_RNTI;
1099 UINT32 PreamActTxPower;
1100}T_zPHY_EPRACH_Msg1Info;
1101
1102typedef struct
1103{
1104 UINT32 TPCValue;
1105 UINT32 MCSValue;
1106 UINT32 RIV;
1107 UINT32 CQI;
1108 UINT32 ULDelay;
1109 UINT32 HoppingFlag;
1110 UINT32 Msg3_SFN;
1111 UINT32 Msg3_SubFrm;
1112 UINT32 StartResBlock;
1113 UINT32 TotalResBlockNum;
1114 UINT32 TransBlockSizeIdx;
1115 UINT32 ModulationType;
1116 UINT32 RedundancyVersionIdx;
1117 UINT32 HarqID;
1118
1119}T_zPHY_EPRACH_Msg3Info;
1120
1121typedef struct
1122{
1123 UINT32 Msg4_SFN;
1124 UINT32 Msg4_SubFrm;
1125 UINT32 Content_Result;
1126 UINT16 Msg4_Ack_SFN;
1127 UINT16 Msg4_Ack_SubFrm;
1128
1129}T_zPHY_EPRACH_Msg4Info;
1130
1131typedef struct
1132{
1133 UINT32 RARTime;
1134 UINT32 TAValue;
1135 UINT32 TAInclude;
1136 UINT32 RACHType;
1137 UINT32 RACHMode;
1138 UINT32 RNTI_Type;
1139 UINT32 RNTI_Value;
1140
1141}T_zPHY_EPRACH_Msg2Info;
1142#endif