2008-10-30 14:14:35 +00:00
|
|
|
#ifndef __WINBOND_CORE_H
|
|
|
|
#define __WINBOND_CORE_H
|
|
|
|
|
2008-10-30 14:14:38 +00:00
|
|
|
#include <linux/wireless.h>
|
|
|
|
|
2009-03-02 10:19:56 +00:00
|
|
|
#include "mlme_s.h"
|
2008-10-30 14:14:38 +00:00
|
|
|
#include "wbhal_s.h"
|
2009-01-07 15:33:45 +00:00
|
|
|
#include "mto.h"
|
2008-10-30 14:14:38 +00:00
|
|
|
|
|
|
|
#define WBLINUX_PACKET_ARRAY_SIZE (ETHERNET_TX_DESCRIPTORS*4)
|
|
|
|
|
|
|
|
#define WB_MAX_LINK_NAME_LEN 40
|
2008-10-30 14:14:35 +00:00
|
|
|
|
|
|
|
struct wbsoft_priv {
|
2008-10-30 14:14:38 +00:00
|
|
|
u32 adapterIndex; // 20060703.4 Add for using padapterContext global adapter point
|
|
|
|
|
|
|
|
WB_LOCALDESCRIPT sLocalPara; // Myself connected parameters
|
|
|
|
|
|
|
|
MLME_FRAME sMlmeFrame; // connect to peerSTA parameters
|
|
|
|
|
2009-08-12 08:03:38 +00:00
|
|
|
struct wb35_mto_params sMtoPara; // MTO_struct ...
|
2009-01-12 16:02:47 +00:00
|
|
|
struct hw_data sHwData; //For HAL
|
2009-08-12 08:03:33 +00:00
|
|
|
struct wb35_mds Mds;
|
2008-10-30 14:14:38 +00:00
|
|
|
|
|
|
|
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];
|
2008-10-30 16:12:04 +00:00
|
|
|
|
|
|
|
bool enabled;
|
2008-10-30 14:14:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __WINBOND_CORE_H */
|