From 07396c93368d5a9cc8f1b85ce89de2a9f53d1ae9 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Sun, 19 Sep 2010 12:28:41 +0300 Subject: [PATCH] --- yaml --- r: 219942 b: refs/heads/master c: 3c093865aecc7addd34a56b5cf4b2ee9223d9b2d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/staging/winbond/core.h | 35 +++++++++++++++++++- trunk/drivers/staging/winbond/mlme_s.h | 44 -------------------------- 3 files changed, 35 insertions(+), 46 deletions(-) delete mode 100644 trunk/drivers/staging/winbond/mlme_s.h diff --git a/[refs] b/[refs] index 0140c9ae9b0c..5ccf11aeda28 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f2e497e3e905f60f44eb475b527cc0e443ce4d0b +refs/heads/master: 3c093865aecc7addd34a56b5cf4b2ee9223d9b2d diff --git a/trunk/drivers/staging/winbond/core.h b/trunk/drivers/staging/winbond/core.h index 2e9f02ad9e80..294d371e60d2 100644 --- a/trunk/drivers/staging/winbond/core.h +++ b/trunk/drivers/staging/winbond/core.h @@ -1,12 +1,45 @@ #ifndef __WINBOND_CORE_H #define __WINBOND_CORE_H +#include #include +#include -#include "mlme_s.h" #include "wbhal_s.h" #include "mto.h" +#include "mac_structures.h" +#include "mds_s.h" + +#define MAX_NUM_TX_MMPDU 2 +#define MAX_MMPDU_SIZE 1512 +#define MAX_NUM_RX_MMPDU 6 + +struct mlme_frame { + s8 *pMMPDU; + u16 len; + u8 DataType; + u8 IsInUsed; + + spinlock_t MLMESpinLock; + + u8 TxMMPDU[MAX_NUM_TX_MMPDU][MAX_MMPDU_SIZE]; + u8 TxMMPDUInUse[(MAX_NUM_TX_MMPDU + 3) & ~0x03]; + + u16 wNumTxMMPDU; + u16 wNumTxMMPDUDiscarded; + + u8 RxMMPDU[MAX_NUM_RX_MMPDU][MAX_MMPDU_SIZE]; + u8 SaveRxBufSlotInUse[(MAX_NUM_RX_MMPDU + 3) & ~0x03]; + + u16 wNumRxMMPDU; + u16 wNumRxMMPDUDiscarded; + + u16 wNumRxMMPDUInMLME; /* Number of the Rx MMPDU */ + u16 reserved_1; /* in MLME. */ + /* excluding the discarded */ +}; + #define WBLINUX_PACKET_ARRAY_SIZE (ETHERNET_TX_DESCRIPTORS*4) #define WB_MAX_LINK_NAME_LEN 40 diff --git a/trunk/drivers/staging/winbond/mlme_s.h b/trunk/drivers/staging/winbond/mlme_s.h deleted file mode 100644 index 0e7d2f629aa1..000000000000 --- a/trunk/drivers/staging/winbond/mlme_s.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef __WINBOND_MLME_H -#define __WINBOND_MLME_H - -#include -#include - -#include "mac_structures.h" -#include "mds_s.h" - -/* - * ============================================== - * Global data structures - * ============================================== - */ -#define MAX_NUM_TX_MMPDU 2 -#define MAX_MMPDU_SIZE 1512 -#define MAX_NUM_RX_MMPDU 6 - -struct mlme_frame { - s8 *pMMPDU; - u16 len; - u8 DataType; - u8 IsInUsed; - - spinlock_t MLMESpinLock; - - u8 TxMMPDU[MAX_NUM_TX_MMPDU][MAX_MMPDU_SIZE]; - u8 TxMMPDUInUse[(MAX_NUM_TX_MMPDU + 3) & ~0x03]; - - u16 wNumTxMMPDU; - u16 wNumTxMMPDUDiscarded; - - u8 RxMMPDU[MAX_NUM_RX_MMPDU][MAX_MMPDU_SIZE]; - u8 SaveRxBufSlotInUse[(MAX_NUM_RX_MMPDU + 3) & ~0x03]; - - u16 wNumRxMMPDU; - u16 wNumRxMMPDUDiscarded; - - u16 wNumRxMMPDUInMLME; /* Number of the Rx MMPDU */ - u16 reserved_1; /* in MLME. */ - /* excluding the discarded */ -}; - -#endif