GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / staging / winbond / core.h
blobb87d6c07600f6f270dea6f4145a1e3ad0668f99a
1 #ifndef __WINBOND_CORE_H
2 #define __WINBOND_CORE_H
4 #include <linux/wireless.h>
6 #include "mlme_s.h"
7 #include "wbhal_s.h"
8 #include "mto.h"
10 #define WBLINUX_PACKET_ARRAY_SIZE (ETHERNET_TX_DESCRIPTORS*4)
12 #define WB_MAX_LINK_NAME_LEN 40
14 struct wbsoft_priv {
15 u32 adapterIndex; /* 20060703.4 Add for using padapterContext
16 global adapter point */
18 struct wb_local_para sLocalPara; /* Myself connected
19 parameters */
21 MLME_FRAME sMlmeFrame; /* connect to peerSTA parameters */
23 struct wb35_mto_params sMtoPara; /* MTO_struct ... */
24 struct hw_data sHwData; /*For HAL */
25 struct wb35_mds Mds;
27 spinlock_t SpinLock;
29 atomic_t ThreadCount;
31 u32 RxByteCount;
32 u32 TxByteCount;
34 struct sk_buff *packet_return;
35 s32 netif_state_stop; /* 1: stop 0: normal */
36 struct iw_statistics iw_stats;
38 u8 LinkName[WB_MAX_LINK_NAME_LEN];
40 bool enabled;
43 #endif /* __WINBOND_CORE_H */