1 #ifndef __WINBOND_CORE_H
2 #define __WINBOND_CORE_H
4 #include <linux/wireless.h>
5 #include <linux/types.h>
10 #include "mac_structures.h"
13 #define MAX_NUM_TX_MMPDU 2
14 #define MAX_MMPDU_SIZE 1512
15 #define MAX_NUM_RX_MMPDU 6
23 u8 TxMMPDU[MAX_NUM_TX_MMPDU][MAX_MMPDU_SIZE];
24 u8 TxMMPDUInUse[(MAX_NUM_TX_MMPDU + 3) & ~0x03];
27 u16 wNumTxMMPDUDiscarded;
29 u8 RxMMPDU[MAX_NUM_RX_MMPDU][MAX_MMPDU_SIZE];
30 u8 SaveRxBufSlotInUse[(MAX_NUM_RX_MMPDU + 3) & ~0x03];
33 u16 wNumRxMMPDUDiscarded;
35 u16 wNumRxMMPDUInMLME; /* Number of the Rx MMPDU */
36 u16 reserved_1; /* in MLME. */
37 /* excluding the discarded */
40 #define WBLINUX_PACKET_ARRAY_SIZE (ETHERNET_TX_DESCRIPTORS*4)
42 #define WB_MAX_LINK_NAME_LEN 40
45 struct wb_local_para sLocalPara; /* Myself connected
48 struct mlme_frame sMlmeFrame; /* connect to peerSTA parameters */
50 struct wb35_mto_params sMtoPara; /* MTO_struct ... */
51 struct hw_data sHwData; /*For HAL */
59 u8 LinkName[WB_MAX_LINK_NAME_LEN];
64 #endif /* __WINBOND_CORE_H */