blob: 05e33f4e473bfa065fb71c41f982e6b97f1c4340 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/*******************************************************************************
2 * Copyright by ZTE Corporation.
3 *
4 * File Name: drvs_dpram.h
5 * File Mark:
6 * Description: dpram interface declaration(W&TD).
7 * Others:
8 * Version: v0.1
9 * Author: shideyou
10 * Date: 2013-6-19
11 * History 1:
12 * Date:
13 * Version:
14 * Author:
15 * Modification:
16 * History 2:
17 ********************************************************************************/
18
19#ifndef _DRVS_DPRAM_H
20#define _DRVS_DPRAM_H
21
22
23/****************************************************************************
24* Include files
25****************************************************************************/
26//#include "ps_ephy_interface.h"
27
28/****************************************************************************
29* Macros
30****************************************************************************/
31
32/****************************************************************************
33* Types
34****************************************************************************/
35typedef enum
36{
37 DPRAM_RAT_W,
38 DPRAM_RAT_TD,
39 DPRAM_RAT_LTE,
40
41 MAX_DPRAM_RAT
42}
43T_ZDrvDpram_Rat;
44
45/* error code define */
46typedef enum
47{
48 DPRAM_RET_SUCCESS = 0, /* successed */
49 DPRAM_RET_ERROR = 1, /* error occured */
50 DPRAM_RET_ERR_INVALID_PARAM = 2, /* the input parameter is invalid */
51 DPRAM_RET_ERR_NO_MEMORY = 3, /* no enough memory in dpram to store data of the required length */
52 DPRAM_RET_ERR_NO_DATA = 4, /* no data in ring */
53 DPRAM_RET_ERR_NOT_INITIALIZED = 5, /* not initialized yet */
54
55 MAX_DPRAM_ERR_CODE
56} T_ZDrvDpram_RetCode;
57
58typedef enum
59{
60 DPRAM_DATA_UL_PHY,
61 DPRAM_DATA_HSUPA,
62 DPRAM_DATA_BCH,
63 DPRAM_DATA_DL_PHY,
64 DPRAM_DATA_HSDPA,
65 DPRAM_DATA_EAGCH,
66
67 MAX_DPRAM_DATA_ID
68} T_ZDrvDpram_DataId; //used for TD
69
70/* will be invoked when command has been received
71 uiCmdId: command id
72 pData: command data
73 uiLen: length of command data. unit: byte
74 */
75
76typedef enum
77{
78 DPRAM_MSG_CFNSFN = 0xFF,
79 DPRAM_MSG_EXCEPT = 0xFE,
80
81 MAX_DPRAM_OTHER_MSG
82} T_ZDrvDpram_OtherMsg;
83
84
85typedef struct
86{
87 UINT32 uiCfn;
88 UINT32 uiSubfn;
89 UINT32 uiSfn;
90 UINT32 uiRtCfn;
91 UINT32 uiRtSfn;
92} T_ZDrvDpram_CfnSfnForW;
93
94typedef struct
95{
96 UINT32 uiMemBaseAddr; /* base address of dpram memory */
97 //UINT32 uiRegBaseAddr; /* base address of doram register */
98 UINT32 uiMemSize; /* memroy size of dpram */
99 BOOL bBigEndian; /* big-endian if true, else little-endian */
100} T_ZDrvDpram_Info; //used for TD
101
102#if 0
103typedef enum
104{
105 DPRAM_UPA_ADDR_1 ,
106 DPRAM_UPA_ADDR_2 ,
107
108 MAX_DPRAM_UPAAddr_ID
109} T_ZDrvDpram_UPAAddrSel;
110#endif
111
112/*used by td*/
113typedef enum
114{
115 ARMTOZSP_INT1 =0, /*in order to let sleep time tell zsp ,ÖеÚ0bitÓ÷¨ÊÇ֪ͨÎïÀí²ãϵͳ˯Ãßʱ¼ä */
116 ARMTOZSP_INT2 =1, /*ÆäÖеÚ1bitÓ÷¨ÊÇ֪ͨÎïÀí²ãϵͳ˯Ãßʱ¼ä,ÓÐЭÒéÕ»ÏûÏ¢£¬sendcmd ·¢mailboxÖжϻ½ÐÑzsp*/
117 ARMTOZSP_INT3 = 2,/*used in HSUPA*/
118 ARMTOZSP_INT4 = 3, //ps wakeup phy
119 MAX_ARMTOZSPINT = 100
120
121}T_ZDrvIcp_IntType; //used for TD
122
123
124typedef struct
125{
126 UINT32 uiCfn;
127 UINT32 uiSfn;
128} T_ZDrvDpram_CfnSfn; //used for TD
129
130typedef UINT32 (*ZDRV_DPRAM_CMD_RECVFUNC)(UINT16 uiCmdId, VOID *pData, UINT16 uiLen);
131
132typedef struct
133{
134 ZDRV_DPRAM_CMD_RECVFUNC fCmdRecv;
135} T_ZDrvDpram_CallbackFuncs;
136
137typedef VOID (*ZDRV_DPRAM_ISR_CALLBACK)( VOID );
138
139/****************************************************************************
140* Constants
141****************************************************************************/
142
143/****************************************************************************
144* Global Variables
145****************************************************************************/
146
147/****************************************************************************
148* Function Prototypes
149****************************************************************************/
150
151/**************************************************************************
152* Functin: zDrvWDpram_RegCallback
153* Description: This function is used to register the interrupt callback function.
154* Parameters:
155* (IN)
156* ptCallbackStruct: callback functions struct pointer.
157* (OUT)
158* None.
159* Returns:
160* DPRAM_RET_SUCCESS: successed.
161* DPRAM_RET_ERROR: failed.
162* Others:
163* None.
164**************************************************************************/
165extern SINT32 zDrvWDpram_RegCallback(T_ZDrvDpram_CallbackFuncs *ptCallbackStruct );
166/**************************************************************************
167* Functin: zDrvDpram_SendCmdForW
168* Description: This function is used to send command.
169* Parameters:
170* (IN)
171* uiCmdId: cmd id.
172* pData: cmd data pointer
173* uiLen: cmd data length. uint: byte. must be multiples of 4. maybe 0 for null command
174* (OUT)
175* None.
176* Returns:
177* DPRAM_RET_SUCCESS: successed.
178* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
179* DPRAM_RET_ERR_NO_MEMORY: no enough space to send this command.
180* Others:
181* None.
182**************************************************************************/
183//extern UINT32 zDrvDpram_SendCmdForW( UINT16 uiCmdId, VOID *pData, UINT16 uiLen );
184/**************************************************************************
185* Functin: zDrvWDpram_FrameInfoGet
186* Description: This function is used to get the frameinfo block.
187* Parameters:
188* (IN)
189* None.
190* (OUT)
191* ppBlockAddr: pointer to store address of databuf in block.
192* puiBlockLen: pointer to store length of databuf in block. uint: byte
193* Returns:
194* DPRAM_RET_SUCCESS: successed.
195* DPRAM_RET_ERROR: unknow error
196* DPRAM_RET_ERR_NO_DATA: no data.
197* Others:
198* None.
199**************************************************************************/
200extern UINT32 zDrvWDpram_FrameInfoGet(VOID **ppBlockAddr, UINT32 *puiRealLen);
201/**************************************************************************
202* Functin: zDrvWDpram_FrameInfoFree
203* Description: This function is used to free the frameinfo block.
204* Parameters:
205* (IN)
206* pBlockAddr: pointer to store address of databuf in block.
207* (OUT)
208* None
209* Returns:
210* DPRAM_RET_SUCCESS: successed.
211* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
212* Others:
213* None.
214**************************************************************************/
215extern UINT32 zDrvWDpram_FrameInfoFree(VOID *pBlockAddr);/*ΪÁ˱ÜÃâÎïÀí²ãƵ·±Ð´Ö¡ÖжÏÐÅÏ¢£¨Õë¶Ô10msʱ²»ÊÇÿ¸ö×ÓÖ¡µÄÖ¡ÖжÏÐÅÏ¢¶¼ÓÐЧ£©£¬Òò´Ë£¬Ð­ÒéÕ»ÔÚ¶ÁÍêÖ¡ÖжÏÐÅÏ¢ºó×îºÃÇå³ýÖ¡ÖжÏÐÅÏ¢¡£Çå³ý¶¯×÷Ôڴ˺¯ÊýÖд¦Àí*/
216/**************************************************************************
217* Functin: zDrvWDpram_UlDataGet
218* Description: This function is used to get the free block of UL data.
219* Parameters:
220* (IN)
221* None
222* (OUT)
223* pBlockAddr: pointer to store address of databuf in block.
224* Returns:
225* DPRAM_RET_SUCCESS: successed.
226* DPRAM_RET_ERROR: unknow error
227* DPRAM_RET_ERR_NO_MEMORY: no free block.
228* Others:
229* None.
230**************************************************************************/
231extern UINT32 zDrvWDpram_UlDataGet(VOID **pBlockAddr);
232/**************************************************************************
233* Functin: zDrvWDpram_UlDataSend
234* Description: This function is used to send ul data.
235* Parameters:
236* (IN)
237* pBlockAddr: ul data pointer.
238* (OUT)
239* None.
240* Returns:
241* DPRAM_RET_SUCCESS: successed.
242* Others:
243* None.
244**************************************************************************/
245extern UINT32 zDrvWDpram_UlDataSend(VOID *pBlockAddr);
246/**************************************************************************
247* Functin: zDrvDpram_GetDlDataForW
248* Description: This function is used to get dl data.
249* Parameters:
250* (IN)
251* Ret: DPRAM_RET_W.
252* (OUT)
253* ppBlockAddr: pointer to store address of databuf in block.
254* Returns:
255* DPRAM_RET_SUCCESS: successed.
256* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
257* DPRAM_RET_ERR_NO_DATA: no data.
258* Others:
259* None.
260**************************************************************************/
261extern UINT32 zDrvDpram_GetDlDataForW(VOID **ppBlockAddr, T_ZDrvDpram_Rat Rat);
262/**************************************************************************
263* Functin: zDrvWDpram_PsDlDataFree
264* Description: This function is used to free the DL data block.
265* Parameters:
266* (IN)
267* Ret: DPRAM_RET_W.
268* ppBlockAddr: pointer to store address of databuf in block.
269* (OUT)
270* None.
271* Returns:
272* DPRAM_RET_SUCCESS: successed.
273* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
274* Others:
275* None.
276**************************************************************************/
277extern UINT32 zDrvWDpram_PsDlDataFree(VOID *pBlockAddr, T_ZDrvDpram_Rat Rat);
278/**************************************************************************
279* Functin: zDrvWDpram_UpaDataGet
280* Description: This function is used to get the free block of upadata.
281* Parameters:
282* (IN)
283* uiHARQId
284* (OUT)
285* ppBlockAddr: pointer to store address of upadata in block.
286* Returns:
287* DPRAM_RET_SUCCESS: successed.
288* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
289* DPRAM_RET_ERR_NO_MEMORY: no free block.
290* Others:
291* None.
292**************************************************************************/
293extern UINT32 zDrvWDpram_UpaDataGet(UINT8 uiHARQId, VOID **ppBlockAddr);
294/**************************************************************************
295* Functin: zDrvWDpram_UpaDataSend
296* Description: This function is used to send upa data.
297* Parameters:
298* (IN)
299* uiHARQId: harq id of upa data.
300* pBlockAddr:upa data pointer
301* (OUT)
302* None.
303* Returns:
304* DPRAM_RET_SUCCESS: successed.
305* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
306* Others:
307* None.
308**************************************************************************/
309extern UINT32 zDrvWDpram_UpaDataSend(UINT8 uiHARQId, VOID *pBlockAddr);
310
311#if 0
312/**************************************************************************
313* Functin: zDrvDpram_GetUpaPhyBufAddrForW
314* Description: This function is used to get UPA buffer data of phy.
315* Parameters:
316* (IN)
317* uiHARQId: harq id of upa data.
318* cho: 0 or 1
319* (OUT)
320* ppBlockAddr: pointer to store address of phy databuf .
321* Returns:
322* DPRAM_RET_SUCCESS: successed.
323* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
324* Others:
325* None.
326**************************************************************************/
327extern UINT32 zDrvDpram_GetUpaPhyBufAddrForW(UINT8 uiHARQId, VOID **ppBlockAddr, T_ZDrvDpram_UPAAddrSel addsel);
328
329#endif
330/**************************************************************************
331* Functin: zDrvWDpram_GrantMonitorReqSend
332* Description: This function is used to send GrantMonitor request.
333* Parameters:
334* (IN)
335* pBlockAddr: address of GrantMonitor request.
336* uiLen:length of data
337* (OUT)
338* None.
339* Returns:
340* DPRAM_RET_ERR_NO_MEMORY: PHY is processing
341* DPRAM_RET_SUCCESS: successed.
342* Others:
343* None.
344**************************************************************************/
345extern UINT32 zDrvWDpram_GrantMonitorReqSend(VOID *pBlockAddr, UINT16 uiLen);
346
347/**************************************************************************
348* Functin: zDrvWDpram_UlDataFree
349* Description: This function is used to get free data of UL.
350* Parameters:
351* (IN)
352* pBlockAddr: address of UL.
353* (OUT)
354* None.
355* Returns:
356* DPRAM_RET_ERR_NO_DATA: no data in this buf
357* DPRAM_RET_SUCCESS: successed.
358* Others:
359* None.
360**************************************************************************/
361extern UINT32 zDrvWDpram_UlDataFree(VOID *pBlockAddr);
362
363/**************************************************************************
364* Functin: zDrvWDpram_PsDlDataGet
365* Description: This function is used to get free data of DL.
366* Parameters:
367* (IN)
368* uiLen:length of data
369* (OUT)
370* ppBlockAddr: address of DL free data.
371* Returns:
372* DPRAM_RET_ERR_NO_MEMORY: no free memory
373* DPRAM_RET_SUCCESS: successed.
374* Others:
375* None.
376**************************************************************************/
377extern UINT32 zDrvWDpram_PsDlDataGet(VOID **ppBlockAddr, UINT16 uiLen);
378
379/**************************************************************************
380* Functin: zDrvWDpram_UpaDataFree
381* Description: This function is used to send GrantMonitor request.
382* Parameters:
383* (IN)
384* pBlockAddr: address of GrantMonitor request.
385* uiHARQId: id of harq
386* (OUT)
387* None.
388* Returns:
389* DPRAM_RET_ERR_NO_DATA: no data in this buf
390* DPRAM_RET_SUCCESS: successed.
391* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
392* Others:
393* None.
394**************************************************************************/
395extern UINT32 zDrvWDpram_UpaDataFree(UINT8 uiHARQId, VOID *pBlockAddr);
396
397/*-------------------------used for TD---------------------------*/
398/**************************************************************************
399* Functin: zDrvTDpram_Initiate
400* Description: This function is used to initialize dpram.
401* Parameters:
402* (IN)
403* None.
404* (OUT)
405* None.
406* Returns:
407* DRV_SUCCESS: successed.
408* DRV_ERROR: error
409* DRV_ERR_NOT_SUPPORTED: this device don't support open operation.
410* others: others error code. for detailed information, please refer to the header file of hal layer
411* Others:
412* None.
413**************************************************************************/
414SINT32 zDrvTDpram_Initiate( VOID );
415
416/**************************************************************************
417* Functin: zDrvTDpram_RegCallback
418* Description: This function is used to register the interrupt callback function.
419* Parameters:
420* (IN)
421* ptCallbackStruct: callback functions struct pointer.
422* (OUT)
423* None.
424* Returns:
425* DPRAM_RET_SUCCESS: successed.
426* DPRAM_RET_ERROR: failed.
427* Others:
428* None.
429**************************************************************************/
430UINT32 zDrvTDpram_RegCallback( T_ZDrvDpram_CallbackFuncs *ptCallbackStruct );
431
432
433/**************************************************************************
434* Functin: zDrvDpram_SendCmd
435* Description: This function is used to send command.
436* Parameters:
437* (IN)
438* uiCmdId: cmd id.
439* pData: cmd data pointer
440* uiLen: cmd data length. uint: byte. must be multiples of 4. maybe 0 for null command
441* (OUT)
442* None.
443* Returns:
444* DPRAM_RET_SUCCESS: successed.
445* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
446* DPRAM_RET_ERR_NO_MEMORY: no enough space to send this command.
447* Others:
448* None.
449**************************************************************************/
450//UINT32 zDrvDpram_SendCmd( UINT16 uiCmdId, VOID *pData, UINT16 uiLen );
451
452
453/**************************************************************************
454* Functin: zDrvDpram_GetFreeData
455* Description: This function is used to get the free block.
456* Parameters:
457* (IN)
458* uiDataId: T_ZDrvDpram_DataId.
459* (OUT)
460* ppBlockAddr: pointer to store address of databuf in block.
461* puiBlockLen: pointer to store length of databuf in block. uint: byte
462* Returns:
463* DPRAM_RET_SUCCESS: successed.
464* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
465* DPRAM_RET_ERR_NO_MEMORY: no free data space.
466* Others:
467* None.
468**************************************************************************/
469//UINT32 zDrvDpram_GetFreeData ( UINT8 uiDataId, VOID **ppBlockAddr, UINT16 *puiBlockLen );
470
471
472/**************************************************************************
473* Functin: zDrvDpram_SendData
474* Description: This function is used to send data.
475* Parameters:
476* (IN)
477* uiDataId: T_ZDrvDpram_DataId.
478* ppBlockAddr: base address of databuf in block.
479* uiDataLen: data length. uint: byte
480* (OUT)
481* None.
482* Returns:
483* DPRAM_RET_SUCCESS: successed.
484* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
485* DPRAM_RET_ERR_NO_MEMORY: no enough space to send this data.
486* Others:
487* None.
488**************************************************************************/
489//UINT32 zDrvDpram_SendData( UINT8 uiDataId, VOID *ppBlockAddr, UINT16 uiDataLen );
490
491
492/**************************************************************************
493* Functin: zDrvDpram_DataExist
494* Description: This function is used to check if there is data.
495* Parameters:
496* (IN)
497* uiDataId: T_ZDrvDpram_DataId.
498* (OUT)
499* None.
500* Returns:
501* TRUE: have data; FALSE: no data.
502* Others:
503* None.
504**************************************************************************/
505//BOOL zDrvDpram_DataExist( UINT8 uiDataId ); /*zyj,20110330*/
506
507/**************************************************************************
508* Functin: zDrvDpram_GetData
509* Description: This function is used to get data.
510* Parameters:
511* (IN)
512* puiDataId: pointer to stord data id. T_ZDrvDpram_DataId.
513* (OUT)
514* ppBlockAddr: pointer to store address of databuf in block.
515* puiRealLen: pointer to store data length. uint: byte
516* Returns:
517* DPRAM_RET_SUCCESS: successed.
518* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
519* DPRAM_RET_ERR_NO_DATA: no data.
520* Others:
521* None.
522**************************************************************************/
523//UINT32 zDrvDpram_GetData( UINT8 uiDataId, VOID **ppBlockAddr, UINT16 *puiRealLen );
524
525/**************************************************************************
526* Functin: zDrvDpram_FreeData
527* Description: This function is used to free the data block.
528* Parameters:
529* (IN)
530* uiDataId: T_ZDrvDpram_DataId.
531* pBlockAddr: base address of databuf in block.
532* (OUT)
533* None.
534* Returns:
535* DPRAM_RET_SUCCESS: successed.
536* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
537* Others:
538* None.
539**************************************************************************/
540//UINT32 zDrvDpram_FreeData( UINT8 uiDataId, VOID *pBlockAddr );
541
542
543/**************************************************************************
544* Functin: zDrvTDpram_GetInfo
545* Description: This function is used to get the dpram information, such as base address.
546* Parameters:
547* (IN)
548* None.
549* (OUT)
550* ptInfo: information pointer.
551* Returns:
552* DPRAM_RET_SUCCESS: successed.
553* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
554* Others:
555* None.
556**************************************************************************/
557UINT32 zDrvTDpram_GetInfo( T_ZDrvDpram_Info *ptInfo );
558
559#if ((defined ( _CHIP_ZX297502)||defined ( _CHIP_ZX2975)||defined ( _CHIP_ZX2960_02B)||defined ( _CHIP_ZX2804)) && defined (_USE_DPRAM_ADDR_NEWSW))
560/**************************************************************************
561* Functin: zDrvTDpram_GetUPHValue
562* Description: This function is used to get the UPH value in Dpram.
563* Parameters:
564* (IN)
565* None.
566* (OUT)
567* None.
568* Returns:
569* UINT16: 2 bytes UPH Value.
570* Others:
571* None.
572**************************************************************************/
573UINT16 zDrvTDpram_GetUPHValue( VOID );
574
575
576/**************************************************************************
577* Functin: zDrvTDpram_GetSNPLValue
578* Description: This function is used to get the SNPL value in Dpram.
579* Parameters:
580* (IN)
581* None.
582* (OUT)
583* None.
584* Returns:
585* UINT16: 2 bytes SNPL Value.
586* Others:
587* None.
588**************************************************************************/
589UINT16 zDrvTDpram_GetSNPLValue( VOID );
590#endif
591/**************************************************************************
592* Functin: zDrvDpram_IntGen
593* Description: This function is used to send mailbox int to zsp
594* Parameters:
595* (IN)
596* inttype
597* (OUT)
598* no
599* Returns:
600* DPRAM_RET_SUCCESS: successed.
601* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
602* Others:
603* None.
604**************************************************************************/
605//SINT32 zDrvDpram_IntGen(UINT32 inttype);
606
607#ifdef _USE_PSM
608
609/**************************************************************************
610* Functin: zDrvDpram_WakeUpUphy
611* Description: This function is used to wakeup phy for ps
612* Parameters:
613* (IN)
614* no
615* (OUT)
616* no
617* Returns:
618* DPRAM_RET_SUCCESS: successed.
619* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
620* Others:
621* None.
622**************************************************************************/
623//extern VOID zDrvDpram_WakeUpUphy(VOID);//ps»½ÐÑphy
624
625#endif
626
627
628/**************************************************************************
629* Functin: zDrvDpram_L1tqueueFlag
630* Description: ÅжÏzspÊÇ·ñΪ¿ÕÏУ¬Èç¹û¿ÕÏз¢maiblox»½ÐÑzsp£¬²¢ÇÒÖ±dpramΪ0xa
631* Parameters:
632* (IN)
633* no
634* (OUT)
635* no
636* Returns:
637* DPRAM_RET_SUCCESS: successed.
638* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
639* Others:
640* None.
641**************************************************************************/
642
643
644//VOID zDrvDpram_L1tqueueFlag(VOID); /*ÅжÏ2963 l1t·ÅÏûÏ¢¶ÓÁÐÖÐÊÇ·ñÓÐÏûÏ¢*/
645/**************************************************************************
646* Functin: zDrvDpram_ClerrL1tqueueFlag
647* Description: This function is used to clear drx flag
648* Parameters:
649* (IN)
650* no
651* (OUT)
652* no
653* Returns:
654* DPRAM_RET_SUCCESS: successed.
655* DPRAM_RET_ERR_INVALID_PARAM: the input parameters are invalid
656* Others:
657* None.
658**************************************************************************/
659//VOID zDrvDpram_ClearL1tqueueFlag(VOID); /*Çå³ýl1tÏûÏ¢¶ÓÁÐÊÇ·ñÓбê־λ*/
660
661/**************************************************************************
662* Functin: zDrvDpram_MsgExist
663* Description: This function is used to check PS <-->TD buffer has msg.
664* Parameters:
665* (IN)
666* None.
667* (OUT)
668* None.
669* Returns:
670* TRUE:PS <-->TD has msg
671* FALSE:PS <-->TD no msg
672* Others:
673* none
674**************************************************************************/
675//BOOL zDrvDpram_MsgExist(VOID);
676
677/**************************************************************************
678* Functin: zDrvDpram_MsgExistForW
679* Description: This function is used to check WPS ->WPHY cmd ring buffer has msg.
680* Parameters:
681* (IN)
682* None.
683* (OUT)
684* None.
685* Returns:
686* TRUE:WPS ->WPHY has msg
687* FALSE:WPS <-->WPHY has no msg
688* Others:
689* none
690**************************************************************************/
691//BOOL zDrvDpram_MsgExistForW(VOID);
692
693
694
695#endif/*_FILENAME_H*/
696