blob: 102f7b5d4ac656c71f404294cb048207a03716af [file] [log] [blame]
xf.libfc6e712025-02-07 01:54:34 -08001 /*==============================================================================***
2 *°æ±¾ËùÓÐ (C)2012ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾
3 * Ä£¿éÃû £º
4 * ÎļþÃû £ºpswphyint.h
5 * Îļþ±êʶ£º
6 * Ïà¹ØÎļþ£º
7 * ʵÏÖ¹¦ÄÜ£ºWCDMA psºÍWCDMA PHYµÄ½Ó¿Ú¶¨Òå
8 * ×÷Õß £º
9 * °æ±¾ £º
10 * Íê³ÉÈÕÆÚ£º
11 * ÆäËü˵Ã÷£º
12*/
13
14#ifndef Z_PS_WPHY_INTERFACE_H
15#define Z_PS_WPHY_INTERFACE_H
16
17
18#ifndef Z_SEND_TO_SIMPHY
19#include "ram_config.h"
20#endif
21 /*==============================================================================
22* Í·Îļþ°üº¬ *
23==============================================================================*/
24
25/****************************************************************************/
26/* ICP ÖжÏ״̬붨Òå */
27/****************************************************************************/
28/***********************************************************************/
29#define CONFIG_OPT_SIZE (1) /*for size optimize, if found some exception please disable it*/
30
31/* PHY_CPU -> PS_CPU ICP STAUTS*/
32#define PHY_PS_FRAME_ICP_MASK (DWORD)0x00000001
33#define PHY_PS_WAKEUP_ICP_MASK (DWORD)0x00000002
34
35/* PS_CPU -> PHY_CPU ICP STAUTS*/
36#define PS_PHY_UPA_DATA_ICP_MASK (DWORD)0x00000001
37#define PS_PHY_WAKEUP_ICP_MASK (DWORD)0x00000002
38
39 /*==============================================================================
40* È«¾Öºê¶¨Òå *
41==============================================================================*/
42
43
44/*start:Ð¡ÇøËÑË÷²¿·ÖºêÖµ¶¨Òå*/
45#define Z_W_P_MAX_NO_OF_FREQSCAN_FREQ (WORD)64 /*ÐèҪɨÃèµÄ×î´óƵ¶ÎÊýÄ¿*/
46#define Z_W_P_MAX_NO_OF_RSSI_RESULTS (WORD)32 /*ɨƵÉϱ¨µÄ×î´óƵµãÊýÄ¿*/
47#define Z_W_P_MAX_NO_OF_SEARCH_RESULTS (WORD)8 /*Ð¡ÇøËÑË÷Éϱ¨µÄ×î´óÐ¡ÇøÊýÄ¿*/
48
49#define Z_W_P_CELLSRHTYPE_STRONGEST (WORD)0 /*·µ»ØÖ¸¶¨ÆµµãµÄ×îÇ¿Ð¡Çø*/
50#define Z_W_P_CELLSEARCHTYPE_BLIND (WORD)1 /*·µ»ØÖ¸¶¨ÆµµãµÄÐ¡ÇøÁбí*/
51#define Z_W_P_CELLSEARCHTYPE_SPEC (WORD)2 /*·µ»ØÖ¸¶¨PrimSrcµÄÐ¡Çø*/
52
53
54/*ÉèÖÃWÎïÀí²ãÊÇ·ñÖ÷ģʽ*/
55#define Z_W_P_IRAT_MODE_SLAVE (WORD)0 /*ÉèÖÃΪ¸¨Ä£Ê½*/
56#define Z_W_P_IRAT_MODE_MASTER (WORD)1 /*ÉèÖÃΪÖ÷ģʽ*/
57
58/*FDDƵ¶ÎºÅ¶¨Òå*/
59#define Z_W_P_BAND_FDDI (WORD)1
60#define Z_W_P_BAND_FDDII (WORD)2
61#define Z_W_P_BAND_FDDIII (WORD)3
62#define Z_W_P_BAND_FDDIV (WORD)4
63#define Z_W_P_BAND_FDDV (WORD)5
64#define Z_W_P_BAND_FDDVI (WORD)6
65#define Z_W_P_BAND_FDDVII (WORD)7
66#define Z_W_P_BAND_FDDVIII (WORD)8
67#define Z_W_P_BAND_FDDIX (WORD)9
68#define Z_W_P_BAND_FDDX (WORD)10
69#define Z_W_P_BAND_FDDXI (WORD)11
70#define Z_W_P_BAND_FDDXII (WORD)12
71#define Z_W_P_BAND_FDDXIII (WORD)13
72#define Z_W_P_BAND_FDDXIV (WORD)14
73#define Z_W_P_BAND_FDDXIX (WORD)15
74#define Z_W_P_BAND_FDDXX (WORD)16
75#define Z_W_P_BAND_FDDXXI (WORD)17
76/*end Ð¡ÇøËÑË÷²¿·ÖºêÖµ¶¨Òå*/
77
78/*start:ϵͳÐÅÏ¢²¿·ÖºêÖµ¶¨Òå*/
79#define Z_W_P_MAX_NUM_OF_BCH (WORD)8
80#define Z_W_P_MAX_NO_OF_SIB_OFFS (WORD)16 /*ϵͳÐÅÏ¢Æ«ÒÆ×î´óÊý×é¸öÊý*/
81#define Z_W_P_MAX_NO_OF_SIB_SCHEDULES (WORD)30 /*×î´óµ÷¶ÈÐÅÏ¢¸öÊý*/
82/*ϵͳÐÅÏ¢¿éÀàÐÍ*/
83#define Z_W_P_URRC_MIB (WORD)0
84#define Z_W_P_URRC_SIB1 (WORD)1
85#define Z_W_P_URRC_SIB2 (WORD)2
86#define Z_W_P_URRC_SIB3 (WORD)3
87#define Z_W_P_URRC_SIB4 (WORD)4
88#define Z_W_P_URRC_SIB5 (WORD)5
89#define Z_W_P_URRC_SIB6 (WORD)6
90#define Z_W_P_URRC_SIB7 (WORD)7
91#define Z_W_P_URRC_SIB11 (WORD)11
92#define Z_W_P_URRC_SIB12 (WORD)12
93#define Z_W_P_URRC_SIB14 (WORD)18
94#define Z_W_P_URRC_SIB15 (WORD)19
95#define Z_W_P_URRC_SIB16 (WORD)23
96#define Z_W_P_URRC_SIB18 (WORD)26
97#define Z_W_P_URRC_SB1 (WORD)27
98#define Z_W_P_URRC_SB2 (WORD)28
99#define Z_W_P_URRC_SIB5BIS (WORD)30
100#define Z_W_P_URRC_SIB_TYPE_EXTENSION_TYPE (WORD)31
101#define Z_W_P_URRC_SIB11BIS (WORD)32
102#define Z_W_P_URRC_SIB15BIS (WORD)33
103/*SIB-TypeExt2*/
104#define Z_W_P_URRC_SIB19 (WORD)40
105#define Z_W_P_URRC_SIB20 (WORD)42
106
107#define Z_W_P_BCH_REQ_ONE (WORD)0 /*ÇëÇóÎïÀí²ãÒÔÖ¸¶¨·½Ê½¶Ábch*/
108#define Z_W_P_BCH_REQ_ALL (WORD)1 /*ÇëÇóÎïÀí²ãÁ¬Ðø¶Ábch*/
109
110#define Z_W_P_STTD_NOTUSED (WORD)0 /*²»Ê¹ÓÃSTTD*/
111#define Z_W_P_STTD_USED (WORD)1 /*ʹÓÃSTTD*/
112#define Z_W_P_STTD_UNNOTIFY (WORD)2 /*δ֪£¬¼´ps²»È·Èϵ±Ç°Ð¡ÇøÊÇ·ñʹÓÃSTTD*/
113/*end:ϵͳÐÅÏ¢²¿·ÖºêÖµ¶¨Òå*/
114
115/*start:×ÊÔ´²¿·ÖºêÖµ¶¨Òå*/
116#define Z_W_P_MAX_UL_TRCH_NUM (WORD)8
117#define Z_W_P_MAX_DL_TRCH_NUM (WORD)8
118#define Z_W_P_MAX_UL_TF_NUM (WORD)32
119#define Z_W_P_MAX_DL_TF_NUM (WORD)64
120#define Z_W_P_MAX_UL_TFC_NUM (WORD)64
121#define Z_W_P_MAX_DL_TFC_NUM (WORD)128
122#define Z_W_P_MAX_NO_OF_RL (WORD)8/*×î´óRLÊýÄ¿*/
123#define Z_W_P_MAX_EDCH_NO_OF_RL (WORD)4
124#define Z_W_P_MAX_NO_OF_DPCHS (WORD)8
125#define Z_W_P_MAX_H_PROCESS (WORD)8
126#define Z_W_P_MAX_HS_SCCH_CODES (WORD)4
127#define Z_W_P_MAX_REF_ETFCI (WORD)8
128#define Z_W_P_MAX_HSCCHLESS_TFS_NUM (WORD)4
129
130#define Z_W_P_TTI_2MS (WORD)1
131#define Z_W_P_TTI_10MS (WORD)2
132#define Z_W_P_TTI_20MS (WORD)3
133#define Z_W_P_TTI_40MS (WORD)4
134#define Z_W_P_TTI_80MS (WORD)5
135
136#define Z_W_ACT_TIME_IMMEDIATELY (WORD)256/*¼¤»îʱ¼äÊÇÁ¢¼´¼¤»î*/
137/*end ×ÊÔ´²¿·ÖºêÖµ¶¨Òå*/
138
139/*start²âÁ¿Ïà¹Øºê¶¨Òå*/
140#define Z_W_P_MAX_CELL_NUM (WORD)32 /*ͬƵÒìÆµ×î´óÖ§³ÖÐ¡ÇøÊýÄ¿*/
141#define Z_W_P_MAX_INTRAFREQ_NUM (WORD)1 /*ͬƵƵµãÊýÄ¿£¬²»¿¼ÂǵڶþÉÏÐÐÆµµãʱ¸ÃֵΪ1*/
142#define Z_W_P_MAX_INTERFREQ_NUM (WORD)8 /*ÒìÆµÅäÖÃÆµµãÊýÄ¿*/
143#define Z_W_P_MAX_BLIND_INTERFREQ_NUM (WORD)16 /*ÒìÆµÃ¤ÆµµãµÄƵµãÊýÄ¿*/
144#define Z_W_P_MAX_BLIND_INTERFREQ_CELL_NUM (WORD)3 /*äƵµãÏÂÐ¡ÇøÊýÄ¿*/
145#define Z_W_P_MAX_CM_NUM (WORD)6 /*ѹËõģʽÅäÖÃÏîÊýÄ¿*/
146#define Z_W_P_MAX_FRAME_GAP_NUM (WORD)2 /*Ò»¸öÖ¡ÖÐ×î´óGAPÊýÄ¿*/
147/*end²âÁ¿Ïà¹Øºê¶¨Òå*/
148
149/*start²ã¶þÏà¹Øºê¶¨Òå*/
150/*ÎÞÏß×ÊÔ´ÅäÖÃÏà¹Øºê¶¨Òå*/
151
152#define Z_W_P_MAX_UL_FREQUENCY_NUM (WORD)2
153#define Z_W_P_MAX_DL_FREQUENCY_NUM (WORD)2
154
155/*´«ÊäÐŵÀÀàÐÍ,½öÓÃÓÚºÍÎïÀí²ãµÄ½Ó¿ÚÖÐ*/
156#define Z_W_P_PCH (WORD)0
157#define Z_W_P_FACH (WORD)1
158#define Z_W_P_DL_DCH (WORD)2
159#define Z_W_P_RACH (WORD)3
160#define Z_W_P_UL_DCH (WORD)4
161
162/*UPAÏà¹Ø²ÎÊý*/
163//#define Z_W_P_MAX_REF_ETFCI_NUM (WORD)8/*Z_W_P_MAX_REF_ETFCI*/
164#define Z_W_P_MAX_RG_NUM (WORD)4
165
166/*Êý¾Ý½Ó¿Ú´óС*/
167#define Z_W_P_MAX_NO_OF_UL_BYTES (WORD)1168
168
169#define Z_W_P_MAX_NO_OF_DL_BYTES (WORD)1168
170#define Z_W_P_MAX_NO_OF_HSDPA_BYTES (WORD)5274
171
172#define Z_W_P_MAX_NO_OF_HSUPA_BYTES (WORD)2876
173
174
175#define Z_W_P_MAX_ETFCI_NUM (WORD)128
176#define Z_W_P_MAX_NTR_NUM (WORD)8
177
178/*rachÏà¹Ø*/
179#define Z_W_P_RACH_ACCESS_ACK (WORD)0
180#define Z_W_P_RACH_ACCESS_NACK (WORD)1
181#define Z_W_P_RACH_ACCESS_NO_ACK (WORD)2
182
183/*ÏÂÐÐÊý¾ÝÀàÐÍ*/
184#define Z_W_P_PCH_FACH_DCH_DATA (WORD)0
185#define Z_W_P_DPA_DATA (WORD)1
186/*end²ã¶þÏà¹Øºê¶¨Òå*/
187
188
189
190/*wÖ÷Ä£Á¬½Ó̬(FACH ¡¢DCH)ÎïÀí²ãÉϱ¨GAPÐèÒª¿Û³ýµÄÉ䯵±£»¤¼ä¸ôµ¥Î»CHIP, 7520°æ±¾Í·Î²·Ö±ð¿Û³ý30chips(7.8125us) 660chips(171.875us). */
191
192#define Z_W_P_MEAS_DCHGAP_START_OFF (WORD)30
193#define Z_W_P_MEAS_DCHGAP_TAIL_OFF (WORD)660
194
195
196#define Z_ZWPCG_VALFG_NUM (WORD)8
197#define Z_ZWPCG_PARAM_NUM (WORD)25
198
199 /*==============================================================================
200* È«¾ÖÊý¾ÝÀàÐͶ¨Òå *
201==============================================================================*/
202
203
204 /*==============================================================================
205 * Ð¡ÇøËÑË÷È«¾ÖÊý¾ÝÀàÐͶ¨Òå start *
206 ==============================================================================*/
207
208/*==============================================================================
209 RRC->PHY
210 ʼþ£ºP_W_FREQUENCY_SCAN_REQ
211 ¹¦ÄÜ:
212 ¿ÉÄܳöÏÖµÄÔÚ³õʼ״̬£¬IDLE̬£¬CELL_PCH̬£¬CELL_URA̬£¬L1¸ù¾ÝÏûÏ¢ÖÐ
213 Я´øµÄƵµã»òƵ¶ÎÐÅÏ¢½øÐÐɨƵ£¬Ê×ÏÈÖ´ÐÐÆµ¶ÎɨƵ£¬Ö®ºóÔÙ½«Æµ¶ÎɨÃè½á
214 ¹ûƵµãÓëЭÒéջϷ¢µÄÀëɢƵµã·ÅÔÚÒ»Æð½øÐÐÀëɢƵµãɨƵ
215 ½á¹¹:
216 T_zW_P_frequency_scan_req
217==============================================================================*/
218 typedef struct{
219 WORD wFreqStartRange;
220 WORD wFreqEndRange;
221 WORD wBandInd;
222 WORD wPadding;
223}T_zW_P_frequency_range;
224
225typedef struct
226{
227 WORD wMsgId;
228 WORD wFreqRangeNum;
229 WORD wSeqNum;
230 WORD wWonlyFlg; /*µ±Ç°ÊÇ·ñÊÇWµ¥Ä££¬wWonlyFlg=1Ϊµ¥Ä££¬·ñÔòΪ¶àÄ£*/
231 T_zW_P_frequency_range atFrequencyRange[Z_W_P_MAX_NO_OF_FREQSCAN_FREQ];
232}T_zW_P_frequency_scan_req;
233
234
235/*==============================================================================
236 RRC->PHY
237 ʼþ£ºP_W_ABORT_FREQ_SCAN_REQ
238 ¹¦ÄÜ:
239 Í£Ö¹L1ƵÂÊɨÃèÇëÇó
240 ½á¹¹:
241 T_zW_P_abort_frequency_scan_req,¿Õ½á¹¹
242==============================================================================*/
243typedef struct{
244 WORD wMsgId;
245 WORD wPadding;
246}T_zW_P_abort_frequency_scan_req;
247
248
249/*==============================================================================
250 PHY->L1W
251 ʼþ£ºP_ABORT_FREQ_SCAN_CNF
252 ¹¦ÄÜ:
253 Í£Ö¹L1ƵÂÊɨÃèÈ·ÈÏ
254 ½á¹¹:
255 T_zW_P_abort_frequency_scan_cnf,¿Õ½á¹¹
256==============================================================================*/
257typedef struct{
258 WORD wMsgId;
259 WORD wPadding;
260}T_zW_P_abort_frequency_scan_cnf;
261
262
263/*==============================================================================
264 PHY->RRC
265 ʼþ£ºP_FREQUENCY_SCAN_IND
266 ¹¦ÄÜ:
267 L1Íê³ÉɨƵºó£¬Í¨¹ýÏûÏ¢P_FREQUENCY_SCAN_INDÉϱ¨É¨Æµ½á¹û,ÎïÀí²ã¸ù¾Ý
268 RSSI²âÁ¿Öµ¼°PSCHÏà¹ØÄÜÁ¿¶ÔƵÂʽøÐÐÅÅÐò£¬×î¿ÉÄÜפÁôµÄƵÂÊ·ÅÔÚÊ×룬
269 ÒÀ´ÎÀàÍÆ£¬²»ÄÜפÁôµÄƵÂʲ»Éϱ¨¡£
270 Èç¹ûɨƵ½á¹û³¬¹ý32£¬ÎïÀí²ã½«Ç°32ǿƵµã×÷Ϊ½á¹ûÉϱ¨Ð­ÒéÕ»¡£
271 ½á¹¹:
272 T_zW_P_frequency_scan_ind
273==============================================================================*/
274 typedef struct{
275 WORD wFrequency;
276 WORD wPadding;
277 }T_zW_P_scan_result;
278
279typedef struct
280{
281 WORD wMsgId;
282 WORD wScanRltNum;
283 WORD wSeqNum;
284 WORD wPadding;
285 T_zW_P_scan_result atScanResult[Z_W_P_MAX_NO_OF_RSSI_RESULTS]; /*ÎïÀí²ã½«É¨Æµ½á¹ûǰ32Ç¿Éϱ¨*/
286}T_zW_P_frequency_scan_ind;
287
288
289/*==============================================================================
290 RRC->PHY
291 ʼþ£ºP_CELL_SEARCH_REQ
292 ¹¦ÄÜ:
293 Ö¸¶¨ÆµµãÉϲéÕÒÖ¸¶¨ÊýÄ¿Ð¡Çø¡£Èç¹ûµ±Ç°ÒÑÓзþÎñÐ¡Çø£¬L1ÐèҪͬʱ±£³Ö·þÎñÐ¡ÇøÍ¬²½£¬
294 ÒÔ¼°½ÓÊÕѰºôµÈ¡£Èç¹ûÊÕµ½Ñ°ºôµÈÇé¿öÐèÒªÖжÏL1Ð¡ÇøËÑË÷£¬ÖжϺóL1²»ÔÙÏòЭÒéÕ»Éϱ¨ÒÑ
295 ·¢ÏÖÐ¡ÇøÐÅÏ¢¡£Èç¹ûnum_of_cell_idÈ¡0£¬ÇëÇóL1ÔÚÖ¸¶¨ÆµµãÉÏäËÑÐ¡Çø£¬Âú×ã¡°ÃÅÏÞ¡±µÄ
296 num_of_result¸öÐ¡ÇøÉϱ¨¡£Èç¹ûnum_of_cell_idÈ¡·Ç0Öµ£¬ÇëÇóL1ÔÚÖ¸¶¨cell_parameter_idµÄ
297 Ð¡ÇøÁбíÖÐËÑË÷Âú×ã¡°ÃÅÏÞ¡±µÄÐ¡ÇøÉϱ¨¡£ÆäÖеġ° ÃÅÏÞ¡± ÓÉÎïÀí²ã¸ù¾ÝÐÔÄÜÈ·¶¨
298 ½á¹¹:
299 T_zW_P_cell_search_req
300==============================================================================*/
301typedef struct
302{
303 WORD wTxDiversityInd; /*²Î¼ûºê¶¨Òå,½öµ±wSearchTypeΪָ¶¨ËÑË÷ʱÓÐЧ*/
304 WORD wPrimSrc;
305}T_zW_P_cellsrh_info;
306
307typedef struct
308{
309 WORD wMsgId;
310 WORD wSeqNum;
311 WORD wFrequency;
312 WORD wSearchType; /*²Î¼ûºê¶¨Òå*/
313 WORD wNumOfResult;
314 WORD wNumOfCell;
315 T_zW_P_cellsrh_info atCellSrhInfo[Z_W_P_MAX_NO_OF_SEARCH_RESULTS];
316}T_zW_P_cell_search_req;
317
318
319/*==============================================================================
320 PHY->RRC
321 ʼþ£ºP_ABORT_CELL_SEARCH_REQ
322 ¹¦ÄÜ:
323 Í£Ö¹ÎïÀí²ãµÄcell search¡£
324 ½á¹¹:
325 T_zW_P_abort_cell_search_req,¿Õ½á¹¹
326==============================================================================*/
327typedef struct{
328 WORD wMsgId;
329 WORD wPadding;
330}T_zW_P_abort_cell_search_req;
331
332
333/*==============================================================================
334 PHY->L1W
335 ʼþ£ºP_ABORT_CELL_SEARCH_CNF
336 ¹¦ÄÜ:
337 Í£Ö¹ÎïÀí²ãµÄcell searchÈ·ÈÏ¡£
338 ½á¹¹:
339 T_zW_P_abort_cell_search_cnf,¿Õ½á¹¹
340==============================================================================*/
341typedef struct{
342 WORD wMsgId;
343 WORD wPadding;
344}T_zW_P_abort_cell_search_cnf;
345
346
347/*==============================================================================
348 PHY->RRC
349 ʼþ£ºP_CELL_SEARCH_IND
350 ¹¦ÄÜ:
351 Éϱ¨Ö¸¶¨ÆµµãÉÏÂú×ãÎïÀí²ã×îµÍÃÅÏÞÖµµÄ£¨Ö¸¶¨£©Ð¡Çø²âÁ¿½á¹û¡£
352 ½á¹¹:
353 T_zW_P_cell_search_ind
354==============================================================================*/
355typedef struct{
356 WORD wPrimSrc;
357 WORD wCpichRscp;
358 WORD wCpichEcNo;
359 WORD wPadding;
360}T_zW_P_cell_params;
361
362typedef struct
363{
364 WORD wMsgId;
365 WORD wSeqNum;
366 WORD wFrequency;
367 WORD wNumOfFoundCells;
368 T_zW_P_cell_params atCell[Z_W_P_MAX_NO_OF_SEARCH_RESULTS];
369}T_zW_P_cell_search_ind;
370
371
372/*==============================================================================
373 RRC->PHY
374 ʼþ£ºP_BCH_OPEN_REQ
375 ¹¦ÄÜ:
376 ¸ÃÏûÏ¢ÔÚ·ÇDCH̬»áÏ·¢,´ò¿ªBCH¶ÁϵͳÐÅÏ¢,¿ÕÏÐ̬,PCH̬¿ÉÒÔ¶ÁÈ¡·þÎñÐ¡Çø
377 ºÍÏàÁÚÐ¡ÇøÏµÍ³ÐÅÏ¢£¬FACHÖ»ÄܶÁÈ¡·þÎñÐ¡ÇøÏµÍ³ÐÅÏ¢¡£¸ÃÏûÏ¢ÎÞÏìÓ¦ÏûÏ¢¡£
378 ½á¹¹:
379 T_zP_TD_bch_open_req
380==============================================================================*/
381typedef struct
382{
383 WORD wSibType; /*²Î¼ûºê¶¨Òå*/
384 WORD wSegCount;/* SIBÏûÏ¢µÄ·Ö¶ÎÊýÄ¿£¬·¶Î§1..16*/
385 WORD wSibRep; /* SIBÖØ¸´ÖÜÆÚ*/
386 WORD wSibPos;/* SIBµÚÒ»¸ö·Ö¶ÎµÄλÖÃ*/
387 WORD wSibOff[Z_W_P_MAX_NO_OF_SIB_OFFS];
388} T_sib_schedule_info;
389
390typedef struct {
391 WORD wMsgId;
392 WORD wType; /*²Î¼ûºê¶¨Òå*/
393 WORD wTxDivMode; /*²Î¼ûºê¶¨Òå*/
394 WORD wFrequency;
395 WORD wPrimSrc;
396 WORD wCellReselectFlg;/*wCellReselectFlg=1±íʾ´Ë´Î¶ÁSIBÊÇÒòÖØÑ¡·¢Æð¡£Îª0±íʾ·ÇÐ¡ÇøÖØÑ¡ÒýÆð*/
397 WORD wNumOfSchedule;
398 WORD wPadding;
399 T_sib_schedule_info tSibScheduleInfo[Z_W_P_MAX_NO_OF_SIB_SCHEDULES];
400}T_zW_P_bch_open_req;
401
402
403/*==============================================================================
404 PHY->RRC
405 ʼþ£ºP_BCH_IND
406 ¹¦ÄÜ:
407 ´ò¿ªBCHºóL1Öð¿éÉϱ¨ÏµÍ³ÐÅϢָʾ, ¿ÕÏûÏ¢£¬Ð­ÒéÕ»ÊÕµ½´ËָʾºóÈ¥
408 ¹Ì¶¨Buffer¶ÁϵͳÐÅÏ¢Êý¾Ý
409 ½á¹¹:
410 T_zW_P_Bch_Buffer
411==============================================================================*/
412typedef struct
413{
414 WORD wMsgId;
415 WORD wSfn;
416 WORD wCrcCheck;
417 WORD wFrequency;
418 WORD wPrimSrc;
419 WORD wSfnDecodeRlt; /*0:ʧ°Ü£¬1³É¹¦*/
420 WORD awDataArea[Z_W_P_MAX_NUM_OF_BCH*2];
421}T_zW_P_Bch_Ind;
422
423
424/*==============================================================================
425 RRC->PHY
426 ʼþ£ºP_BCH_RELEASE_REQ
427 ¹¦ÄÜ:
428 ЭÒéÕ»ÇëÇóL1Í£Ö¹½ÓÊÕϵͳÐÅÏ¢£¬ÊÍ·ÅBCH
429 ½á¹¹:
430 T_zW_P_bch_release_req
431==============================================================================*/
432typedef struct{
433 WORD wMsgId;
434 WORD wPadding;
435}T_zW_P_bch_release_req;
436
437
438/*==============================================================================
439 PHY->L1W
440 ʼþ£ºP_BCH_RELEASE_CNF
441 ¹¦ÄÜ:
442 L1È·ÈÏЭÒéջֹͣ½ÓÊÕϵͳÐÅÏ¢
443 ½á¹¹:
444 T_zW_P_bch_release_cnf
445==============================================================================*/
446typedef struct{
447 WORD wMsgId;
448 WORD wPadding;
449}T_zW_P_bch_release_cnf;
450
451
452/*==============================================================================
453 RRC->PHY
454 ʼþ£ºP_CAMPON_A_CELL_REQ
455 ¹¦ÄÜ:
456 RRCÔÚϵͳÐÅÏ¢¶ÁÈ¡Íê³Éºó£¬ÈÏÎªÐ¡Çø¿ÉפÁô£¬·¢ËÍ´ËÏûϢ֪ͨ
457 ÎïÀí²ã´ËÐ¡ÇøÎª·þÎñÐ¡Çø¡£
458 ½á¹¹:
459 T_zW_P_camp_on_a_cell_req
460==============================================================================*/
461typedef struct
462{
463 WORD wMsgId;
464 WORD wUlFrequency;
465 WORD wDlFrequency;
466 WORD wPrimSrc;
467 WORD wPreDlFrequency;
468 WORD wPadding;
469}T_zW_P_camp_on_a_cell_req;
470
471
472/*==============================================================================
473 PHY->L1W
474 ʼþ£ºP_CAMPON_A_CELL_CNF
475 ¹¦ÄÜ:
476 µ×²ãÈ·ÈÏפÁôÐ¡Çø¡£
477 ½á¹¹:
478 T_zW_P_camp_on_a_cell_cnf
479==============================================================================*/
480typedef struct
481{
482 WORD wMsgId;
483 WORD wPadding;
484}T_zW_P_camp_on_a_cell_cnf;
485
486
487/*==============================================================================
488 RRC->PHY
489 ʼþ£ºP_SET_IRAT_MODE_REQ
490 ¹¦ÄÜ:
491 ЭÒéջ֪ͨÎïÀí²ãģʽÀàÐÍ£¬ÊÇFDD mode¼´FDDΪÖ÷ģʽ£¬
492 »òÕß²»ÊÇFDD mode¼´FDDΪ¸¨¡£²»²Ù×÷É䯵¡£
493 ½á¹¹:
494 T_zW_P_set_irat_mode_Req
495==============================================================================*/
496typedef struct{
497 WORD wMsgId;
498 WORD wModeTypes; /*0-·ÇÖ÷£¬1-Ö÷Ä££¬²Î¼ûºê¶¨Òå*/
499}T_zW_P_set_irat_mode_Req;
500
501
502/*==============================================================================
503 RRC->PHY
504 ʼþ£ºP_RESET_REQ
505 ¹¦ÄÜ:
506 ЭÒéջ֪ͨÎïÀí²ã¸´Î»
507 ½á¹¹:
508 T_zW_P_Reset_req
509==============================================================================*/
510typedef struct{
511 WORD wMsgId;
512 WORD wPadding;
513} T_zW_P_Reset_req;
514
515
516/*==============================================================================
517 PHY->RRC
518 ʼþ£ºP_RESET_CNF
519 ¹¦ÄÜ:
520 ÎïÀí²ã֪ͨЭÒéÕ»ÊÍ·ÅËùÓÐ×ÊÔ´½áÊø
521 ½á¹¹:
522 T_zW_P_Reset_cnf
523==============================================================================*/
524typedef struct{
525 WORD wMsgId;
526 WORD wPadding;
527}T_zW_P_reset_cnf;
528
529
530/*==============================================================================
531 RRC->PHY
532 ʼþ£ºP_W_REL_REQ
533 ¹¦ÄÜ:
534 ÎïÀí²ãÊÍ·ÅËùÓÐЭÒéջϷ¢µÄÒµÎñÇëÇó¼°É䯵¡£
535 ½á¹¹:
536 T_zW_P_release_req
537==============================================================================*/
538typedef struct{
539 WORD wMsgId;
540 WORD wPadding;
541} T_zW_P_release_req;
542
543
544/*==============================================================================
545 PHY->RRC
546 ʼþ£ºP_W_REL_CNF
547 ¹¦ÄÜ:
548 ÎïÀí²ã֪ͨЭÒéÕ»ÊÍ·ÅËùÓÐ×ÊÔ´½áÊø
549 ½á¹¹:
550 T_zW_P_release_cnf
551==============================================================================*/
552typedef struct{
553 WORD wMsgId;
554 WORD wPadding;
555} T_zW_P_release_cnf;
556
557
558 /*==============================================================================
559 * Ð¡ÇøËÑË÷È«¾ÖÊý¾ÝÀàÐͶ¨Òå --------end *
560 ==============================================================================*/
561
562
563 /*==============================================================================
564 * ×ÊÔ´ÅäÖÃÈ«¾ÖÊý¾ÝÀàÐͶ¨Òå --------start *
565 ==============================================================================*/
566
567
568typedef struct{
569 WORD wNum;
570 WORD awList[21];
571}T_zW_P_Imsi;
572
573typedef struct{
574 WORD wSrncId;
575 WORD wPadding;
576 DWORD dwSrnti;
577}T_zW_P_Urnti;
578
579typedef struct {
580 WORD wUeIdValidBitmap;/*bit0..bit3ÓÐЧ£¬ÒÀ´Î·Ö±ðָʾÐÅÔªTmsiGsm¡¢PTmsiGsm¡¢ImsiGsm¡¢URntiÊÇ·ñ´æÔÚ¡£bitλΪ1±íʾ¶ÔÓ¦ÐÅÔª´æÔÚ£¬·ñÔò²»´æÔÚ*/
581 WORD wPadding;
582 WORD awTmsiGsm[4];
583 WORD awPTmsiGsm[4];
584 T_zW_P_Imsi tImsiGsm;
585 T_zW_P_Urnti tUrnti; /*PCH̬ʹÓÃ*/
586}T_zW_P_ue_id;
587
588
589typedef struct
590{
591 WORD wPichChanCode;
592 WORD wNumOfPiPerFrame;
593 WORD wPichSttdInd;
594 WORD wDrxCycleLengthCoeff;
595 WORD wPichPowerOff;
596 WORD wNumOfSccpch;
597 T_zW_P_ue_id tUeIdInfo;
598} T_zW_P_pich_info;
599
600
601typedef struct{
602 WORD wSecScrambCodeFlg;
603 WORD wSecScrambCode;
604 WORD wChanCode;
605 WORD wScrambCodeChangeFlg;
606} T_zW_P_dpch_ChannelCode;
607
608
609typedef struct{
610 DWORD dwCtfc;
611 WORD wTfci;
612 WORD wTfcPowerParaFlg;/*¹¦ÂÊ¿ØÖƲÎÊý±êʶ£¬1±íʾÐèÒª²Î¿¼ÏÂÊö¹¦ÂʲÎÊýÐÅÏ¢£¨PowerOffPpmÐÅÏ¢£¬ÏÔʾBetaCºÍBetaDÐÅÏ¢£¬²Î¿¼TFCIDÐÅÏ¢£©¡£0±íʾÎÞ¹¦¿Ø²ÎÊý*/
613 WORD wPowerOffPpmFlg;
614 WORD wPowerOffPpm;/*Needed only for PRACH*/
615 WORD wGainFactorInfo;/*±íʾBetaC£¬BetaDÓÃÏÔʾ¸ø³öµÄ·½Ê½»¹ÊÇÓòο¼TFC¼ÆËãµÄ·½Ê½¡£
616 ȡֵ0»ò1£¬0:±íʾÏÔʾ֪ͨ, BetaÖµ²ÉÓýӿÚÖÐÅäÖõÄwBetaD, wBetaC
617 1:±íʾ²Î¿¼·½Ê½,¸ù¾ÝwRefTfcIdÕÒµ½¶ÔÓ¦µÄBetaÖµ*/
618 WORD wBetaC;/*signalledGainFactorsÏÔʾ¸ø³öµÄBetaC ȡֵ0~15*/
619 WORD wBetaD; /*signalledGainFactorsÏÔʾ¸ø³öµÄBetaD ȡֵ0~15*/
620 WORD wRefTfcIdFlg;
621 WORD wRefTfcId; /*computedGainFactors Ref tfci£¬0~3 £¬ÐèÒªµ½²Î¿¼TFCIDÏÂѰÕÒ±¾TFCIDÐèÒªµÄBetaC£¬BetaD*/
622 WORD wPadding;
623}T_zW_P_ul_ctfc_tfc;
624
625typedef struct{
626 DWORD dwCtfc;
627 WORD wTfci;
628 WORD wPadding;
629}T_zW_P_dl_ctfc_tfc;
630
631
632typedef struct{
633 /*Unit is bits;UURRC should compute the TB size by the rlc size*/
634 WORD wTransBlockSize;
635 WORD wNumOfTransBlocks;
636
637 WORD wTfi;
638 WORD wPadding;
639}T_zW_P_dynamic_tfs;
640
641
642typedef struct{
643 WORD wTrchId;
644 WORD wTrchType; /*רÓÃÐŵÀ OR ¹«¹²ÐŵÀ*/
645 WORD wCodingTypeOfChannel;
646 WORD wTti;
647 WORD wCrcLength;
648 WORD wRmAttribute;
649 WORD wNumOfDynamicTfs;
650 WORD wPadding;
651}T_zW_P_static_tfs;
652
653
654typedef struct{
655 WORD wNumOfTrch;
656 WORD wNumOfTfc;
657 T_zW_P_static_tfs atStaticTFS[Z_W_P_MAX_UL_TRCH_NUM];
658 T_zW_P_dynamic_tfs atDynamicTFS[Z_W_P_MAX_UL_TF_NUM];
659 T_zW_P_ul_ctfc_tfc atCtfc[Z_W_P_MAX_UL_TFC_NUM];
660}T_zW_P_ul_dpch_trch_reconfig;
661
662typedef struct
663{
664 WORD wPrimSrc; /* PrimaryCPICH */
665 WORD wPcpichUsageForChannelEst; /*SecondaryCPICH-Info*/
666
667 WORD wDpchFrameOffset;
668 WORD wSecCpScrCodeFlg;
669 WORD wSecCpichScrambCode; /* SecondaryCPICH-Info*/
670 WORD wSecCpChanCodeFlg;
671 WORD wSecCpichChanCode;/* SecondaryCPICH-Info*/
672 WORD wTpcCombIndex; /* TPC-CombinationIndex */
673
674 WORD wClosedLoopTimAdjMode;
675 WORD wPowerOffTpcPdpdch; /* PowerOffsetTPC-pdpdch */
676 WORD wTxDivMode; /* DL-CommonInformation-r8*/
677 WORD wNumOfDpchs;
678
679 T_zW_P_dpch_ChannelCode atDlDpchChannelCode[Z_W_P_MAX_NO_OF_DPCHS];
680} T_zW_P_dedicated_rl_params;
681
682typedef struct{
683
684 WORD wNumOfTrch;
685
686 WORD wNumOfTfc;
687 /* ´ÓÓÒµ½×óBITλ¶ÔÓ¦µÄ´«ÊäÐŵÀ˳ÐòÓëatStaticTFSÏàͬ£»bitÖµ0±íʾ²»ÐèÒª½âÎö£¬1±íʾÐèÒª½âÎö */
688 WORD wEnableDecodeBitmap;
689 WORD wPadding;
690
691 /* ¸Ã¸ÃÊý×éÔÚDCH̬ʱÓÐЧ£¬Êý×éÔªËØ¶ÔÓ¦µÄ´«ÊäÐŵÀ˳ÐòÓëatStaticTFSÏàͬ£»
692 Target_BLERΪ¿ÉÑ¡²ÎÊý£¬ÖµµÄ·¶Î§Îª0ÖÁ63£¬0xffff±íʾ²ÎÊý²»´æÔÚ£»ÎïÀí²ãÊÕµ½ºóÒª*£¨-0.1£©µÃµ½Êµ¼ÊÖµ */
693 WORD awTargetBler[Z_W_P_MAX_DL_TRCH_NUM];
694
695 T_zW_P_static_tfs atStaticTfs[Z_W_P_MAX_DL_TRCH_NUM];
696
697 T_zW_P_dynamic_tfs atDynamicTfs[Z_W_P_MAX_DL_TF_NUM];
698 T_zW_P_dl_ctfc_tfc atCtfc[Z_W_P_MAX_DL_TFC_NUM];
699}T_zW_P_dl_trch_reconfig;
700
701typedef struct
702{
703 WORD wPrimSrc; /** PrimaryCPICH */
704 WORD wPcpichUsageForChannelEst; /*SecondaryCPICH-Info*/
705 WORD wDpchFrameOffset;
706 WORD wFdpchSlotFormat;
707
708 WORD wSecCpScrCodeFlg;
709 WORD wSecCpichScrambCode; /* SecondaryCPICH-Info*/
710
711 WORD wSecCpChanCodeFlg;
712 WORD wSecCpichChanCode;
713
714 WORD wFdpchSecScrambCodeFlg;
715 WORD wFdpchSecScrambCode;
716
717 WORD wTpcCombIndex; /* TPC-CombinationIndex */
718 WORD wSttdIndication;
719 WORD wFdpchChanCode;
720 WORD wPadding;
721}T_zW_P_fdpch_dedicated_rl_params;
722
723
724typedef struct{
725 WORD wNumOfTfc;
726 WORD wPadding;
727 T_zW_P_static_tfs tStaticTFS;
728 T_zW_P_dynamic_tfs atDynamicTFS[Z_W_P_MAX_UL_TF_NUM];
729 T_zW_P_ul_ctfc_tfc atCtfc[Z_W_P_MAX_UL_TFC_NUM];
730} T_zW_P_rach_tfs_tfcs_config;
731
732
733typedef struct{
734 WORD wMaxTxPower;
735 WORD wPrachScrambCode; /* Preamble scrambling code number0-15 */
736 WORD wMinSpreadingFactor;/* Available SF In chips per symbol
737 Defines the minimum allowed SF */
738 /* Each bit indicates availability for a signature, where the signatures are numbered "signature 0" up to "signature 15". The value 1 of a bit indicates that the corresponding signature is available and the value 0 that it is not available*/
739 WORD wPuncturingLimit;
740
741 /*10.3.6.55*/
742 /* Preamble_Initial_Power = Primary CPICH TX power - CPICH_RSCP + UL interference + Constant Value */
743 /* Preamble_Initial_Power= wInitialPowerOffset - CPICH_RSCP */
744 WORD wInitialPowerOff;
745 /*Prach Power Offset*/
746 WORD wPowerRampStep;/*PRACH¹¦ÂÊÆ«ÒÆ Power Ramp Step */
747 WORD wPreambleMaxRetrans;
748
749
750 /*10.3.6.2*/
751 WORD wAichChanCode;
752 WORD wAichTxdivMode; /*·¢ËÍ·Ö¼¯Ö¸Ê¾*/
753 WORD wAichTransTiming; /*AICH´«Êäʱ¼ä */
754 WORD wAichPowerOff;
755
756 WORD wRachTfsTfcsCfgFlg;
757
758 T_zW_P_rach_tfs_tfcs_config tRachTfsAndTfcsConfig;
759} T_zW_P_prach_sysinfo;
760
761typedef struct{
762 WORD wPowerOffHspdsch;
763 /* CQI feedback cycle count (0..160 ms) */
764 WORD wCqiFeedbackCycle;
765 /* CQI repetition factor (1..4) */
766 WORD wCqiRepFactor;
767 /* delta CQI (0..8) */
768 WORD wDeltaCqi;
769}T_zW_P_MeasFeedBack;
770
771
772typedef struct{
773
774 T_zW_P_MeasFeedBack tMeasFeedBack;
775
776 WORD wDeltaAck; /* delta ACK (0..8) */
777
778 WORD wDeltaNack; /* delta NACK (0..8) */
779
780 /* ACK-NACK repetition factor (1..4) UL-DPCH-PowerControlInfo-r7 */
781 WORD wAckNackRepFactor; /*DPCH¹¦ÂÊ¿ØÖÆ*/
782
783 /*(0, 1)1 indicates that preamble and postamble are used on the HS-DPCCH - see [29]*/
784 WORD wHarqPreambleMode; /* (MP)*/
785}T_zW_P_hs_dpcch;
786
787typedef struct{
788 WORD wNumbOfProcess;
789 /*memory partitioning 0:implicit 1:explicit*/
790 WORD wMemoryPartition;
791
792 DWORD dwProcessMemorySize[2*Z_W_P_MAX_H_PROCESS];
793}T_zW_P_hs_harq_info;
794
795typedef struct {
796 WORD wHsscchLessTfci;
797 WORD whsscchLessSecCodeSup;
798} T_zW_P_hsscch_LessTfsList;
799
800typedef struct {
801 WORD wHspdschCodeIndex;
802 WORD wHsscchLessTfsNum;
803 WORD wHsscchLessActiveFlg;
804 WORD wPadding;
805 T_zW_P_hsscch_LessTfsList atHsscchLessTfsList[Z_W_P_MAX_HSCCHLESS_TFS_NUM];
806} T_zW_P_hsscch_less;
807
808typedef struct{
809 WORD wDtxCycle1;
810 WORD wDtxCycle2;
811 WORD wDtxLongPreambleLength;
812 WORD wCqiDtxTimer;
813 WORD wDpcchBurst1;
814 WORD wDpcchBurst2;
815 WORD wCycle2InactivityThred;
816 WORD wDtxActiveFlg;
817
818} T_zW_P_dtx_info;
819
820typedef struct{
821 WORD wDrxCycle;
822 WORD wDrxCycleInacteThred;
823 WORD wDrxGrantMonitor;
824 WORD wDrxActiveFlg;
825} T_zW_P_drx_info;
826
827typedef struct{
828 WORD wEnableDelay;
829 WORD wDtxDrxOff;
830 WORD wUlDpcchSlotFormat;
831 WORD wDrxFlg;
832
833 T_zW_P_dtx_info tDtxInfo;
834 T_zW_P_drx_info tDrxInfo;
835} T_zW_P_dtx_drx_config;
836
837typedef struct{
838 /* indicate if secondary scrambling code exists for HS SCCH channel */
839 WORD wSecScrambCodeFlg;
840 /* secondary scrambling code value.
841 Valid only if sec_scr_code_valid is set to TRUE.
842 If not valid then primary CPICH scrambling code is used */
843 WORD wSecScrambCode;
844 /* number of channelisation codes to SCCH */
845 WORD wNumOfChannelCode;
846 WORD wPadding;
847 /* SCCH channelisation codes */
848 WORD awScchChannelCode [Z_W_P_MAX_HS_SCCH_CODES];
849}T_zW_P_hs_scch;
850
851typedef struct{
852 WORD wDlfreq;
853 /* serving HS-PDSCH radio link primary scrambling code */
854 WORD wPrimSrc;
855 WORD wHrnti;
856 WORD wDl64QAMConfigured;
857 WORD wHsDschTbSizeTable;
858 WORD wResetDpaFlg;
859
860 T_zW_P_hs_scch tHsscchConfigInfo;
861}T_zW_P_hsdpa_info;
862
863typedef struct{
864 WORD wDlfreq;
865 WORD wNewHrnti;
866 WORD wPrimSrc;
867
868 WORD wMeasPowerOff;
869 WORD wDl64QAMConfigured;
870 WORD wDiffTxDivers;
871 WORD wHsDschTbSizeTable;
872 WORD wSecHsdpaActiveFlg;
873
874 T_zW_P_hs_scch tHsscchConfigInfo;
875}T_zW_P_sec_hsdpa_info;
876
877typedef struct{
878 /*0:normalpattern,Ϊ0Ê±ÇøÓòIEÎÞЧ; 1: diversityPattern */
879 WORD wSecondCpichPattern;
880 WORD wScpichPowerOffFlg;
881 WORD wChanCode;
882 /*ȡֵ·¶Î§£º94-100 µ¥Î»dB,ÕæÊµÈ¡Öµ·¶Î§£º-6-0*/
883 WORD wScpichPowerOff;
884}T_zW_P_mimo_pilot_info;
885
886typedef struct{
887 /*ÓÃÓÚ´æ´¢mimoN-M-RatioÖÐö¾ÙÖµ¶ÔÓ¦µÄNµÄÖµ*/
888 WORD wMimoNRatio;
889 /*ÓÃÓÚ´æ´¢mimoN-M-RatioÖÐö¾ÙÖµ¶ÔÓ¦µÄMµÄÖµ*/
890 WORD wMimoMRatio;
891 WORD wPrecodeWeigRestr;
892 WORD wPadding;
893 T_zW_P_mimo_pilot_info tMimoPilotCfg;
894} T_zW_P_mimo_info;
895
896typedef struct{
897 /* 10.3.6.69a*/
898 WORD wRefTfci;
899 WORD wTfciPo;
900} T_zW_P_edch_tfci_po;
901
902typedef struct{
903 WORD wEdchRefEtfciNum;
904 WORD wPadding;
905 T_zW_P_edch_tfci_po atEdchTfciPo[Z_W_P_MAX_REF_ETFCI];
906} T_zW_P_edch_grant_config_info;
907
908typedef struct{
909 WORD wMinReducedEdpdchGainFactor;
910 WORD wMinEtfcSet; /*0XFFFF±íʾûÓÐÅäÖÃ×îСETFC×Ó¼¯*/
911 T_zW_P_edch_grant_config_info tEdchGrantConfigInfo;
912} T_zW_P_edpdch_info;
913
914typedef struct{
915 WORD wEdpcchPowerOffFlg;
916 WORD wDpcchPowerOff;
917 WORD wEdpdchPowerInterpolation;
918
919 /* E-TFC Boost Info */
920 WORD wEtfcBoostInfoFlg;
921 WORD wEtfciBoost;
922 WORD wDeltaT2TP;
923} T_zW_P_edpcch_info;
924
925typedef struct{
926 WORD wEdchTti;
927
928 /* 25.331, 10.3.5.7d:
929 If "rv0" is indicated, the UE shall only use E_DCH RV index 0.
930 Default value is "rvtable", in which case the UE shall use an RSN based
931 RV index. */
932 WORD wHarqRvConfig;/*0ºÍ1£¬·Ö±ð±íʾrv0ºÍrvtable*/
933
934 T_zW_P_edpdch_info tEdpdchInfo;
935 T_zW_P_edpcch_info tEdpcchInfo;
936} T_zW_P_edch_ul_info;
937
938typedef struct{
939 WORD wEagchChanCode;
940 WORD wPadding;
941} T_zW_P_edch_agch_info;
942
943
944typedef struct
945{
946 /* E-HICH-RGCH-SignatureSequence Signature Sequence; Ref: 10.3.6.122 in 25.331*/
947 WORD wSignatSequence; /* 0..39 */
948 WORD wPadding;
949}T_zW_P_comm_edch_rgch_info;
950
951typedef struct{
952 /* RG combination index; Ref: 10.3.6.100 in 25.331*/
953 WORD wRgchCombIdx; /* 0..5 */
954 /* E-HICH-RGCH-SignatureSequence Signature Sequence; Ref: 10.3.6.100 in 25.331*/
955 WORD wSignatSequence; /* 0..39 */
956} T_zW_P_edch_rgch_info;
957
958typedef struct{
959 /* HICH channelization code; Ref: 10.3.6.101 in 25.331 E-HICH-ChannelisationCode */
960 WORD wEhichChannlCode; /* 0..127 */
961 /* E-HICH-RGCH-SignatureSequence Signature Sequence; Ref: 10.3.6.100 in 25.331*/
962 WORD wSignatSequence; /* 0..39 */
963} T_zW_P_edch_hich_info;
964
965typedef struct{
966 WORD wEchDlChanBitmap;
967
968 /* primary scrambling code of this RL */
969 WORD wEdchRlPrimSrc;
970
971 T_zW_P_edch_rgch_info tEdchErgchInfo;
972 T_zW_P_edch_hich_info tEdchEhichInfo;
973} T_zW_P_edch_dl_per_rl_info;
974
975typedef struct{
976 WORD wPrimErntiFlg;
977 WORD wSecErntiFlg;
978
979 WORD wPrimErnti;
980 WORD wSecErnti;
981 /* Serving RL index in array atEdchDRlAddRecfgInfo[ [MAX_edch_RL] */
982 WORD wEdchServRlIdx; /* 0..(MAX_edch_RL-1) */
983
984 /* number of enteries valid in array e_rl_info[L1_MAX_edch_RL] */
985 WORD wNumOfEdchRl;
986 T_zW_P_edch_agch_info tEdchEagchInfo;
987 T_zW_P_edch_dl_per_rl_info atEdchDlRlInfo[Z_W_P_MAX_EDCH_NO_OF_RL];
988} T_zW_P_edch_dl_info;
989
990
991typedef struct{
992 T_zW_P_edch_ul_info tEdchUlInfo;
993 T_zW_P_edch_dl_info tEdchDlInfo;
994}T_zW_P_edch_info;
995
996typedef struct{
997 WORD wUlFreq;
998 WORD wScrambCodeType;
999 DWORD dwScrambCodeNum;
1000 WORD wPowerPreambleLen;
1001 WORD wDpcchPowerOff;
1002
1003 WORD wNumOfRl;
1004 WORD wSecEdchActiveFlg;
1005 T_zW_P_fdpch_dedicated_rl_params atFdpchDedicatedRlParams[Z_W_P_MAX_NO_OF_RL];
1006
1007 T_zW_P_edch_ul_info tEdchUlInfo;
1008 T_zW_P_edch_dl_info tEdchDlInfo;
1009} T_zW_P_sec_edch_info;
1010
1011typedef struct
1012{
1013 WORD wT321;
1014 WORD wDrx;
1015 WORD wRxBurst;
1016 WORD wDrxInterrupHsdsch;
1017} T_zW_P_fach_dpa_drx_info;
1018
1019typedef struct
1020{
1021 /* ACK-NACK repetition factor (1..4) UL-DPCH-PowerControlInfo-r7 */
1022 WORD wAackNackRepFactor; /*DPCH¹¦ÂÊ¿ØÖÆ*/
1023
1024 WORD wPowerControlAlgorith;
1025 WORD wTpcStepSize;
1026
1027 WORD wMeasFeedBackFlg;
1028 T_zW_P_MeasFeedBack tMeasFeedBack;
1029
1030 WORD wDeltaAckFlg;
1031 WORD wDeltaAck; /* delta ACK (0..8) */
1032
1033 WORD wDeltaNAckFlg;
1034 WORD wDeltaNack; /* delta NACK (0..8) */
1035} T_zW_P_fach_dpcch;
1036
1037typedef struct
1038{
1039 WORD wHrntiType;
1040 WORD wHrnti;
1041 WORD wBcchHrnti;
1042 WORD wHsdpaDrxFlg;
1043 WORD wHsdpcchSupAck;
1044 WORD wFachDpcchFlg;
1045 T_zW_P_hs_scch tHsscchConfig;
1046 T_zW_P_hs_harq_info tHsHarqInfo;
1047 T_zW_P_fach_dpa_drx_info tHsdpaDrxInfo;
1048 T_zW_P_fach_dpcch tFachDpcch;
1049} T_zW_P_fach_dpa_info;
1050
1051typedef struct
1052{
1053 WORD wSymbolOff;
1054 WORD wFdpchChanCode;
1055 WORD wUlDpcchScrambCodeType;
1056 WORD wCommEdchRgchFlg;
1057 DWORD dwUlDpcchScrambCode;
1058 T_zW_P_comm_edch_rgch_info tCommEdchRgchInfo;
1059 T_zW_P_edch_hich_info tEdchEhichInfo;
1060}T_zW_P_common_edch_resource_list;
1061
1062typedef struct
1063{
1064 WORD wPriErntiFlg;
1065 WORD wPriErnti;
1066 WORD wResetFlg;
1067 WORD wMaxTxPower;
1068 WORD wFdpchTpcCommandErrorRate;
1069 /* 25.331, 10.3.5.7d:
1070 If "rv0" is indicated, the UE shall only use E_DCH RV index 0.
1071 Default value is "rvtable", in which case the UE shall use an RSN based
1072 RV index. */
1073 WORD wHarqRvConfig;
1074
1075 WORD wAddEdchBackOff;
1076 WORD wEdchTti;
1077 WORD wEtfciTableIndex;
1078 WORD wCommonEdchResourceNum;
1079
1080 T_zW_P_edch_agch_info tEdchEagchInfo;
1081 T_zW_P_edpdch_info tEdpdchInfo;
1082 T_zW_P_edpcch_info tEdpcchInfo;
1083 T_zW_P_common_edch_resource_list atCommonEdchResourcelist[32];
1084 } T_zW_P_fach_upa_info;
1085
1086typedef struct{
1087
1088 WORD wEaiInd;
1089 WORD wDpcchPowerOffPe;
1090 WORD wEaiPowerOff;
1091 WORD wPadding;
1092 T_zW_P_prach_sysinfo tPrachSysinfo;/* ÔöÇ¿ÏÂPRACHÖ»ÓÐÒ»×é¡£*/
1093}T_zW_P_hspa_plus_prach_info;
1094
1095typedef struct
1096{
1097 WORD wHrnti;/*½ÓÊÕÏÂÐÐHS-SCCHʱÓõ½µÄUE ±êʶ*/
1098 WORD wBcchHrnti; /*ÔÚÏÂÐеÚÒ»ÌõHS-SCCHÉϽÓÊÕBCCHÉϵÄÏûϢʱÓõ½µÄרÓÃUE±êʶ*/
1099
1100 T_zW_P_hs_scch tHsscchConfig;
1101 T_zW_P_hs_harq_info tHsHarqInfo;
1102} T_zW_P_dcch_dtch_relate_info;
1103
1104typedef struct
1105{
1106 WORD wSecScrambCodeFlg;
1107 WORD wSecScrambCode;
1108 WORD wSubFrameNumOfPcch;/*number of subframes used to transmit the PAGING TYPE 1*/
1109 WORD wHsdpaChanCode;
1110 WORD wTbsNum;
1111 WORD wPadding;
1112 WORD awTbsList[2];
1113}T_zW_P_pcch_relate_info;
1114
1115typedef struct
1116{
1117 WORD wDcchDtchRec;/*µ±Ç°ÊÇ·ñÖ§³Ö½ÓÊÕDTCHºÍDCCH£»0£º²»Ö§³Ö£»1£ºÖ§³Ö*/
1118 WORD wPadding;
1119 T_zW_P_dcch_dtch_relate_info tDcchDtchInfo; /*Dcch/DtchÉϵĽÓÊÕÅäÖÃÐÅÏ¢£¬½öµ±wDcch_dtch_rec_fg=1ʱÓÐЧ*/
1120 T_zW_P_pcch_relate_info tPcch_info; /*PcchÉϵĽÓÊÕÅäÖÃÐÅÏ¢£¬½öµ±wDcch_dtch_rec_fg=0ʱÓÐЧ*/
1121} T_zW_P_pch_dpa_info;
1122
1123
1124
1125
1126/*==============================================================================
1127 Ô­ÓP_ADD_PRACH_REQ( URRC->PHY )
1128 ˵Ã÷: URRCÅäÖÃÎïÀí²ãËæ»ú½ÓÈëÐŵÀ
1129==============================================================================*/
1130typedef struct{
1131 WORD wMsgId;
1132 WORD wPadding;
1133 T_zW_P_prach_sysinfo tPrachSysinfo;
1134}T_zW_P_add_prach_req;
1135
1136
1137/*==============================================================================
1138 Ô­ÓP_W_UL_DPCH_SETUP_MODIFY_REQ( URRC->PHY )
1139 ˵Ã÷: URRC½¨Á¢ÉÏÐÐרÓÃÎïÀíÐŵÀ ÓÃÓÚ·ÇDCH½¨Á¢µ½DCH¼°DCHÈíÓ²Çл»,
1140 ÒÔ¼°È¡Ïû°éËæDPCH£¬ÉÏÐÐUPA£¬ÏÂÐÐFDPCH¶ÔÓ¦µÄÉÏÐÐDPCCHÅäÖá£
1141==============================================================================*/
1142typedef struct{
1143 WORD wMsgId;
1144 WORD wActTime;
1145 /*ÓÐͬƵ£¬ÒìÆµÓ²ÇУ¬DCH̬¿çÖÆÊ½Çл»£¬CCO»ØÍËÅäULDPCHʱ wHandoverConfigReturnFlg==1.ÆäËûÇé¿öwHandoverConfigReturnFlg==0
1146*/
1147// WORD wHandoverConfigReturnFlg;
1148
1149 WORD wHandoConfReturBitmap;/*Ó²ÇÐʧ°Ü»ØÍËָʾBITMAP. ´ÓÓÒÏò×óBIT0ÖÃ1±íʾµ±Ç°ÎªÖÆÊ½ÄÚÓ²ÇÐʧ°Ü»ØÍË£¬BIT1ÖÃ1±íʾ¿çÖÆÊ½Çл»Ê§°Ü»ØÍË£¬BIT2ÖÃ1±íʾ¿çÖÆÊ½CCOʧ°Ü»ØÍË*/
1150 WORD wUlFreq;
1151
1152 WORD wDlFreq;
1153 WORD wSpreadingFactor;
1154 DWORD dwUlScrambCode;
1155
1156 WORD wScrambCodeType;
1157 WORD wNumOfDPDCH;/*0±íʾûÓÐÅäÖÃDPDCH,Èç¹ûÈ¡0£¬´ËʱtUlTrchReconfig Ò²ÊÇÎÞЧµÄ¡£½ö½öÅäÖÃULDPCCH**/
1158 WORD wTfciFlg;
1159 WORD wNumOfFbiBits;
1160
1161 /*µ±wTfciExist; wNumFbiBits ¶¼²»´æÔÚʱ£¬wNumTPCBits¿ÉÑ¡´æÔÚ*/
1162 WORD wNumOfTPCBits;
1163 WORD wPunctLimit;/*DPDCH²»Îª0ÊDzÅÓÐЧ*/
1164
1165 WORD wPowerPreambleLen;
1166 WORD wDpcchPowerOff;
1167
1168 WORD wDpcchPowerOffStep;
1169 WORD wPowerControlAlgorithm;
1170 WORD wTpcStepSize;
1171 WORD wMaxTxPower;
1172
1173
1174T_zW_P_ul_dpch_trch_reconfig tUlTrchReconfig;
1175}T_zW_P_ul_dpch_setup_modify_req;
1176
1177/*==============================================================================
1178 Ô­ÓP_W_DL _DPCH_SETUP_MODIFY_REQ( URRC->PHY )
1179 ˵Ã÷: URRCÇëÇóÎïÀí²ã½¨Á¢×¨ÓÃÎïÀíÐŵÀ£¨ÓÃÓÚDPDCH¼°DPCCHµÄÅäÖã©
1180==============================================================================*/
1181typedef struct{
1182 WORD wMsgId;
1183 WORD wSoftHandoverFlg;
1184 WORD wActTime;
1185 /*ʱ¼ä±£³Ö(ÐèҪͬ²½ºÍ²»ÐèҪͬ²½)»¹ÊÇʱ¼äÖØ½¨Ó²ÇÐָʾ ȡֵ·¶Î§£¨0-3£© 0±íʾ³õʼ»¯ 1±íʾ²»ÐèҪͬ²½µÄʱ¼ä±£³ÖÓ²ÇУ¬2±íʾÐèҪͬ²½µÄʱ¼ä±£³ÖÓ²ÇУ¬3±íʾʱ¼äÖØ½¨Ó²ÇС£*/
1186 WORD wTimingIndication;
1187
1188 WORD wDpcMod;
1189 WORD wPowerOffPilotPdpdch;
1190 WORD wSf;
1191 WORD wNumOfPilotBits;
1192 WORD wTfciFlg;
1193 WORD wTrCHFixedFlg;
1194 /*N312,N313,N315*/
1195 WORD wN312;
1196 WORD wN313;
1197 WORD wN315;
1198 WORD wPadding;
1199 DWORD dwDoff;
1200 WORD wPostVerifyPeriodFlg;
1201 WORD wNumOfRl;
1202 T_zW_P_dedicated_rl_params atDedRlParams[Z_W_P_MAX_NO_OF_RL];
1203 T_zW_P_dl_trch_reconfig tDlTrchReconfig;
1204}T_zW_P_dl_setup_modify_req;
1205
1206
1207/*==============================================================================
1208 Ô­ÓP_W_DL _FDPCH_SETUP_MODIFY_REQ( URRC->PHY )
1209 ˵Ã÷: URRCÇëÇóÎïÀí²ã½¨Á¢²¿·ÖרÓÃÎïÀíÐŵÀ
1210==============================================================================*/
1211typedef struct{
1212 WORD wMsgId;
1213 WORD wSoftHandoverFlg;
1214 WORD wActTime;
1215 /*Enumerated(Initialise,Maintain) 0:Initialise,1:Maintain*/
1216 WORD wTimingIndication;
1217 WORD wDpcMod;
1218 WORD wFdpchTpcErrorRate;
1219
1220 /*N312,N313,N315*/
1221 WORD wN312;
1222 WORD wN313;
1223 WORD wN315;
1224 WORD wPadding;
1225 DWORD dwDoff;
1226 WORD wPostVerifyPeriodFlg;
1227 WORD wNumOfRl;
1228 T_zW_P_fdpch_dedicated_rl_params atFdpchDedRlParams[Z_W_P_MAX_NO_OF_RL];
1229}T_zW_P_dl_fdpch_setup_modify_req;
1230
1231/*==============================================================================
1232 Ô­ÓP_W_DPCH_SETUP_MODIFY_CNF( PHY->URRC )
1233 ˵Ã÷: ÎïÀí²ã֪ͨURRCÅäÖü¤»îʱ¼äµ½,ÎïÀí²ãÒѾ­ÆôÓÃеÄÅäÖÃ,
1234 ´ËʱUURRCÆô¶¯T312¶¨Ê±Æ÷.´ËÏûÏ¢ÓÃÓÚP_DL _DPCH_SETUP_MODIFY_REQºÍ
1235 P_dl_FDPCH_SETUP_MODIFY_REQµÄ·´À¡
1236==============================================================================*/
1237typedef struct{
1238 WORD wMsgId;
1239 WORD wRlt ;
1240}T_zW_P_dl_dpch_setup_modify_cnf;
1241
1242/*==============================================================================
1243 Ô­ÓP_W_IN_SYNC_IND( PHY->URRC )
1244 ˵Ã÷: ÎïÀí²ãÔÚ½¨Á¢×¨ÓÃÎïÀíÐŵÀʱ,֪ͨURRCͬ²½³É¹¦£¬ÌØÖ¸Ö÷ƵµãµÄͬ²½
1245==============================================================================*/
1246typedef struct{
1247 WORD wMsgId;
1248 WORD wPadding;
1249}T_zW_P_in_sync_ind;
1250
1251/*==============================================================================
1252 Ô­ÓP_W_OUT_SYNC_IND( PHY->URRC )
1253 ˵Ã÷: ÎïÀí²ã֪ͨURRCʧ²½£¬ÌØÖ¸Ö÷ƵµãµÄʧ²½
1254==============================================================================*/
1255typedef struct{
1256 WORD wMsgId;
1257 WORD wPadding;
1258}T_zW_P_out_sync_ind;
1259
1260/*==============================================================================
1261 Ô­ÓP_W_UL_DPCH_REL_REQ( URRC->PHY )
1262 ˵Ã÷: URRCÓÃÓÚÊÍ·ÅÉÏÐÐרÓÃÎïÀíÐŵÀ
1263==============================================================================*/
1264typedef struct{
1265 WORD wMsgId;
1266 WORD wActTime;
1267}T_zW_P_ul_dpch_rel_req;
1268
1269/*==============================================================================
1270 Ô­ÓP_W_DL_DPCH_REL_REQ( URRC->PHY )
1271 ˵Ã÷: URRCÓÃÓÚÊÍ·ÅÏÂÐÐרÓÃÎïÀíÐŵÀ
1272==============================================================================*/
1273typedef struct{
1274 WORD wMsgId;
1275 WORD wActTime;
1276}T_zW_P_dl_dpch_rel_req;
1277
1278/*==============================================================================
1279 Ô­ÓP_W_DPCH_REL_CNF( PHY->URRC )
1280 ˵Ã÷: µ×²ãÈ·ÈÏDPCHÐŵÀÊÍ·ÅÍê±Ï()¡£
1281 ÊÇP_ul_DPCH_REL_REQ»òP_dl_DPCH_REL_REQµÄ·´À¡ÏûÏ¢¡£
1282 µ±ÉÏÏÂÐÐDPCHÒ»Æðɾ³ýʱ£¬ÎïÀí²ãÖ»ÐèÒª»Ø¸´Ò»ÌõP_DPCH_REL_CNF
1283==============================================================================*/
1284typedef struct{
1285 WORD wMsgId;
1286 WORD wPadding;
1287}T_zW_P_dpch_rel_cnf;
1288
1289/*==============================================================================
1290 Ô­ÓP_W_REL_SCCPCH_REQ( URRC->PHY )
1291 ˵Ã÷: URRC ÓÃÓÚÊͷŸ¨¹«¹²ÎïÀíÐŵÀ
1292==============================================================================*/
1293typedef struct{
1294 WORD wMsgId;
1295 WORD wActTime;
1296}T_zW_P_rel_sccpch_req;
1297
1298/*==============================================================================
1299 Ô­ÓP_W_REL_SCCPCH_CNF( PHY->URRC )
1300 ˵Ã÷: µ×²ãÈ·ÈÏSCCPCHÐŵÀÊÍ·ÅÍê±Ï
1301==============================================================================*/
1302typedef struct{
1303 WORD wMsgId;
1304 WORD wPadding;
1305}T_zW_P_rel_sccpch_cnf;
1306
1307/*==============================================================================
1308 Ô­ÓP_W_ADD_MODIFY_SCCPCH_REQ( URRC->PHY )
1309 ˵Ã÷: URRC ÓÃÓÚÅäÖø¨¹«¹²ÎïÀíÐŵÀ
1310==============================================================================*/
1311typedef struct{
1312 WORD wMsgId;
1313 WORD wSecScramblCodeFlg;
1314 WORD wSecScramblCode; /*Secondary scrambling code */
1315 WORD wTxDivMode;
1316 WORD wSpreadingFactor;
1317 WORD wSccpchChanCode;
1318 WORD wSccpchChipsOffset;
1319 WORD wPilotExistence;
1320 WORD wTfciFlg;
1321 WORD wTrCHFixedFlg;
1322 T_zW_P_dl_trch_reconfig tDlTrchReconfig;
1323}T_zW_P_add_modify_sccpch_req;
1324
1325/*==============================================================================
1326 Ô­ÓP_W_PAGING_REQ( URRC->PHY )
1327 ˵Ã÷: URRC ÓÃÓÚÅäÖÃѰºôÐŵÀ
1328==============================================================================*/
1329typedef struct{
1330 WORD wMsgId;
1331 WORD wPadding;
1332 T_zW_P_add_modify_sccpch_req tAddModifySccpchReq;
1333 T_zW_P_pich_info tPichInfo;
1334}T_zW_P_paging_req;
1335
1336/*==============================================================================
1337 Ô­ÓP_W_STOP_PAGING_REQ( URRC->PHY )
1338 ˵Ã÷: URRC ÓÃÓÚֹͣѰºô
1339==============================================================================*/
1340typedef struct{
1341 WORD wMsgId;
1342 WORD wPadding;
1343}T_zW_P_stop_paging_req;
1344
1345/*==============================================================================
1346 Ô­ÓP_W_STOP_PAGING_CNF( PHY->URRC )
1347 ˵Ã÷: µ×²ãÈ·ÈÏÊÍ·ÅѰºôÐŵÀÍê±Ï
1348==============================================================================*/
1349typedef struct{
1350 WORD wMsgId;
1351 WORD wPadding;
1352}T_zW_P_stop_paging_cnf;
1353
1354/*==============================================================================
1355 Ô­ÓP_W_ADD_HSDPA_REQ( URRC->PHY )
1356 ˵Ã÷: URRC ÓÃÓÚÅäÖÃHSDPAÏà¹ØÐŵÀ£¨ÐèÒªÓëDPCH»òFDPCHÅäÖÃÅäºÏʹÓã©
1357==============================================================================*/
1358typedef struct{
1359 WORD wMsgId;
1360 WORD wActTime; /*0~255; 256:ÎÞЧ*/
1361 WORD wDtxDrxConfigFlg;
1362 WORD wHsscchLessFlg;
1363
1364 WORD wSecHsdpaInfoFlg;
1365 WORD wMimoParamFlg;/*¶ÔÓ¦atMimoInfo[0]ÖеIJÎÊý*/
1366 WORD wSecCellMimoParaFlg; /*¶ÔÓ¦atMimoInfo[1]ÖеIJÎÊý*/
1367 WORD wMacHdTyp;
1368
1369 T_zW_P_hs_dpcch tHsdpcchConfigInfo;
1370 T_zW_P_hs_harq_info tHsHarqInfo;
1371 T_zW_P_hsscch_less tHsscchLessInfo;
1372 T_zW_P_dtx_drx_config tDtxDrxConfig;
1373 T_zW_P_hsdpa_info tHsdpaInfo;
1374 T_zW_P_sec_hsdpa_info tSecHsdpaInfo;
1375 T_zW_P_mimo_info atMimoInfo[2];
1376}T_zW_P_hsdpa_config_req;
1377
1378/*==============================================================================
1379 Ô­ÓP_W_REL_HSDPA_REQ( URRC->PHY )
1380 ˵Ã÷: URRCÊÍ·ÅHSDPAÅäÖÃÇëÇó
1381==============================================================================*/
1382typedef struct{
1383 WORD wMsgId;
1384 WORD wActTime;
1385}T_zW_P_hsdpa_rel_req;
1386
1387/*==============================================================================
1388 Ô­ÓP_W_REL_HSDPA_CNF( PHY->URRC )
1389 ˵Ã÷: µ×²ãÈ·ÈÏÊÍ·ÅHSDPAÐŵÀÍê±Ï
1390==============================================================================*/
1391typedef struct{
1392 WORD wMsgId;
1393 WORD wPadding;
1394}T_zW_P_hsdpa_rel_cnf;
1395
1396/*==============================================================================
1397 Ô­ÓP_W_ADD_HSUPA_REQ( URRC->PHY )
1398 ˵Ã÷: URRCÅäÖÃHSUPA
1399==============================================================================*/
1400typedef struct{
1401 WORD wMsgId;
1402 WORD wActTime;
1403 WORD wUlfreq;
1404 WORD wMaxTxPower;
1405
1406 WORD wUl16QAMFlg;
1407 WORD wEtfciTableIndex;/* ·Ç16QAMʱȡֵ·¶Î§ÊÇ0µ½1.16QAMʱȡֵ·¶Î§ÊÇ2µ½3*/
1408 WORD wSecEdchFlg;
1409 WORD wPadding;
1410 T_zW_P_edch_info tEdchInfo;
1411 T_zW_P_sec_edch_info tSecEdchInfo;
1412}T_zW_P_hsupa_config_req;
1413
1414/*==============================================================================
1415 Ô­ÓP_W_HSUPA_REL_REQ( URRC->PHY )
1416 ˵Ã÷: URRCɾ³ýHSUPA×ÊÔ´
1417==============================================================================*/
1418typedef struct{
1419 WORD wMsgId;
1420 WORD wActTime;
1421}T_zW_P_hsupa_rel_req;
1422
1423/*==============================================================================
1424 Ô­ÓP_W_HSUPA_REL_CNF( PHY->URRC )
1425 ˵Ã÷: µ×²ãÈ·ÈÏɾ³ýHSUPA×ÊÔ´Íê±Ï
1426==============================================================================*/
1427typedef struct{
1428 WORD wMsgId;
1429 WORD wPadding;
1430}T_zW_P_hsupa_rel_cnf;
1431
1432/*==============================================================================
1433 Ô­ÓP_W_HSPA_PLUS_FACH_REQ( URRC->PHY )
1434 ˵Ã÷: ÅäÖÃL1 FACHºÍIDLE̬ϵÄÏà¹ØÔöÇ¿ÅäÖÃ.½áºÏPRACHÅäÖÃÒ»ÆðʹÓÃ.
1435 ÔöÇ¿FACH̬µ±ÏÂÐвÉÓÃDPAÊÇ£¬´ËʱwPlusUpaFlgÖÃ0£¬
1436 ÉÏÐÐÐèÒªP_W_ADD_PRACH_REQÆÕͨRACHÅäÖÃ
1437==============================================================================*/
1438typedef struct{
1439 WORD wMsgId;
1440 WORD wDlFreq;
1441 WORD wPlusUpaFlg;
1442 WORD wPadding;
1443 T_zW_P_fach_dpa_info tFachDpaInfo;
1444 T_zW_P_fach_upa_info tFachUpaInfo;
1445 T_zW_P_hspa_plus_prach_info tPlusPrachInfo;
1446} T_zW_P_hspa_plus_fach_req;
1447
1448/*==============================================================================
1449 Ô­ÓP_W_HSPA_PLUS_PCH_REQ( URRC->PHY )
1450 ˵Ã÷: ÅäÖÃL1 PCH̬ϵÄÏà¹ØÔöÇ¿ÅäÖÃ
1451==============================================================================*/
1452typedef struct{
1453 WORD wMsgId;
1454 WORD wDlFreq;
1455 T_zW_P_pch_dpa_info tPchDpaInfo;
1456 T_zW_P_pich_info tPichInfo;
1457} T_zW_P_hspa_plus_pch_req;
1458
1459/*==============================================================================
1460 Ô­ÓP_W_HSPA_PLUS_FACH_REL_REQ( URRC->PHY )
1461 ˵Ã÷: ɾ³ýL1 FACHºÍIDLE̬ϵÄÏà¹ØÔöÇ¿ÅäÖÃ
1462==============================================================================*/
1463typedef struct{
1464 WORD wMsgId;
1465 WORD wActTime; /*0~255; 256:Á¢¼´ÆðЧ*/
1466} T_zW_P_hspa_plus_fach_rel_req;
1467
1468/*==============================================================================
1469 Ô­ÓP_W_HSPA_PLUS_PCH_REL_REQ( URRC->PHY )
1470 ˵Ã÷: ɾ³ýL1 PCH̬ϵÄÏà¹ØÔöÇ¿ÅäÖÃ
1471==============================================================================*/
1472typedef struct{
1473 WORD wMsgId;
1474 WORD wPadding;
1475} T_zW_P_hspa_plus_pch_rel_req;
1476
1477/*==============================================================================
1478 Ô­ÓP_W_HSPA_PLUS_FACH_REL_CNF( PHY->URRC )
1479 ˵Ã÷: ÎïÀí²ã»Ø¸´¸øL1TµÄÔöÇ¿FACHÅäÖÃɾ³ýÈ·ÈÏÏûÏ¢
1480==============================================================================*/
1481typedef struct{
1482 WORD wMsgId;
1483 WORD wPadding;
1484} T_zW_P_hspa_plus_fach_rel_cnf;
1485
1486/*==============================================================================
1487 Ô­ÓP_W_HSPA_PLUS_PCH_REL_CNF( PHY->URRC )
1488 ˵Ã÷: ÎïÀí²ã»Ø¸´¸øL1TµÄÔöÇ¿PCHÅäÖÃɾ³ýÈ·ÈÏÏûÏ¢
1489==============================================================================*/
1490typedef struct{
1491 WORD wMsgId;
1492 WORD wPadding;
1493} T_zW_P_hspa_plus_pch_rel_cnf;
1494
1495/*==============================================================================
1496 Ô­ÓP_W_HSSCCH_ORDER_IND( PHY->URRC )
1497 ˵Ã÷: ÎïÀí²ãÊÕµ½HSSCCH ORDERºóÉϱ¨PS
1498==============================================================================*/
1499typedef struct{
1500 WORD wMsgId;
1501 WORD wHsscchOrderTypeInd;/*ͨ¹ý´Ë±êʶ£¬PHY֪ͨPS£¬¸Õ¸ÕÊÕµ½µÄORDERÖÐЯ´øµÄÀàÐÍ£¬¸ÃÀàÐ͵碌îÈ¥»îÐèÒª¸ù¾ÝwHsscchOrderTypeÏàӦλÅжϡ£*/
1502 WORD wHsscchOrderType;
1503 WORD wPadding;
1504}T_zW_P_Hscch_Order_Ind;
1505
1506/*wHsscchOrderTypeInd ±íʾµ±Ç°ÊÕµ½ÁËÄÄЩORDERµÄÀàÐÍ¡£ÓëwHsscchOrderTypeÖеÄÀàÐÍÒ»Ò»¶ÔÓ¦¡£
1507´ÓÓÒÏò×ó£¬Ã¿¸öBIT·Ö±ð±íʾHSDSCH·þÎñ±ä¸ü£¬EPCHʱÔÚHS_SCCHÉÏÊÕµ½HRNTI,LESS£¬µÚ¶þƵµãDPA£¬µÚ¶þƵµãUPAÇé¿ö£¬ÏàӦλ ÖÃÒ»±íʾÊÕµ½ÁËÏàÓ¦ÀàÐ͵ÄORDER,¡£
1508µÚ0±ÈÌØ£º1±íʾ¸ÕÊÕµ½HSDSCH·þÎñÐ¡Çø¸ü¸ÄµÄORDER £»
1509µÚ1±ÈÌØ£»1±íʾ¸ÕÊÕµ½EPCHʱÔÚHS_SCCHÉÏÊÕµ½HRNTIµÄORDER
1510µÚ2±ÈÌØ£º1±íʾ¸ÕÊÕµ½DTXÏà¹ØORDER
1511µÚ3±ÈÌØ£º1±íʾ¸ÕÊÕµ½µÄÊÇDRX Ïà¹ØORDER
1512µÚ4±ÈÌØ£º1±íʾ¸Õ¸ÕÊÕµ½µÄÊÇHS_SCCH_LESSÏà¹ØµÄORDER
1513µÚ5±ÈÌØ£º1±íʾ¸Õ¸ÕÊÕµ½µÄÊǵÚ2ƵµãÏÂÐÐDPAÏà¹ØµÄORDER
1514µÚ6±ÈÌØ£º1±íʾ¸Õ¸ÕÊÕµ½µÄÊǵÚ2ƵµãÉÏÐÐUPAÏà¹ØµÄORDER
1515*/
1516/*
1517wHsscchOrderType´ÓÓÒÏò×ó£¬Ã¿¸öBIT·Ö±ð±íʾHSDSCH·þÎñ±ä¸ü£¬EPCHʱÔÚHS_SCCHÉÏÊÕµ½HRNTI,LESSµÄ¼¤»îÈ¥»î£¬µÚ¶þƵµãDPA¼¤»îÈ¥»î£¬µÚ¶þƵµãUPAµÄ¼¤»îÈ¥»îÇé¿ö
1518µÚ0±ÈÌØ£º0±íʾHSDSCH·þÎñÐ¡Çø¸ü¸Ä,1±íʾδÊÕµ½HSDSCH·þÎñÐ¡Çø¸ü¸Ä. £»
1519µÚ1±ÈÌØ£»1±íʾEPCHʱÔÚHS_SCCHÉÏÊÕµ½HRNTI
1520µÚ2±ÈÌØ£º0±íʾȥ»îDTX£¬1±íʾ¼¤»îDTX
1521µÚ3±ÈÌØ£º0±íʾȥ»îDRX£¬1±íʾ¼¤»îDRX
1522µÚ4±ÈÌØ£º0±íʾȥ»îHS_SCCH_LESS£¬ 1±íʾ¼¤»îHS_SCCH_LESS
1523µÚ5±ÈÌØ£º0±íʾȥ»îµÚ2ƵµãÏÂÐÐDPA£¬1±íʾ¼¤»îµÚ2ƵµãÏÂÐÐDPA
1524µÚ6±ÈÌØ£º0±íʾȥ»îµÚ2ƵµãÉÏÐÐUPA£¬1±íʾ¼¤»îµÚ2ƵµãÉÏÐÐUPA
1525
1526*/
1527/*==============================================================================
1528 Ô­ÓP_W_NERBERCELL_HSSCCH_ORDER_REQ( URRC->PHY )
1529 ˵Ã÷: ÇëÇóÎïÀí²ã¶Áȡָ¶¨Ð¡ÇøµÄHSSCCH ORDER.ÏìÓ¦ÏûÏ¢ÊÇP_Hscch_Order_Ind.
1530==============================================================================*/
1531typedef struct{
1532 WORD wMsgId;
1533 WORD wPriSrc;
1534 WORD wMonitorTimeLen;
1535 WORD wPadding;
1536 T_zW_P_hs_scch tHsscchConfigInfo;
1537}T_zW_P_Hscch_Order_Req;
1538
1539/*==============================================================================
1540 Ô­ÓP_W_NERBERCELL_HSSCCH_ORDER_ABORT_REQ( URRC->PHY )
1541 ˵Ã÷: ÇëÇóÎïÀí²ãÈ¡Ïû¶Áȡָ¶¨Ð¡ÇøµÄHSSCCH ORDER.
1542==============================================================================*/
1543typedef struct{
1544 WORD wMsgId;
1545 WORD wPaddng;
1546}T_zW_P_Hscch_Order_Abort_Req;
1547
1548
1549/*==============================================================================
1550 Ô­ÓW_P_EFACH_UPDATE_RNTI_REQ( URRC->PHY )
1551 ˵Ã÷: ֪ͨÎïÀí²ã¸üÐÂרÓõÄHRNTI»òERNTI
1552==============================================================================*/
1553typedef struct{
1554 WORD wMsgId;
1555 WORD wActTime;/*0~255; 256:Á¢¼´ÆðЧ*/
1556 WORD wUpdateType;/*1£ºÖ»¸üÐÂH-RNTI£»2£ºÖ»¸üÐÂE-RNTI£»3£º¸üÐÂH-RNTIºÍE-RNTI;*/
1557 WORD wHrnti;
1558 WORD wPriErnti; /*רÓÃÖ÷ERNTI*/
1559 WORD wPadding;
1560 }T_zW_P_efach_update_rnti_req;
1561
1562 /*==============================================================================
1563 * RBCÈ«¾ÖÊý¾ÝÀàÐͶ¨Òå -------end *
1564 ==============================================================================*/
1565 /*==============================================================================
1566 * MCRÈ«¾ÖÊý¾ÝÀàÐͶ¨Òå --------start *
1567 ==============================================================================*/
1568
1569 /*==============================================================================
1570 RRC<->PHY
1571 ¹¦ÄÜ:
1572 RRCºÍPHY²ã¼äµÄͬƵ²âÁ¿ÅäÖýӿÚ
1573 ½á¹¹:
1574 ͬƵ²âÁ¿ÅäÖÃÏûÏ¢ W_P_INTRA_FREQ_MEAS_REQ
1575 ͬƵ²âÁ¿½á¹ûÏûÏ¢ W_P_INTRA_FREQ_MEAS_IND
1576 ==============================================================================*/
1577typedef struct {
1578 WORD wCellId;
1579 WORD wPrimSrc;
1580 WORD wChipAccuracy;
1581 WORD wRefTimeDiff;
1582 WORD wTxDivInd;
1583 WORD wSynInforNeed;
1584}T_zW_P_cell_info;
1585
1586typedef struct {
1587 WORD wCellNum;
1588 WORD wUarfcn;
1589 T_zW_P_cell_info atMeasCellInfo[Z_W_P_MAX_CELL_NUM];
1590}T_zW_P_freq_meas_info;
1591
1592typedef struct {
1593 WORD wUarfcn;
1594 WORD wCellNum;
1595 WORD awPrimSrc[Z_W_P_MAX_CELL_NUM];
1596}T_zW_P_freq_not_meas_info;
1597
1598typedef struct {
1599 WORD wMsgId;
1600 WORD wDetectedSetQuantity;
1601 WORD wMeasFreqNum;
1602 WORD wNotMeasFreqNum;
1603 DWORD dwMeasId;
1604 T_zW_P_freq_meas_info atIntraFreqMeasInfo[Z_W_P_MAX_INTRAFREQ_NUM];
1605 T_zW_P_freq_not_meas_info atNotMeasFreqInfo[Z_W_P_MAX_INTRAFREQ_NUM];
1606}T_zW_P_intra_freq_meas_req;
1607
1608
1609typedef struct {
1610 WORD wCellId;
1611 WORD wPrimSrc;
1612 WORD wSfnFlag:1;
1613 WORD wCpichRscp:8;
1614 WORD wCpichEcNo:7;
1615 WORD wSfn;
1616 WORD wOff;
1617 WORD wTm;
1618} T_zW_P_cell_meas_rlt;
1619
1620typedef struct{
1621 WORD wUarfcn;
1622 WORD wCellNum:8;
1623 WORD wRssi:8;
1624 T_zW_P_cell_meas_rlt atCellMeasRlt[Z_W_P_MAX_CELL_NUM];
1625} T_zW_P_freq_meas_rlt;
1626
1627typedef struct {
1628 WORD wMsgId;
1629 WORD wFreqNum;
1630 DWORD dwMeasId;
1631 T_zW_P_freq_meas_rlt atIntraFreqMeasRlt[Z_W_P_MAX_INTRAFREQ_NUM];
1632}T_zW_P_intra_freq_meas_ind;
1633
1634 /*==============================================================================
1635 RRC<->PHY
1636 ¹¦ÄÜ:
1637 RRCºÍPHY²ã¼äµÄÒìÆµ²âÁ¿ÅäÖýӿÚ
1638 ½á¹¹:
1639 ÒìÆµ²âÁ¿ÅäÖÃÏûÏ¢ W_P_INTER_FREQ_MEAS_REQ
1640
1641==============================================================================*/
1642typedef struct{
1643 WORD wUarfcn;
1644 WORD wCearchCellFlg; /*1±íʾ¸ÃƵµã²»½ö²âÁ¿RSSI»¹ÐèÒª½øÐÐÐ¡ÇøËÑË÷£¬²¢½øÐÐÐ¡Çø²âÁ¿½á¹ûÉϱ¨¡£0±íʾ¸ÃƵµã½ö²âÁ¿RSSI*/
1645}T_zW_P_Blind_freq_meas_req;
1646
1647
1648typedef struct {
1649 WORD wMsgId;
1650 WORD wFreqNum;
1651 WORD wBlindFreqNum;
1652 WORD wLbsFlag;
1653 DWORD dwTmeasInial;
1654 DWORD dwTmeas;
1655 DWORD dwMeasId;
1656 T_zW_P_freq_meas_info atInterFreqMeasInfo[Z_W_P_MAX_INTERFREQ_NUM]; /*wFreqNumÊýĿָʾ*/
1657 T_zW_P_Blind_freq_meas_req atBlindFreq[Z_W_P_MAX_BLIND_INTERFREQ_NUM]; /*wBlindFreqNumÊýĿָʾ*/
1658}T_zW_P_inter_freq_meas_req;
1659
1660 /*==============================================================================
1661 RRC<->PHY
1662 ¹¦ÄÜ:
1663 RRCºÍPHY²ã¼äµÄÒìÆµ²âÁ¿ÅäÖýӿÚ
1664 ½á¹¹:
1665 ÒìÆµ²âÁ¿½á¹ûÏûÏ¢ W_P_INTER_FREQ_MEAS_IND
1666==============================================================================*/
1667typedef struct
1668{
1669 WORD wPrimSrc;
1670 WORD wCpichRscp;
1671 WORD wCpichEcNo;
1672 WORD wPadding;
1673}T_zW_blind_cell_rlt;
1674
1675typedef struct
1676{
1677 WORD wUarfcn;
1678 WORD wRssi;
1679 WORD wCellNum; /* ¸ÃƵµãÏÂä²âÁ¿µÄÐ¡Çø¸öÊý */
1680 WORD wPadding;
1681 T_zW_blind_cell_rlt atBlindCellRlt[Z_W_P_MAX_BLIND_INTERFREQ_CELL_NUM];
1682}T_zW_blind_uarfcn_rlt;
1683
1684
1685typedef struct{
1686 WORD wMsgId;
1687 WORD wInterFreqNum;
1688 WORD wBlindFreqNum;
1689 WORD wRptFlg; /*0:ÖÜÆÚÉϱ¨ 1:ÌáǰÉϱ¨*/
1690 DWORD dwMeasId;
1691 T_zW_P_freq_meas_rlt atInterFreqMeasRlt[Z_W_P_MAX_INTERFREQ_NUM];
1692 T_zW_blind_uarfcn_rlt atBlindFreqRlt[Z_W_P_MAX_BLIND_INTERFREQ_NUM];
1693}T_zW_P_inter_freq_meas_ind;
1694
1695
1696/*==============================================================================
1697 PHY->RRC
1698 ¹¦ÄÜ:
1699 RHYÏòRRC·¢ËÍ·þÎñÐ¡Çø²âÁ¿½á¹ûÉϱ¨
1700 ½á¹¹:
1701 ·þÎñÐ¡Çø²âÁ¿½á¹ûÉϱ¨ÏûÏ¢ W_P_SERVCELL_MEAS_IND
1702==============================================================================*/
1703typedef struct {
1704 WORD wMsgId;
1705 WORD wPrimSrc;
1706 WORD wCpichRscp;
1707 WORD wCpichEcNo;
1708 DWORD dwMeasId;
1709 WORD wRssi; //·þÎñƵµãRSSIÖµ£¬È¡Öµ·¶Î§:0~76£¬¶ÔÓ¦-25dBm~-100dBm
1710 WORD wPadding;
1711}T_zW_P_servcell_meas_ind;
1712
1713/*==============================================================================
1714 RRC<->PHY
1715 ¹¦ÄÜ:
1716 RRCºÍPHY²ã¼äµÄUEÄÚ²¿²âÁ¿ÅäÖýӿÚ
1717 ½á¹¹:
1718 UEÄÚ²¿²âÁ¿ÇëÇóÏûÏ¢ W_P_UE_INTERNAL_MEAS_REQ
1719 UEÄÚ²¿²âÁ¿½á¹ûÉϱ¨ W_P_UE_INTERNAL_MEAS_IND
1720==============================================================================*/
1721
1722typedef struct {
1723 WORD wMsgId;
1724 WORD wPadding;
1725 WORD wRepInterval;
1726 WORD wTxPowerNeed:1;
1727 WORD wRxTxNeed:1;
1728 WORD wRssiNeed:1;
1729 WORD :13;
1730 DWORD dwMeasId;
1731}T_zW_P_ueinternal_meas_req;
1732
1733
1734typedef struct {
1735 WORD wPrimSrc;
1736 WORD wRxTxTimeDiff;
1737}T_zW_P_rxtx_time_diff_rlt;
1738
1739typedef struct {
1740 WORD wMsgId;
1741 WORD wPadding;
1742 WORD wTxPowerFlag:1;
1743 WORD wRssiFlag:1;
1744 WORD :14;
1745 WORD wTxPower;
1746 WORD wRssi;
1747 WORD wNumOfRxTxResults;
1748 DWORD dwMeasId;
1749 T_zW_P_rxtx_time_diff_rlt atRxTxTimeDiffRlt[Z_W_P_MAX_NO_OF_RL];
1750}T_zW_P_ueinternal_meas_ind;
1751
1752 /*==============================================================================
1753 RRC->PHY
1754 ¹¦ÄÜ:
1755 RRCÏòPHY·¢Ë͵IJâÁ¿É¾³ýָʾ
1756 ½á¹¹:
1757 ²âÁ¿ÊÍ·ÅÏûÏ¢ W_P_MEAS_REL_REQ_EV
1758 wMeasTypes±àÂ룺ÏàÓ¦bitλÖÃ1±íʾÊÍ·Å´ËÀàÐͲâÁ¿£»·ñÔò²»ÊÍ·Å
1759 bit0: ServCellMeas
1760 bit1: IntraFreq
1761 bit2: InterFreq
1762 bit3£ºUeInterMeas
1763 ==============================================================================*/
1764typedef struct {
1765 WORD wMsgId;
1766 WORD wMeasTypes;
1767}T_zW_P_meas_rel_req;
1768
1769 /*==============================================================================
1770 RRC->PHY
1771 ¹¦ÄÜ:
1772 Fach̬ϲâÁ¿Ê±»úÅäÖÃ
1773 ½á¹¹:
1774 FMOÐÅÏ¢ÅäÖà W_P_FMO_INFO_REQ
1775==============================================================================*/
1776typedef struct {
1777 WORD wMsgId;
1778 WORD wFMONeed; /*ָʾÊÇ·ñʹÓÃFMO¡£0±íʾȡÏûFMO£¬·Ç0Öµ±íʾÅäÖÃFMO*/
1779 WORD wTtiPeriod; /*=M_REP, measurement occasion cycle length */
1780 WORD wTtiOffset; /*=C_rnti RNTImod M_REP*/
1781}T_zW_P_fmo_req;
1782
1783 /*==============================================================================
1784 RRC->PHY
1785 ¹¦ÄÜ:
1786 Dch̬ÏÂѹËõģʽÐÅÏ¢ÅäÖÃ
1787 ½á¹¹:
1788 ѹËõģʽÐÅÏ¢ÅäÖà W_P_COMPRESS_MODE_REQ
1789==============================================================================*/
1790typedef struct {
1791 WORD wCompressedModeUsage; /*ÓÃÓÚÉÏÐУ¬ÏÂÐл¹ÊÇÉÏÏÂÐÐ*/
1792 WORD wDlCompModeMethod;
1793 WORD wUlCompModeMethod;
1794 WORD wDlFrameType; /*Ö¡ÀàÐÍA OR B*/
1795 WORD wRpp; /* Recovery Period Power control mode during the frame after the transmission gap within the compressed frame ģʽ0»¹ÊÇģʽ1*/
1796 WORD wItp;/* nitial Transmit Power is the uplink power control method to be used to compute the initial transmit power after the compressed mode gapģʽ0»¹ÊÇģʽ1*/
1797 WORD wDeltaSir1;/*ÏÂÐÐSIRµ÷ÕûÖµ*/
1798 WORD wDeltaSirAfter1;
1799 WORD wDeltaSir2; /*Real(0..3 by step of 0.1),À©´ó10±¶*/
1800 WORD wDeltaSirAfter2;
1801}T_zW_P_static_info;
1802
1803typedef struct {
1804 WORD wTgpsi; /*gap ID 1-6 */
1805 WORD wActiveFlg; /*1=¼¤»î£»0=È¥»î*/
1806 WORD wMeasPurpose; /*1=ÒìÆµ £¬2=RAT*/
1807 WORD wTgsn; /*Æðʼʱ϶ºÅ*/
1808 WORD wTgprc; /*´«Êä¼ä¸ôÖØ¸´´ÎÊý, 0xFFFF±íʾÎÞÏÞ´ÎÊý*/
1809 WORD wTgcfn; /*´«Êä¼ä¸ôÁ¬½ÓÖ¡ºÅ£¬ÊǵÚһģʽµÄµÚÒ»¸öÎÞÏßÖ¡µÄCFN*/
1810 WORD wTgl1; /*µÚÒ»¸öGAPµÄ³¤¶È£¬Ê±Ï¶Êý*/
1811 WORD wTgl2; /*µÚ¶þ¸öGAPµÄ³¤¶È*/
1812 WORD wTgpl; /*´«Êä¼ä¸ô³¤¶È£¬Ö¡Êý*/
1813 WORD wTgd; /*Á½¸öGAPÆðʼµãµÄ¾àÀ룬ʱ϶Êý£¬0xFFFF±íÃ÷GapÄ£ÐÍÖв»´æÔÚµÚ¶þ¸öGap*/
1814 T_zW_P_static_info tCmStaicInfo;
1815}T_zW_P_compress_gap_pattern;
1816
1817
1818typedef struct {
1819 WORD wMsgId;
1820 WORD wCmPatternNum;
1821 WORD wActTime; /*ȡֵ·¶Î§0-255£¬256£¬ÆäÖÐ256±íʾÁ¢¼´¼¤»î*/
1822 WORD wCmCellInfoFlg; /*ȡֵ0»ò1£¬±íʾÊÇ·ñЯ´øÁËÐ¡ÇøÐÅÏ¢wDlUarfcnºÍwPrimSrc. ȡֵ1ʱwDlUarfcnºÍwPrimSrcÓÐЧ£¬·ñÔòÎÞЧ*/
1823 WORD wDlUarfcn;
1824 WORD wPrimSrc;
1825 T_zW_P_compress_gap_pattern atCopressModePattern[Z_W_P_MAX_CM_NUM];
1826}T_zW_P_compress_mode_req;
1827
1828/*==============================================================================
1829 L1W->PHY
1830 ¹¦ÄÜ:
1831 FDDΪ¸¨Ä£Ê½Ï£¬ÊÕµ½µÄGAPÅäÖÃW_P_IRATGAPCONFIG_REQ
1832 ½á¹¹:
1833 GAPÇëÇóÐÅÏ¢ W_P_IRATGAPCONFIG_REQ
1834==============================================================================*/
1835
1836typedef struct
1837{
1838 WORD wMsgId;
1839 WORD wIdleOrConnectFlg;/*FDDΪ¸¨ÖÆÊ½Ê±Ö÷ÖÆÊ½µÄ״̬£¬È¡ÖµÎª0±íʾ¿ÕÏÐ̬ȡֵΪ1±íʾÁ¬½Ó̬*/
1840 WORD wStartSfn;/*GAPÆðʼµãÖ¡ºÅ,ȡֵ·¶Î§ 0--4096*/
1841 WORD wStartOffChip; /*GAPÆðʼµã.CHIPÆ«ÒÆ£¨chips£©,ÕæÕýµÄGAPÆðʼµãÊÇwStartSfn+wStartOffChip*/
1842 DWORD dwLength;/* GAPÄ£ÐͳÖÐøÊ±¼ä,µ¥Î»ÊÇ£¨chips£©*/
1843}T_zW_P_irat_gap_config_req;
1844
1845/*==============================================================================
1846 L1W<->PHY
1847 ¹¦ÄÜ:
1848 L1WºÍPHY²ã¼äµÄABORT GAPÅäÖýӿÚ
1849 ½á¹¹:
1850 ÇëÇóÎïÀí²ãֹͣʹÓÃGAPÏûÏ¢ W_P_ABORT_IRAT_GAP_REQ
1851 ÎïÀí²ã²»ÔÚʹÓÃGAPµÄÈ·ÈÏ W_P_ABORT_IRAT_GAP_CNF
1852==============================================================================*/
1853typedef struct {
1854 WORD wMsgId;
1855 WORD wPadding;
1856}T_zW_P_abort_irat_gap_req;
1857
1858typedef struct {
1859 WORD wMsgId;
1860 WORD wPadding;
1861}T_zW_P_abort_irat_gap_cnf;
1862
1863 /*==============================================================================
1864 PHY->L1W
1865 ¹¦ÄÜ:
1866 ÎïÀí²ãÉϱ¨gapʱ¼äÐÅÏ¢
1867 ½á¹¹:
1868 ÎïÀí²ãÉϱ¨GAPʱ¼äÐÅÏ¢ÏûÏ¢ W_P_INACTIVE_TIME_IND
1869==============================================================================*/
1870typedef struct {
1871 WORD wStartRtFrame; /*GAPÆðʼµãÖ¡ºÅ,ȡֵ·¶Î§0-255£¬ÓÉÎïÀí²ãRTʱ»úÄ£256µÃµ½*/
1872 WORD wStartChipOff; /*GAPÆðʼµãÏà¶ÔÓÚwStartCfnµÄCHIPÆ«ÒÆ*/
1873 DWORD dwLengthChip; /*GAP³¤¶È*/
1874
1875}T_zW_P_gap_info;
1876
1877typedef struct {
1878 WORD wMsgId;
1879 WORD wSeqNum;
1880 WORD wGapNum;
1881 WORD Wpadding;
1882 T_zW_P_gap_info atGapInfo[Z_W_P_MAX_FRAME_GAP_NUM];
1883}T_zW_P_inact_time_ind;
1884
1885/*==============================================================================
1886 L1W->PHY
1887 ¹¦ÄÜ:
1888 ÅäÖÃL1ÊÇ·ñÉϱ¨Æägapʱ¼ä£¬ÓÃÀ´½øÐÐ2G/LTEÐ¡ÇøµÄ¹¤×÷
1889 ½á¹¹:
1890 ÅäÖÃL1ÊÇ·ñÉϱ¨Æägapʱ¼äÏûÏ¢ W_P_IDLE_PERIOD_REPMODE_REQ
1891==============================================================================*/
1892typedef struct {
1893 WORD wMsgId;
1894 WORD wReportingMode; /*0: not reprot gap, 1:report gap*/
1895 WORD wSeqNum;
1896 WORD wPadding;
1897
1898}T_zW_P_idle_period_repmode_req;
1899
1900/*==============================================================================
1901 * ²âÁ¿È«¾ÖÊý¾ÝÀàÐͶ¨Òå --------end *
1902 ==============================================================================*/
1903
1904
1905 /*==============================================================================
1906 * Êý¾ÝÃæÈ«¾ÖÊý¾ÝÀàÐͶ¨Òå start *
1907 ==============================================================================*/
1908 /*==============================================================================
1909 ÏûÏ¢£ºP_RACH_PROCEDURE_REQ_EV( WMAC->PHY )
1910 ˵Ã÷: MACÏ·¢Ëæ»ú½ÓÈëÇëÇó¸øÎïÀí²ã
1911==============================================================================*/
1912typedef struct {
1913 WORD wMsgId;
1914 WORD wSignatureBitmap; /*¿ÉÓÃÇ©Ãûbitmap(16λ), BIT0ָʾµÚÒ»¸ö£¬BIT15ָʾ×îºóÒ»¸ö£¬ÓÒ±ßÊÇ×îµÍλ*/
1915 WORD wSubchannelBitmap; /*¿ÉÓÃ×ÓÐŵÀbitmap(12λ), BIT0ָʾµÚÒ»¸ö£¬BIT11ָʾ×îºóÒ»¸ö£¬ÓÒ±ßÊÇ×îµÍλ*/
1916 WORD wLastFlag; /*ָʾMACµÄRACH½ÓÈë¹ý³ÌÖд˴ÎÊÇ·ñÒÑΪµÚMmax´Î£¬¼´×îºóÒ»´Î£¨0~1£©*/
1917}T_zW_P_rach_procedure_req;
1918
1919
1920/*==============================================================================
1921 ÏûÏ¢£ºP_RACH_PROCEDURE_IND_EV( PHY->WMAC )
1922 ˵Ã÷: ÎïÀí²ã»Ø¸´Ëæ»ú½ÓÈë³É¹¦
1923==============================================================================*/
1924typedef struct {
1925 WORD wMsgId;
1926 WORD wResult; /*RACH ACCESS½á¹û£¨0~2£©£»0£ºACK£¬1£ºNACK£¬2£ºNO ACK*/
1927}T_zW_P_rach_procedure_ind;
1928
1929
1930/*==============================================================================
1931 ÏûÏ¢£ºP_POST_VERFY_FAIL_IND_EV( PHY->WMAC )
1932 ˵Ã÷: ÔÚÓ²ÇÐL1ͬ²½A¹ý³Ìʱ£¬Èç¹û²ÉÓÃPostverfy£¬ÇÒÖ÷ÉÏÐÐÆµÂÊÉϵÄpost verfyʧ°ÜʱÎïÀí²ãÉϱ¨Ê§°Üָʾ
1933==============================================================================*/
1934typedef struct {
1935 WORD wMsgId;
1936 WORD wPadding;
1937} T_zW_P_post_verfy_fail_ind;
1938
1939/*==============================================================================
1940 ÏûÏ¢£ºT_zW_P_upa_grant_harq_info( PHY->WMAC )
1941 ˵Ã÷: Ö¡ÖжÏÖÐÎïÀí²ãЯ´øµÄÊÚȨ¼°HARQÐÅÏ¢
1942==============================================================================*/
1943typedef struct {
1944 WORD wHarqId; /*¶ÔÓ¦½ø³ÌID£¨0~7£©*/
1945 WORD wStatus; /*¶ÔÓ¦½ø³ÌHARQ·´À¡½á¹û£¬0£ºACK£¬ 1£ºNACK */
1946 WORD wServCellStatus; /*·þÎñÐ¡ÇøÉÏָʾµÄHARQ·´À¡½á¹û£¬0£ºACK£¬ 1£ºNACK*/
1947 WORD wPadding;
1948}T_zW_P_harq_process_status;
1949
1950
1951typedef struct {
1952 WORD wCycle2Flag; /*¸Ã±êʶÓÃÓÚ֪ͨPSÊÇ·ñ ¿ªÊ¼ÓÉCycle1½øÈëCycle2 £º0£ºÃ»ÓнøÈ룬1£ºÓÉcycle1½øÈëCycle2 .¸Ã±ê¼ÇÖ»Óе±ÎïÀí²ã´Ócycle1½øÈëcycle2ʱÖÃλΪ1£¬Í¨ÖªPS½øÈëCycle2£¬ÆäËûCycle1¼°Cycle2ÆÚ¼äµÄÉϱ¨µÄ¸Ã±ê¼Ç¾ùΪ0.*/
1953 WORD wAGFlag; /*ÊÇ·ñЯ´øAGÐÅÏ¢£¨0~1£©*/
1954 WORD wAGIndex; /*ÊÚȨֵË÷Òý£¨0~31£©£¬µ±wAGFlagΪ1ʱÓÐЧ*/
1955 WORD wAGTypeAndScope; /*IDÀàÐͺͷ¶Î§ÐÅÏ¢£¨0~2£©£»0:Primary ID&PerHARQ, 1:Primary ID&AllHARQ, 2:Secondary ID£¬µ±wAGFlagΪ1ʱÓÐЧ*/
1956 WORD wPadding;
1957 WORD wRGNum; /*ָʾ·þÎñRGºÍ·Ç·þÎñRGµÄ¸öÊý£¨0~4£©£»*/
1958 WORD awRGValue[Z_W_P_MAX_RG_NUM]; /*RGÊý×飨0~3£©£¬0±íʾÎÞЧ£¬1±íʾ"UP"£¬2±íʾ"DOWN"£¬3±íʾ"HOLD"£¬ÆäÖеÚÒ»¸öĬÈÏÌîд·þÎñRGµÄÖµ*/
1959}T_zW_P_hsupa_grant_info;
1960
1961
1962typedef struct {
1963 WORD wHarqBitmap; /*ָʾÊÇ·ñЯ´øHARQ½ø³ÌÐÅÏ¢£¨bitmap£©£»BIT0£¨LSB£©£º¶ÔÓ¦Ö÷Ƶµã£¬BIT1¶ÔÓ¦¸¨Æµµã*/
1964 WORD wGrantBitmap; /*ָʾÊÇ·ñЯ´øÊÚȨÐÅÏ¢£¨bitmap£©£»BIT0£¨LSB£©£º¶ÔÓ¦Ö÷Ƶµã£¬BIT1¶ÔÓ¦¸¨Æµµã*/
1965 T_zW_P_harq_process_status tHarq[Z_W_P_MAX_UL_FREQUENCY_NUM];
1966 T_zW_P_hsupa_grant_info tGrant[Z_W_P_MAX_UL_FREQUENCY_NUM];
1967}T_zW_P_upa_grant_harq_info;
1968
1969
1970/*==============================================================================
1971 ÏûÏ¢£ºT_zW_P_grant_monitor_req( WMAC->PHY )
1972 ˵Ã÷: ָʾµ±Ç°TTIÊÇ·ñÂú×ãmonitorÌõ¼þ,ÎïÀí²ã´Ó¹Ì¶¨»º´æÄÚ¶ÁÈ¡
1973==============================================================================*/
1974typedef struct {
1975 WORD wFreqId; /*ÔØ²¨ÐÅÏ¢£¬0±íʾµÚÒ»¸öÔØ²¨£¬1±íʾµÚ¶þ¸öÔØ²¨*/
1976 WORD wActMonitor; /*ָʾÊÇ·ñÂú×ãMonitorÌõ¼þ£¬0£º²»Âú×㣬1£ºÂú×ã*/
1977}T_zW_P_grant_monitor_req;
1978
1979
1980/*==============================================================================
1981 ÏûÏ¢£ºP_EFACH_NO_DATA_REQ_EV( WMAC->PHY )
1982 ˵Ã÷: EFACHÏÂmacÎÞÊý¾Ý·¢ËÍʱ£¬Í¨ÖªÎïÀí²ãÎÞÊý¾Ý£¬ÎïÀí²ãÆôT321¶¨Ê±Æ÷
1983==============================================================================*/
1984typedef struct {
1985 WORD wMsgId;
1986 WORD wPadding;
1987}T_zW_P_efach_no_data_req;
1988
1989
1990/*==============================================================================
1991 ÏûÏ¢£ºW_P_ MAC_DTX_CYCLE_INFO_REQ_EV( WMAC->PHY )
1992 ˵Ã÷: DCH̬MAC½øÈëMAC_DTXºó֪ͨÎïÀí²ãÖÜÆÚÄ£ÐÍ£¬ÒÔ±ãÎïÀí²ãÔÚEDCHÊý¾Ýǰ×î¶àÌáǰһ֡·¢DPCCH preamble
1993==============================================================================*/
1994
1995typedef struct {
1996 WORD wMsgId;
1997 WORD wMacDtxInfoFlg;/*ȡֵ0»ò1£¬È¡ÖµÎª1ʱ£¬±íʾMAC_DTXcycle ÓÐЧ£¬È¡ÖµÎª0ʱÎÞЧ£¬¼´Í˳öMAC_DTX*/
1998 WORD wMacDtxStartCfn;/*MAC_DRX cycleµÄÆðʼ֡ºÅ*/
1999 WORD wMacDtxStartSubCfn;/*MAC_DRX cycleµÄÆðʼ×ÓÖ¡ºÅ*/
2000 WORD wMacDtxCycle;/*MAC_DRX cycleµÄÖÜÆÚ³¤¶È*/
2001 WORD wPadding;
2002} T_zW_P_mac_dtx_cycle_info;
2003
2004/*==============================================================================
2005 ÏûÏ¢£ºW_P_TFCI_CM_INFO_IND_EV( PHY->WMAC )
2006 ˵Ã÷: ÿ´ÎÉÏÐÐDPCHÖØÅäÖÃʱ,ÎïÀí²ã±¨¸æ7×éTFCSÖиöTFCIµÄÖ§³ÖÇé¿ö Ntr=[8,14]ʱ
2007==============================================================================*/
2008
2009typedef struct {
2010 WORD awSupFlag[Z_W_P_MAX_UL_TFC_NUM]; // Z_W_P_MAX_UL_TFC_NUM = 64, Êý×éϱê±íʾtfci£¬ÔªËØÄÚÈݱíʾ¸ÃTFCIÊÇ·ñÖ§³Ö£¬1-Ö§³Ö£¬0-²»Ö§³Ö¡£
2011} T_zW_P_tfci_sup_Info;
2012
2013typedef struct {
2014 WORD wMsgId;
2015 WORD wPadding;
2016 T_zW_P_tfci_sup_Info atTfciSupInfo[Z_W_P_MAX_NTR_NUM];// Ntr-8¶ÔÓ¦Êý×éϱê
2017} T_zW_P_tfci_cm_Info;
2018
2019
2020/*==============================================================================
2021 ÏûÏ¢£ºT_zW_P_ul_data_buffer( WMAC->PHY )
2022 ˵Ã÷: ÉÏÐÐÊý¾Ý½Ó¿Ú( ·ÇUPA )
2023==============================================================================*/
2024typedef struct {
2025 DWORD dwTrchBuffOff; /*¸÷´«ÊäÐŵÀÊý¾ÝÔÚÊý×éÖжÔÓ¦µÄÆ«ÒÆ£¬ÒÔWORDΪµ¥Î»£¨0~583£©*/
2026 WORD wTbNumAndTrchId; /*´«ÊäÐŵÀidºÍ¶ÔÓ¦µÄtb¿é¸öÊý£¬¸ß8λ¶ÔÓ¦Trch Id£¬µÍ8λ¶ÔÓ¦Tb num*/
2027 WORD wTbSize; /*TB¿é´óС£¬µ¥Î»bit*/
2028}T_zW_P_ul_trch_header;
2029
2030
2031typedef struct {
2032 WORD wTotalLength; /*Êý¾Ý×ܹ²Õ¼ÓõÄWORDÊý£¨0~584£©*/
2033 WORD wNumOfTrch; /*´«ÊäÐŵÀ¸öÊý£¨1~8£©*/
2034 WORD wTfci; /*Ñ¡ÔñµÄTfci£¨0~63£©*/
2035 WORD wPadding;
2036 T_zW_P_ul_trch_header atUlTrchHeader[Z_W_P_MAX_UL_TRCH_NUM];
2037 WORD awUlData[Z_W_P_MAX_NO_OF_UL_BYTES/2];
2038}T_zW_P_ul_data_buffer;
2039
2040
2041/*==============================================================================
2042 ÏûÏ¢£ºT_zW_P_dl_data_buffer( PHY->WMAC )
2043 ˵Ã÷: ÏÂÐÐÊý¾Ý½Ó¿Ú( ·ÇDPA )
2044==============================================================================*/
2045typedef struct {
2046 DWORD dwTrchBuffOff; /*¸÷´«ÊäÐŵÀÊý¾ÝÔÚÊý×éÖжÔÓ¦µÄÆ«ÒÆ£¬ÒÔWORDΪµ¥Î»£¨0~583£©*/
2047 WORD wTrchId; /*´«ÊäÐŵÀid £¨1~8£©*/
2048 WORD wTrchType; /*´«ÊäÐŵÀÀàÐÍ£¨0~4£©,¼ûºê¶¨Òå*/
2049 WORD wCfnAndTbNum; /*Êý¾Ý·¢ËÍʱµÄCfnºÍTb¿é¸öÊý£¬¸ß8λΪTb num£¬µÍ8λΪCfn*/
2050 WORD wSfn; /*Êý¾Ý·¢ËÍʱµÄϵͳ֡ºÅ£¨0~4095£©*/
2051 WORD wTbSize; /*TB¿é´óС£¬µ¥Î»bit*/
2052 WORD wPadding;
2053 DWORD dwCrcCheck; /*CRC½á¹û bitmap*/
2054}T_zW_P_dl_trch_header;
2055
2056
2057typedef struct {
2058 WORD wTotalLength; /*Êý¾Ý×ܹ²Õ¼ÓõÄWORDÊý£¨0~584£©*/
2059 WORD wNumOfTrch; /*´«ÊäÐŵÀ¸öÊý£¨1~8£©*/
2060 WORD wTfci; /*Ñ¡ÔñµÄTfci£¨0~127£©*/
2061 WORD wPadding;
2062 T_zW_P_dl_trch_header atDlTrchHeader[Z_W_P_MAX_DL_TRCH_NUM];
2063 WORD awDlData[Z_W_P_MAX_NO_OF_DL_BYTES/2];
2064}T_zW_P_dl_data_buffer;
2065
2066
2067/*==============================================================================
2068 ÏûÏ¢£ºT_zW_P_hsupa_buffer( WMAC->PHY )
2069 ˵Ã÷: ÉÏÐÐÊý¾Ý½Ó¿Ú( UPA )
2070==============================================================================*/
2071typedef struct {
2072 WORD wL; /*±íʾʹÓøÃE-TFCËùÓеÄE-DPDCHs£¬È¡Öµ·¶Î§(1~4)*/
2073 WORD wBetaEc; /*ȡֵ·¶Î§5~239¡£*/
2074 WORD awBetaEd[4]; /*wL¸öÖµ£¬È¡Öµ·¶Î§5~377*/
2075 WORD wSf; /*µÚÒ»ÌõE-dpdchµÄSF.ȡֵ·¶Î§0--512*/
2076 WORD wPadding;
2077}T_zW_p_etfc_gain_factor;
2078
2079
2080typedef struct {
2081 WORD wCfn; /*Á¬½ÓÖ¡ºÅ0--255*/
2082 WORD wSubFrameNum; /*×ÓÖ¡ºÅ0--4*/
2083}T_zW_P_upa_trans_frame_num;
2084
2085typedef struct {
2086 WORD wNej;
2087 WORD wNdataJ;
2088}T_zW_P_etfc_rm_info;
2089
2090typedef struct {
2091 WORD wFreqId; /*ָʾµ±Ç°ÊÇÄǸöÔØ²¨¶ÔÓ¦µÄÉÏÐÐÊý¾Ý£¬0±íʾµÚÒ»¸öÔØ²¨£¬1±íʾµÚ¶þ¸öÔØ²¨*/
2092 WORD wErnti; /*´ËÊý¾Ý°ü¶ÔÓ¦µÄERNTI*/
2093 WORD wHarqId; /*HARQ½ø³ÌID£¨0~7£©*/
2094 WORD wEtfci; /*Ñ¡ÔñµÄEtfci£¨0~127£©*/
2095 T_zW_p_etfc_gain_factor tEtfcGainFactor;
2096 T_zW_P_etfc_rm_info tEtfcRmInfo;
2097 WORD wTbSize; /*¶ÔÓ¦TB¿é´óСbits£¨18~22995£©*/
2098 WORD wRsn; /*Tb¿é¶ÔÓ¦RSN£¨0~3£©*/
2099 WORD wHappyBit; /*Happy Bitָʾ£¨0~1£©*/
2100 WORD wSchDataFg; /*ָʾµ±Ç°ÊÇ·ñÊǵ÷¶ÈÊý¾Ý£¨0~1£©*/
2101 T_zW_P_upa_trans_frame_num tUpaTransFrameNum;
2102// WORD awHsupaData[Z_W_P_MAX_NO_OF_HSUPA_BYTES/2]; /*UPAÊý¾ÝÍ·ÐÅÏ¢·ÅÈë¹²ÏíRAM£¬UPAÊý¾ÝÐÅÏ¢Ö±½Ó°áÖÁÎïÀí²ãÓ²¼þ¼ÓËÙÆ÷E-UTR RAM*/
2103}T_zW_P_hsupa_buffer;
2104
2105
2106/*==============================================================================
2107 ÏûÏ¢£ºT_zW_P_hsdpa_buffer( PHY->WMAC )
2108 ˵Ã÷: ÏÂÐÐÊý¾Ý½Ó¿Ú( DPA )
2109==============================================================================*/
2110typedef struct {
2111 WORD wTbSize; /*Tb¿é´óСbit£¨120~27952£©*/
2112 WORD wDataType; /*ָʾ½ÓÊÕµÄÊý¾Ý¿éÀàÐÍ£¬0£ºÆäËû 1£ºPCCH 2£ºBCCH£»
2113 ÔÚEPCH̬»òEFACH̬ʹÓÃBCCH RNTI½âÂëʱ£¬Ôò¶ÔÓ¦wDataTypeÌîдBCCH£»
2114 ÔÚEPCH̬²»Ê¹ÓÃBCCH RNTI½âÂëʱ£¬¶ÔÓ¦wDataTypeÌîдPCCH£»
2115 ÆäËûÇé¿öÏÂwDataTypeÌîдÆäËû*/
2116 WORD awHsdpaData[Z_W_P_MAX_NO_OF_HSDPA_BYTES/2];
2117}T_zW_P_hsdpa_buffer;
2118
2119/*==============================================================================
2120ÏûÏ¢£ºP_TFC_ETFC_PARAM_IND( WPHY->WMAC )
2121˵Ã÷: L1½«¼ÆËãºÃµÄTFC gain factorÖµ¸øMAC£¬ÓÃÓÚETFCÏÞÖÆ¹ý³ÌʹÓÃ
2122==============================================================================*/
2123
2124typedef struct {
2125 WORD wTfci; /*TfciÖµ*/
2126 WORD wPadding;
2127 DWORD dwAjNumeratorLow; /*¼ÆËãAjƽ·½ËùÓõķÖ×Ó,µÍ32λ*/
2128 DWORD dwAjNumeratorHigh; /*¼ÆËãAjƽ·½ËùÓõķÖ×Ó,¸ß32λ*/
2129 DWORD dwAjDenominatorLow; /*¼ÆËãAjƽ·½ËùÓõķÖĸ,µÍ32λ*/
2130 DWORD dwAjDenominatorHigh; /*¼ÆËãAjƽ·½ËùÓõķÖĸ,¸ß32λ*/
2131}T_zW_P_tfc_gain_factor;/*signalledGainFactors & computedGainFactors*/
2132
2133typedef struct
2134{
2135 WORD wiMantissa; /*βÊý*/
2136 WORD wiExp; /*¸ºÊý¼ÓÆ«ÒÆ¡£Ö¸Êý*/
2137}T_zW_P_pc_flot_data;
2138
2139typedef struct {
2140 WORD wMsgId;
2141 WORD wNumOfTfc; /*Tfc Êý*/
2142 WORD wUlDpdchNum; /*ÓëT_zW_P_ul_dpch_setup_modify_reqÖÐÐÅÔªwNumOfDPDCHÏàͬ*/
2143 WORD wPadding;
2144
2145 T_zW_P_tfc_gain_factor atTfcParam[Z_W_P_MAX_UL_TFC_NUM];/*ËùÓÐTFCµÄBetaC,BetaD*/
2146 T_zW_P_pc_flot_data tPMax;
2147}T_zW_P_tfc_etfc_param_ind;
2148
2149
2150/*==============================================================================
2151ÏûÏ¢£ºT_zW_P_ul_power_info( WPHY->WMAC )
2152˵Ã÷: TFC¹¦ÂÊ¿ØÖÆ
2153==============================================================================*/
2154typedef struct {
2155 WORD wTfcPowerFlag; /*ÊÇ·ñЯ´øtfc power info£¨0~1£©*/
2156 WORD wCompressedFlg;
2157 WORD awExcessPowerFlag[Z_W_P_MAX_UL_TFC_NUM]; /*TFCIÊÇ·ñ³¬¹ý×î´ó´«Ê书ÂʵÄָʾ£¬Êý×éϱêΪTFCI£»Êý×éÄÚÈÝΪÈý¸öʱ϶µÄ²âÁ¿½á¹û£¨bitmap£©£¬BIT0£¨LSB£©£ºµÚÒ»¸öʱ϶²âÁ¿½á¹û£¬BIT1£ºµÚ¶þ¸öʱ϶²âÁ¿½á¹û£¬BIT2£ºµÚÈý¸öʱ϶²âÁ¿½á¹û*/
2158}T_zW_P_ul_power_info;
2159
2160/*==============================================================================
2161ÏûÏ¢£ºT_zW_P_upa_etfc_restrict_info( WPHY->WMAC )
2162˵Ã÷: ETFCÏÞÖÆ¹ý³ÌÐÅÏ¢
2163==============================================================================*/
2164typedef struct {
2165 WORD wNpilotC; /*ѹËõÖ¡ÖУ¬Ã¿¸öʱ϶ÉÏDPCCHµÄpilot bitÊýÁ¿¡£È¡Öµ·¶Î§3~8bit*/
2166 WORD wNpilotN; /*·ÇѹËõÖ¡ÖУ¬Ã¿¸öʱ϶ÉÏDPCCHµÄpilot bitÊýÁ¿¡£È¡Öµ·¶Î§3~8bit*/
2167 WORD wNSlotC; /*ѹËõģʽ֡ÖУ¬²»·¢ËÍÊý¾ÝµÄʱ϶Êý¡£È¡Öµ·¶Î§1~15*/
2168 WORD wPadding;
2169}T_zW_P_dpch_compressed_info;
2170
2171typedef struct {
2172 WORD wCompressedFlg; /*0-ÎÞѹËõģʽÐÅÏ¢£¬1-´æÔÚѹËõģʽÐÅÏ¢*/
2173 WORD wBeltaHs; /*HsdpcchµÄÔöÒæÒò×Ó£¬·¶Î§0~38*15*/
2174 WORD wEstimatePdpcchFilterSlotNum; /*Â˲¨Ê±Ï¶¸öÊý*/
2175 WORD wPadding;
2176 T_zW_P_dpch_compressed_info tDpchCompressedInfo; /*ѹËõģʽÐÅÏ¢*/
2177 T_zW_P_pc_flot_data wEstimatePdpcchTarg[Z_W_P_MAX_UL_FREQUENCY_NUM]; /*DPCCHÆÀ¹À¹¦ÂÊ£¬Êý×éϱê0±íʾÖ÷Ƶ£¬Êý×éϱê1±íʾ¸¨Æµ£¬2msTTIʱÆÀ¹À3slots£¬10msTTIʱÆÀ¹À15slots¡£ÓÃÖ¸ÊýÐÎʽ±íʾ¡£Èç¹ûÊÇѹËõģʽ£¬¸Ã¹¦ÂÊÊÇÕÛËãºóµÄ¹¦ÂÊÖµ£¬¼´PDPCCH,target,i = PDPCCH,filtered,i¡Á (Npilot,N/ Npilot,C)*/
2178}T_zW_P_upa_etfc_restrict_info;
2179
2180typedef struct {
2181 WORD wPrimFreqTransFlg; /*Ö÷Ƶ,pc preambleÊÇ·ñ¿É·¢Êý¾Ý£¬»òѹËõģʽgapÊÇ·ñ¿É·¢Êý¾Ý¡£0£º²»ÔÊÐí·¢ËÍÊý¾Ý£¬1£ºÔÊÐí·¢Êý¾Ý*/
2182 WORD wSecFreqTransFlg;
2183 }T_zW_P_upa_trans_info;
2184
2185typedef struct {
2186 WORD wNtr[ Z_W_P_MAX_NTR_NUM];/*CMÔÚN+2--N+9Ö¡ÖУ¬Ã¿Ö¡ÖеÄÕ¼ÓÃʱ϶Êý£¬wNtr[0]¶ÔÓ¦N+2Ö¡,ÎïÀí²ãÔÚÊÕµ½CMÅäÖÃʱ¼°Ê±Éϱ¨£¬Ö®ºóµÄÉϱ¨Âú×ã CFN%8=0 Éϱ¨¡£Éϱ¨µÄÌáǰÁ¿Îª20MS*/
2187 WORD wNtrStartCfn;/* Éϱ¨µÄNtr[0]ËùÔÚÖ¡Ö¡ºÅ*/
2188 WORD wPadding;
2189}T_zW_P_cm_ntr_info;
2190
2191/*==============================================================================
2192 ½á¹¹£ºT_zW_P_data_frame_info( PHY->WMAC )
2193 ˵Ã÷: Ö¡ÖжÏÊý¾ÝÐÅÏ¢Éϱ¨
2194==============================================================================*/
2195typedef struct {
2196 WORD wUph;
2197 WORD wDtxActive; /*ÅäÖÃÁËDtxDrxºó£¬Ö¸Ê¾DtxÊÇ·ñ¼¤»î»òÈ¥»î£»0£ºÎÞЧ£¬1£ºÖ¸Ê¾¼¤»î£¬2£ºÖ¸Ê¾È¥»î*/
2198 WORD wDrxActive; /*ÅäÖÃÁËDtxDrxºó£¬Ö¸Ê¾DrxÊÇ·ñ¼¤»î»òÈ¥»î£»0£ºÎÞЧ£¬1£ºÖ¸Ê¾¼¤»î£¬2£ºÖ¸Ê¾È¥»î*/
2199 WORD wSecCellActive; /*ÅäÖõڶþƵµãºó£¬Ö¸Ê¾µÚ¶þƵµãÊÇ·ñ¼¤»î£»0£ºÎÞЧ£¬1£ºÖ¸Ê¾¼¤»î£¬2£ºÖ¸Ê¾È¥»î*/
2200 WORD wRachDchTransFg; /*ָʾRACH,DCH´ËÖ¡ÊÇ·ñ¿ÉÒÔ·¢ËÍÊý¾Ý£¬0£º²»ÔÊÐí·¢ËÍÊý¾Ý£¬1£ºÔÊÐí·¢Êý¾Ý*/
2201 WORD wCmNtrInfoFlg;
2202 T_zW_P_cm_ntr_info tCmNtrInfo;
2203 T_zW_P_upa_trans_info tUpaTransInfo;
2204 T_zW_P_upa_grant_harq_info tGrantHarqInfo;
2205 DWORD dwCmPattern; /*Éϱ¨Ñ¹ËõģʽͼÑù£¬Ã¿¸ö×ÓÖ¡Éϱ¨Ò»´Î£¬Éϱ¨µÄÊÇ3¸ö×ÓÖ¡Ö®ºóµÄÖµ*/
2206
2207 T_zW_P_ul_power_info tUlPowerInfo;/*Õë¶ÔDPCH,ÎïÀí²ãÉϱ¨µÄÌáǰÁ¿ÊÇ2Ö¡*/
2208
2209 T_zW_P_upa_etfc_restrict_info tEtfcRestrictInfo;/*Õë¶ÔUPA£¬ÎïÀí²ãÉϱ¨µÄÌáǰÁ¿ÊÇ2¸ö×ÓÖ¡*/
2210}T_zW_P_data_frame_info;
2211
2212/*==============================================================================
2213 L1W->PHY
2214 ʼþ£ºW_P_ZWPCG_REQ_EV
2215 ¹¦ÄÜ:
2216 ÐÞ¸Ä/²éѯWÎïÀí²ãÅäÖòÎÊý¡£
2217==============================================================================*/
2218typedef struct
2219{
2220 WORD wMsgId;
2221 WORD wCmd; /* ÃüÁîºÅ£¬¶ÔÓ¦²»Í¬µÄÎïÀí²ã¹¦ÄÜ */
2222 WORD awValFg[Z_ZWPCG_VALFG_NUM]; /* ±íʾadwValÊÇ·ñ´æÔÚ£¬0±íʾ²»´æÔÚ£¬1±íʾ´æÔÚ */
2223 DWORD adwVal[Z_ZWPCG_VALFG_NUM]; /* ²ÎÊýÁÐ±í£¬ÐÞ¸Ä/¶ÁÈ¡µÄÎïÀí²ã²ÎÊý£¬²ÎÊýʵ¼Êº¬ÒåÓÉÎïÀí²ã¸ø³ö */
2224}T_zW_P_Zwpcg_Req;
2225
2226/*==============================================================================
2227 PHY->L1W
2228 ʼþ£ºW_P_ZWPCG_CNF_EV
2229 ¹¦ÄÜ:
2230 ÐÞ¸Ä/²éѯWÎïÀí²ãÅäÖòÎÊýµÄÏìÓ¦ÏûÏ¢¡£
2231==============================================================================*/
2232typedef struct
2233{
2234 WORD wMsgId;
2235 WORD wCmd; /* ÃüÁîºÅ£¬¶ÔÓ¦²»Í¬µÄÎïÀí²ã¹¦ÄÜ£¬bMode=0/1¶¼ÓÐЧ */
2236 WORD wRslt; /* ±íʾÉèÖýá¹û£¬Z_TRUEÉèÖóɹ¦£¬Z_FALSEÉèÖÃʧ°Ü wCmdΪÉèÖÃÃüÁîʱÓÐЧ */
2237 WORD awValFg[Z_ZWPCG_PARAM_NUM]; /*°´ÕÕϱêºÍdwValÖÐÖµÒ»Ò»¶ÔÓ¦£¬bVal1Fg[0]±íʾdwVal[0]ÊÇ·ñ´æÔÚ,ÒÀ´ÎÀàÍÆ£¬0±íʾ²»´æÔÚ£¬1±íʾ´æÔÚ*/
2238 LONG alVal[Z_ZWPCG_PARAM_NUM]; /*²ÎÊý1/²ÎÊý2¡­£¬ÐÞ¸Ä/¶ÁÈ¡µÄÎïÀí²ã²ÎÊý£¬²ÎÊýʵ¼Êº¬ÒåÓÉÎïÀí²ã¸ø³ö*/
2239}T_zW_P_Zwpcg_Cnf;
2240
2241
2242
2243/*==============================================================================
2244 L1W->PHY
2245 ʼþ£ºW_P_RPI_SET_REQ_EV
2246 ¹¦ÄÜ:
2247 ÉèÖÃWPHYʹÓõÄ×î´ó·¢É书ÂʵÄRPI VAULE
2248==============================================================================*/
2249typedef struct
2250{
2251 WORD wMsgId;
2252 WORD wRpi; /* PUMAX¶ÔÓ¦µÄRPIµµÎ»£¬·¶Î§0/1/2 */
2253}T_zW_P_rpi_set_req;
2254
2255
2256#define Z_MAX_RPI_NR (BYTE)3
2257#define Z_W_RPI_SUPPORT_MAX_BAND (BYTE)8
2258
2259
2260typedef struct
2261{
2262 WORD wBand; /* ¶ÔÓ¦µÄBANDºÅ */
2263 WORD bPumax[Z_MAX_RPI_NR]; /* ÒÔrpiΪindexÈ·ÈÏ×î´ó·¢É书ÂÊpumax */
2264}T_zBandRpiCfg;
2265
2266/*==============================================================================
2267 L1W->PHY
2268 ʼþ£ºW_P_RPI_CFG_REQ_EV
2269 ¹¦ÄÜ:
2270 ÅäÖÃWÏÂ8¸öBAND£¬Ã¿¸öBANDÏÂRPIºÍPUMAXµÄÓ³Éä¹ØÏµ£¬ÆäÖÐRPI·¶Î§0~2
2271==============================================================================*/
2272typedef struct
2273{
2274 WORD wMsgId;
2275 T_zBandRpiCfg tWBandRpiCfg[Z_W_RPI_SUPPORT_MAX_BAND];
2276}T_zW_P_rpi_cfg_req;
2277
2278
2279
2280/*==============================================================================
2281 * Êý¾ÝÃæÈ«¾ÖÊý¾ÝÀàÐͶ¨Òå end *
2282 ==============================================================================*/
2283
2284
2285
2286/**************************************************************************
2287 * PSÓëWPHY ¹²ÏíDDRµÄ5MB ¿Õ¼ä *
2288 **************************************************************************/
2289#if 0
2290#if defined (_CHIP_ZX297550)
2291#define DDR_BASE_ADDR_FOR_W 0x5800000
2292#endif
2293#if defined (_CHIP_ZX2804)
2294#define DDR_BASE_ADDR_FOR_W 0x15800000
2295#endif
2296
2297#endif
2298/*PSÓëphy¹²ÏíDDR¸ù¾ÝÒµÎñÇé¿ö·Ö³É5¸öµÈ¼¶*/
2299#define PS_WPHY_DL_DATA_DDR_GRADE_NUM (5)
2300#define PS_MAC_HEAD_IFNO_SIZE 620//ec616000258401
2301
2302#define PS_WPHY_DL_DATA_TYPE0_GRADE_BUF_SIZE 0//(86 + PS_MAC_HEAD_IFNO_SIZE)
2303#define PS_WPHY_DL_DATA_TYPE1_GRADE_BUF_SIZE 0//(238 + PS_MAC_HEAD_IFNO_SIZE)
2304#define PS_WPHY_DL_DATA_TYPE2_GRADE_BUF_SIZE 0//(682 + PS_MAC_HEAD_IFNO_SIZE)
2305#define PS_WPHY_DL_DATA_TYPE3_GRADE_BUF_SIZE 0//(1980 + PS_MAC_HEAD_IFNO_SIZE)
2306#define PS_WPHY_DL_DATA_TYPE4_GRADE_BUF_SIZE (5282 + PS_MAC_HEAD_IFNO_SIZE)
2307
2308
2309#define PS_WPHY_DL_DATA_TYPE0_GRADE_BUF_NUM 0//505
2310#define PS_WPHY_DL_DATA_TYPE1_GRADE_BUF_NUM 0//505
2311#define PS_WPHY_DL_DATA_TYPE2_GRADE_BUF_NUM 0//400
2312#define PS_WPHY_DL_DATA_TYPE3_GRADE_BUF_NUM 0//300
2313#define PS_WPHY_DL_DATA_TYPE4_GRADE_BUF_NUM 131//200
2314
2315#define PS_WPHY_DL_DATA_TYPE_GRADE_BUF_NUM_ALL (PS_WPHY_DL_DATA_TYPE0_GRADE_BUF_NUM + PS_WPHY_DL_DATA_TYPE1_GRADE_BUF_NUM + PS_WPHY_DL_DATA_TYPE2_GRADE_BUF_NUM\
2316 +PS_WPHY_DL_DATA_TYPE3_GRADE_BUF_NUM + PS_WPHY_DL_DATA_TYPE4_GRADE_BUF_NUM)//add by shideyou
2317
2318/**************************************************************************
2319 * PSÓëWPHY ¹²ÏíRAMµÄ60K ¿Õ¼äPS_PHY_BASE_ADDR+144K---PS_PHY_BASE_ADDR+208K *
2320 **************************************************************************/
2321#ifdef Z_SEND_TO_SIMPHY
2322#define PS_PHY_BASE_ADDR 0x00000004//²úÆ·ÏßÌṩ
2323#define PS_WPHY_BASE_ADDR (PS_PHY_BASE_ADDR +24000)
2324#else
2325#define PS_WPHY_BASE_ADDR IRAM_BASE_ADDR_FOR_W
2326#endif
2327
2328#if 0
2329#define PS_WPHY_EVENT_ADDR PS_WPHY_BASE_ADDR
2330
2331/*PS ¸øÎïÀí²ã·¢ËÍÏûÏ¢µÄÆðʼµØÖ·*/
2332#define PS_TO_WPHY_EVENT_ADDR PS_WPHY_BASE_ADDR
2333
2334#define PS_TO_WPHY_ENENT_BUF_SIZE (0X61BC >> CPU_SHIFT) //add by shideyou /*PS->WPHY ÏûÏ¢²¿·ÖÕ¼ÓõÄRAM¿Õ¼ä´óС*/
2335
2336/*ÎïÀí²ã¸øPS·¢ËÍÏûÏ¢µÄÆðʼµØÖ·*/
2337#define WPHY_TO_PS_EVENT_ADDR (PS_WPHY_BASE_ADDR + PS_TO_WPHY_ENENT_BUF_SIZE)
2338
2339/*PSÓëWPHY ÏûÏ¢²¿·ÖÕ¼ÓõÄRAM¿Õ¼ä´óС*/
2340#define PS_WPHY_ENENT_BUF_SIZE (0X8110 >> CPU_SHIFT)
2341#endif
2342
2343/*Êý¾Ý±£»¤Çø´óС*/
2344#define PS_WPHY_SAFEGUARD_SIZE (4 >> CPU_SHIFT)
2345
2346#if 0
2347/*ÆÕͨÉÏÐÐÊý¾ÝµÄÆðʼµØÖ·*/
2348#define PS_WPHY_UL_DATA_ADDR (PS_WPHY_EVENT_ADDR + PS_WPHY_ENENT_BUF_SIZE +PS_WPHY_SAFEGUARD_SIZE)
2349
2350#define PS_WPHY_UL_RACH_DPCH_ADDR PS_WPHY_UL_DATA_ADDR
2351#define PS_W_UL_RACH_DPCH_BUF_SIZE (2* sizeof(T_zW_P_ul_data_buffer))
2352#endif
2353/*UPA¿ØÖÆÐÅÏ¢²¿·ÖÆðʼµØÖ·*/
2354#define PS_WPHY_UPA_CTRL_INFO_HARQ_NUM 8 //add by shideyou ,ºóÃæÈç¹ûÖ§³ÖMIMOʱÐèÒª¸Ä³É16
2355//#define PS_WPHY_UPA_CTRL_INFO_ADDR (PS_W_UL_RACH_DPCH_BUF_SIZE + PS_WPHY_UL_RACH_DPCH_ADDR+ 2* PS_WPHY_SAFEGUARD_SIZE) //modify by shideyou, add 4 byte for share harqid
2356#define PS_WPHY_UPA_CTRL_INFO_ADDR (PS_WPHY_BASE_ADDR + 2* PS_WPHY_SAFEGUARD_SIZE) //modify by shideyou, add 4 byte for share harqid
2357#define PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE (sizeof(T_zW_P_hsupa_buffer))
2358#define PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR PS_WPHY_UPA_CTRL_INFO_ADDR
2359#define PS_WPHY_UPA_CTRL_INFO_HARQ1_ADDR (PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR + PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE)
2360#define PS_WPHY_UPA_CTRL_INFO_HARQ2_ADDR (PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR + (2*PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE))
2361#define PS_WPHY_UPA_CTRL_INFO_HARQ3_ADDR (PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR + (3*PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE))
2362#define PS_WPHY_UPA_CTRL_INFO_HARQ4_ADDR (PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR + (4*PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE))
2363#define PS_WPHY_UPA_CTRL_INFO_HARQ5_ADDR (PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR + (5*PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE))
2364#define PS_WPHY_UPA_CTRL_INFO_HARQ6_ADDR (PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR + (6*PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE))
2365#define PS_WPHY_UPA_CTRL_INFO_HARQ7_ADDR (PS_WPHY_UPA_CTRL_INFO_HARQ0_ADDR + (7*PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE))
2366
2367#define PS_WPHY_UPA_CTRL_INFO_BUF_SIZE (16* PS_WPHY_UPA_ONE_HARQ_CTRL_INFO_BUF_SIZE)/*¿¼Âǵ½Ö§³ÖMIMOµÄÇé¿ö*/
2368
2369
2370/*ÎïÀí²ãÓ²¼þW-EUTR²¿·ÖUPA´æ·ÅÊý¾ÝµØÖ·£º*/
2371#if defined (_CHIP_ZX2804)
2372/*2804ƽ̨£º 0x5040 0000; wphyÌṩ*/
2373#define WPHY_UPA_DATA_BASE_ADDR (0X40B00000 >> CPU_SHIFT)
2374#endif
2375#if defined(_CHIP_ZX297520) || defined(_CHIP_ZX297520V2) || defined(_CHIP_ZX297520V1_1)
2376/*7520ƽ̨£º */
2377#define WPHY_UPA_DATA_BASE_ADDR (0XA4000000 >> CPU_SHIFT)
2378#endif
2379#if defined (_CHIP_ZX297520V3)
2380/*7520V3ƽ̨£º */
2381#define WPHY_UPA_DATA_BASE_ADDR DDR_BASE_ADDR_WUPA_DATA//(0X2759AC00 >> CPU_SHIFT)
2382#endif
2383#if defined (_CHIP_ZX297550A)
2384/*7550Aƽ̨£º0xA280 0000;*/
2385#define WPHY_UPA_DATA_BASE_ADDR (0XA2800000 >> CPU_SHIFT)
2386#endif
2387#if defined (_CHIP_ZX297520V3)
2388/*7520V3ƽ̨£º UPAÊý¾ÝÔÚDDRÉÏ*/
2389#define WPHY_UPA_DATA_HARQ_BASE_ADDR 0
2390#define WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE ((0X168*4) >> CPU_SHIFT)
2391#define WPHY_UPA_DATA_TTI10_HARQ1_BUF_SIZE ((0X2d0*4) >> CPU_SHIFT)
2392#else
2393#define WPHY_UPA_DATA_HARQ_BASE_ADDR (0Xb000*4)
2394#define WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE (0X168*4)
2395#define WPHY_UPA_DATA_TTI10_HARQ1_BUF_SIZE (0X2d0*4)
2396#endif
2397
2398#define WPHY_UPA_DATA_TTI2_HARQ0_BUF_ADDR (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR )
2399#define WPHY_UPA_DATA_TTI2_HARQ1_BUF_ADDR (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE)
2400#define WPHY_UPA_DATA_TTI2_HARQ2_BUF_ADDR (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 2*WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE)
2401#define WPHY_UPA_DATA_TTI2_HARQ3_BUF_ADDR (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 3*WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE)
2402#define WPHY_UPA_DATA_TTI2_HARQ4_BUF_ADDR (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 4*WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE)
2403#define WPHY_UPA_DATA_TTI2_HARQ5_BUF_ADDR (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 5*WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE)
2404#define WPHY_UPA_DATA_TTI2_HARQ6_BUF_ADDR (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 6*WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE)
2405#define WPHY_UPA_DATA_TTI2_HARQ7_BUF_ADDR (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 7*WPHY_UPA_DATA_TTI2_HARQ1_BUF_SIZE)
2406
2407#define WPHY_UPA_DATA_TTI10_HARQ0_BUF_ADDR (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR )
2408#define WPHY_UPA_DATA_TTI10_HARQ1_BUF_ADDR (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + WPHY_UPA_DATA_TTI10_HARQ1_BUF_SIZE)
2409#define WPHY_UPA_DATA_TTI10_HARQ2_BUF_ADDR (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 2*WPHY_UPA_DATA_TTI10_HARQ1_BUF_SIZE)
2410#define WPHY_UPA_DATA_TTI10_HARQ3_BUF_ADDR (WPHY_UPA_DATA_BASE_ADDR + WPHY_UPA_DATA_HARQ_BASE_ADDR + 3*WPHY_UPA_DATA_TTI10_HARQ1_BUF_SIZE)
2411
2412
2413/*Ö¡ÖжÏÐÅÏ¢°üÀ¨Êý¾Ý²¿·Ö£¬ÒÔ¼°Ö¡ºÅ£¬PSÓëÎïÀí²ã¹²ÏíµÄÆäËûÐÅÏ¢ÈçDRX GRANT REQÐÅÏ¢*/
2414#define PS_WPHY_FRAME_DATA_INFO_ADDR (PS_WPHY_UPA_CTRL_INFO_ADDR + PS_WPHY_UPA_CTRL_INFO_BUF_SIZE + PS_WPHY_SAFEGUARD_SIZE)
2415#define PS_WPHY_FRAME_DATA_BUF_SIZE (sizeof(T_zW_P_data_frame_info))
2416
2417
2418/*Ö¡ºÅÏà¹ØÐÅÏ¢*/
2419#define PS_WPHY_CFN_ADDR (PS_WPHY_FRAME_DATA_BUF_SIZE + PS_WPHY_FRAME_DATA_INFO_ADDR + PS_WPHY_SAFEGUARD_SIZE)
2420#define PS_WPHY_SUBFRAME_ADDR ((4>>CPU_SHIFT) + PS_WPHY_CFN_ADDR)
2421#define PS_WPHY_SFN_ADDR ((4>>CPU_SHIFT) + PS_WPHY_SUBFRAME_ADDR)
2422#define PS_WPHY_RTSFN_ADDR ((4>>CPU_SHIFT) + PS_WPHY_SFN_ADDR)
2423#define PS_WPHY_RTCFN_ADDR ((4>>CPU_SHIFT) + PS_WPHY_RTSFN_ADDR)/*ÎïÀí²ãÿ¸öÖ¡ÖжÏÉϱ¨µÄRT Ïà¹ØCFN£¬È¡Öµ·¶Î§0-255.ÓÉÎïÀí²ãRTʱ»úÄ£256µÃµ½*/
2424
2425/*ÓÃÓÚÊý¾Ý·¢ËÍ¿ØÖƵÄTransFlg.ÎïÀí²ãд,PS¶Á*/
2426#define PS_WPHY_TRANSFLG_ADDR ((4>>CPU_SHIFT) + PS_WPHY_RTCFN_ADDR)
2427
2428/*ÓÃÓÚDRX¿ØÖƵÄGRANT MONITOR REQ.PSдÎïÀí²ãÖ¡Í·¶Á*/
2429#define PS_WPHY_GRANT_MONITOR_REQ_ADDR ((4>>CPU_SHIFT) + PS_WPHY_TRANSFLG_ADDR + PS_WPHY_SAFEGUARD_SIZE)
2430#define PS_WPHY_GRANT_MONITOR_REQ_BUF_SIZE (sizeof( T_zW_P_grant_monitor_req))
2431
2432
2433/*Çý¶¯Î¬»¤¹²ÏíDDRµÄRING BUF¶ÓÁÐÐÅÏ¢£ºÕ¼ÓÃBUFºÍ¿ÕÏÐBUF add by shideyou*/
2434
2435/*IRAM DL free buf addr add by shideyou*/
2436#define PS_WPHY_FREE_BUF_ADDR (PS_WPHY_GRANT_MONITOR_REQ_ADDR + PS_WPHY_GRANT_MONITOR_REQ_BUF_SIZE)
2437#define PS_WPHY_FREE_BUF_SIZE ((2*4*PS_WPHY_DL_DATA_DDR_GRADE_NUM + 4*(PS_WPHY_DL_DATA_TYPE_GRADE_BUF_NUM_ALL + PS_WPHY_DL_DATA_DDR_GRADE_NUM))>>CPU_SHIFT)
2438
2439#if 0
2440/*IRAM DL send buf addr add by shideyou*/
2441#define PS_WPHY_SEND_BUF_NUM 15
2442#define PS_WPHY_SEND_BUF_ADDR (PS_WPHY_FREE_BUF_ADDR + PS_WPHY_FREE_BUF_SIZE)
2443#define PS_WPHY_SEND_BUF_SIZE ((2*4 + 4 * (PS_WPHY_SEND_BUF_NUM + 1))>>CPU_SHIFT)
2444#endif
2445
2446/*HFN address add by shideyou.outputed by wphy and used for TMT */
2447#define WPHY_HFN_ADDRESS (PS_WPHY_FREE_BUF_ADDR + PS_WPHY_FREE_BUF_SIZE)
2448#define WPHY_HFN_SIZE (0x4 >>CPU_SHIFT)
2449#endif // Z_PS_WPHY_INTERFACE_H
2450
2451
2452