diff options
Diffstat (limited to 'drivers/staging/winbond/core.h')
-rw-r--r-- | drivers/staging/winbond/core.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/drivers/staging/winbond/core.h b/drivers/staging/winbond/core.h new file mode 100644 index 000000000000..fe142a10ea80 --- /dev/null +++ b/drivers/staging/winbond/core.h @@ -0,0 +1,42 @@ +#ifndef __WINBOND_CORE_H +#define __WINBOND_CORE_H + +#include <linux/wireless.h> + +#include "bssdscpt.h" +#include "mto.h" +#include "wbhal_s.h" + +#define WBLINUX_PACKET_ARRAY_SIZE (ETHERNET_TX_DESCRIPTORS*4) + +#define WB_MAX_LINK_NAME_LEN 40 + +struct wbsoft_priv { + u32 adapterIndex; // 20060703.4 Add for using padapterContext global adapter point + + WB_LOCALDESCRIPT sLocalPara; // Myself connected parameters + PWB_BSSDESCRIPTION asBSSDescriptElement; + + MLME_FRAME sMlmeFrame; // connect to peerSTA parameters + + MTO_PARAMETERS sMtoPara; // MTO_struct ... + hw_data_t sHwData; //For HAL + MDS Mds; + + spinlock_t SpinLock; + + atomic_t ThreadCount; + + u32 RxByteCount; + u32 TxByteCount; + + struct sk_buff *packet_return; + s32 netif_state_stop; // 1: stop 0: normal + struct iw_statistics iw_stats; + + u8 LinkName[WB_MAX_LINK_NAME_LEN]; + + bool enabled; +}; + +#endif /* __WINBOND_CORE_H */ |