Pekka Enberg | 80aba53 | 2008-10-30 13:04:29 +0200 | [diff] [blame] | 1 | #ifndef __WINBOND_MDS_F_H |
| 2 | #define __WINBOND_MDS_F_H |
| 3 | |
| 4 | #include "wbhal_s.h" |
Pekka Enberg | 1e8a2b6 | 2008-10-30 16:14:38 +0200 | [diff] [blame] | 5 | #include "core.h" |
Pekka Enberg | 80aba53 | 2008-10-30 13:04:29 +0200 | [diff] [blame] | 6 | |
Pekka Enberg | 1e8a2b6 | 2008-10-30 16:14:38 +0200 | [diff] [blame] | 7 | unsigned char Mds_initial( struct wbsoft_priv *adapter ); |
| 8 | void Mds_Destroy( struct wbsoft_priv *adapter ); |
| 9 | void Mds_Tx( struct wbsoft_priv *adapter ); |
Pekka Enberg | 1e8a2b6 | 2008-10-30 16:14:38 +0200 | [diff] [blame] | 10 | void Mds_SendComplete( struct wbsoft_priv *adapter, PT02_DESCRIPTOR pT02 ); |
| 11 | void Mds_MpduProcess( struct wbsoft_priv *adapter, PDESCRIPTOR pRxDes ); |
Pavel Machek | 66101de | 2008-10-01 14:36:56 +0200 | [diff] [blame] | 12 | extern void DataDmp(u8 *pdata, u32 len, u32 offset); |
| 13 | |
Pavel Machek | 66101de | 2008-10-01 14:36:56 +0200 | [diff] [blame] | 14 | // For Asynchronous indicating. The routine collocates with USB. |
Pekka Enberg | 1e8a2b6 | 2008-10-30 16:14:38 +0200 | [diff] [blame] | 15 | void Mds_MsduProcess( struct wbsoft_priv *adapter, PRXLAYER1 pRxLayer1, u8 SlotIndex); |
Pavel Machek | 66101de | 2008-10-01 14:36:56 +0200 | [diff] [blame] | 16 | |
| 17 | // For data frame sending 20060802 |
Pekka Enberg | 1e8a2b6 | 2008-10-30 16:14:38 +0200 | [diff] [blame] | 18 | u16 MDS_GetPacketSize( struct wbsoft_priv *adapter ); |
| 19 | void MDS_GetNextPacket( struct wbsoft_priv *adapter, PDESCRIPTOR pDes ); |
| 20 | void MDS_GetNextPacketComplete( struct wbsoft_priv *adapter, PDESCRIPTOR pDes ); |
| 21 | void MDS_SendResult( struct wbsoft_priv *adapter, u8 PacketId, unsigned char SendOK ); |
Pavel Machek | 66101de | 2008-10-01 14:36:56 +0200 | [diff] [blame] | 22 | |
Pekka Enberg | 80aba53 | 2008-10-30 13:04:29 +0200 | [diff] [blame] | 23 | #endif |