Staging: w35und: remove ->skb_array from struct wbsoft_priv
[linux-2.6] / 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 "mto.h"
8 #include "wbhal_s.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         u32 shutdown;
28
29         atomic_t ThreadCount;
30
31         u32 RxByteCount;
32         u32 TxByteCount;
33
34         struct sk_buff *packet_return;
35         s32 netif_state_stop;   // 1: stop  0: normal
36         struct iw_statistics iw_stats;
37
38         u8 LinkName[WB_MAX_LINK_NAME_LEN];
39
40         bool enabled;
41 };
42
43 #endif /* __WINBOND_CORE_H */