Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/staging/winbond/core.h
Ruslan Pisarev 5dcf8f668c Staging: winbond: fix comments coding style issue in core.h
This is a patch to the core.h file that fixed up a TAB and spaces Errors
found by the checkpatch.pl tools, like do not use C99 // comments

Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11 11:35:48 -07:00

44 lines
887 B
C

#ifndef __WINBOND_CORE_H
#define __WINBOND_CORE_H
#include <linux/wireless.h>
#include "mlme_s.h"
#include "wbhal_s.h"
#include "mto.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 */
struct wb_local_para sLocalPara; /* Myself connected
parameters */
MLME_FRAME sMlmeFrame; /* connect to peerSTA parameters */
struct wb35_mto_params sMtoPara; /* MTO_struct ... */
struct hw_data sHwData; /*For HAL */
struct wb35_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 */