]> Pileus Git - ~andy/linux/blob - drivers/staging/winbond/mlme_s.h
staging: w35und: Remove dead code from mlme_s.h
[~andy/linux] / drivers / staging / winbond / mlme_s.h
1 #ifndef __WINBOND_MLME_H
2 #define __WINBOND_MLME_H
3
4 #include <linux/types.h>
5 #include <linux/spinlock.h>
6
7 #include "mac_structures.h"
8 #include "mds_s.h"
9
10 /*
11  * ==============================================
12  * Global data structures
13  * ==============================================
14  */
15 #define MAX_NUM_TX_MMPDU                2
16 #define MAX_MMPDU_SIZE                  1512
17 #define MAX_NUM_RX_MMPDU                6
18
19 struct mlme_frame {
20         s8              *pMMPDU;
21         u16             len;
22         u8              DataType;
23         u8              IsInUsed;
24
25         spinlock_t      MLMESpinLock;
26
27         u8              TxMMPDU[MAX_NUM_TX_MMPDU][MAX_MMPDU_SIZE];
28         u8              TxMMPDUInUse[(MAX_NUM_TX_MMPDU + 3) & ~0x03];
29
30         u16             wNumTxMMPDU;
31         u16             wNumTxMMPDUDiscarded;
32
33         u8              RxMMPDU[MAX_NUM_RX_MMPDU][MAX_MMPDU_SIZE];
34         u8              SaveRxBufSlotInUse[(MAX_NUM_RX_MMPDU + 3) & ~0x03];
35
36         u16             wNumRxMMPDU;
37         u16             wNumRxMMPDUDiscarded;
38
39         u16             wNumRxMMPDUInMLME;      /* Number of the Rx MMPDU */
40         u16             reserved_1;             /*  in MLME. */
41                                                 /*  excluding the discarded */
42 };
43
44 #endif