]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - drivers/staging/winbond/core.h
Staging: w35und: unify mto.h and mto_f.h header files
[linux-2.6-omap-h63xx.git] / drivers / staging / winbond / core.h
1 #ifndef __WINBOND_CORE_H
2 #define __WINBOND_CORE_H
3
4 #include <linux/wireless.h>
5
6 #include "bssdscpt.h"
7 #include "wbhal_s.h"
8 #include "mto.h"
9
10 #define WBLINUX_PACKET_ARRAY_SIZE (ETHERNET_TX_DESCRIPTORS*4)
11
12 #define WB_MAX_LINK_NAME_LEN 40
13
14 struct wbsoft_priv {
15         u32 adapterIndex;       // 20060703.4 Add for using padapterContext global adapter point
16
17         WB_LOCALDESCRIPT sLocalPara;    // Myself connected parameters
18         PWB_BSSDESCRIPTION asBSSDescriptElement;
19
20         MLME_FRAME sMlmeFrame;  // connect to peerSTA parameters
21
22         MTO_PARAMETERS sMtoPara;        // MTO_struct ...
23         hw_data_t sHwData;      //For HAL
24         MDS Mds;
25
26         spinlock_t SpinLock;
27
28         atomic_t ThreadCount;
29
30         u32 RxByteCount;
31         u32 TxByteCount;
32
33         struct sk_buff *packet_return;
34         s32 netif_state_stop;   // 1: stop  0: normal
35         struct iw_statistics iw_stats;
36
37         u8 LinkName[WB_MAX_LINK_NAME_LEN];
38
39         bool enabled;
40 };
41
42 #endif /* __WINBOND_CORE_H */