1 #ifndef __WINBOND_MLME_H
2 #define __WINBOND_MLME_H
4 #include <linux/types.h>
5 #include <linux/spinlock.h>
7 #include "mac_structures.h"
11 * ==============================================
12 * Global data structures
13 * ==============================================
15 #define MAX_NUM_TX_MMPDU 2
16 #define MAX_MMPDU_SIZE 1512
17 #define MAX_NUM_RX_MMPDU 6
25 spinlock_t MLMESpinLock;
27 u8 TxMMPDU[MAX_NUM_TX_MMPDU][MAX_MMPDU_SIZE];
28 u8 TxMMPDUInUse[(MAX_NUM_TX_MMPDU + 3) & ~0x03];
31 u16 wNumTxMMPDUDiscarded;
33 u8 RxMMPDU[MAX_NUM_RX_MMPDU][MAX_MMPDU_SIZE];
34 u8 SaveRxBufSlotInUse[(MAX_NUM_RX_MMPDU + 3) & ~0x03];
37 u16 wNumRxMMPDUDiscarded;
39 u16 wNumRxMMPDUInMLME; /* Number of the Rx MMPDU */
40 u16 reserved_1; /* in MLME. */
41 /* excluding the discarded */