-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 126552 b: refs/heads/master c: 581f67c h: refs/heads/master v: v3
- Loading branch information
Pekka Enberg
authored and
Greg Kroah-Hartman
committed
Jan 6, 2009
1 parent
e163072
commit af5c4ea
Showing
6 changed files
with
62 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 88ebc4b950e344a8024ab46cccfb506a81f70634 | ||
refs/heads/master: 581f67cf3c5a4fa533775dd6f50d70f819b48de0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,55 @@ | ||
// | ||
// ADAPTER.H - | ||
// Windows NDIS global variable 'adapter' typedef | ||
// | ||
#define OS_MEMORY_ALLOC( _V, _S ) WBLINUX_MemoryAlloc( _V, _S ) | ||
#define OS_LINK_STATUS (adapter->LinkStatus == OS_CONNECTED) | ||
#define OS_SET_SHUTDOWN( _A ) _A->shutdown=1 | ||
#define OS_SET_RESUME( _A ) _A->shutdown=0 | ||
#define OS_CONNECT_STATUS_INDICATE( _A, _F ) WBLINUX_ConnectStatus( _A, _F ) | ||
#define OS_DISCONNECTED 0 | ||
#define OS_CONNECTED 1 | ||
#define OS_STOP( _A ) WBLINUX_stop( _A ) | ||
|
||
#define OS_CURRENT_RX_BYTE( _A ) _A->RxByteCount | ||
#define OS_CURRENT_TX_BYTE( _A ) _A->TxByteCount | ||
#define OS_EVENT_INDICATE( _A, _B, _F ) | ||
#define OS_PMKID_STATUS_EVENT( _A ) | ||
#define OS_RECEIVE_PACKET_INDICATE( _A, _D ) WBLinux_ReceivePacket( _A, _D ) | ||
#define OS_RECEIVE_802_1X_PACKET_INDICATE( _A, _D ) EAP_ReceivePacket( _A, _D ) | ||
#define OS_GET_PACKET( _A, _D ) WBLINUX_GetNextPacket( _A, _D ) | ||
#define OS_GET_PACKET_COMPLETE( _A, _D ) WBLINUX_GetNextPacketCompleted( _A, _D ) | ||
#define OS_SEND_RESULT( _A, _ID, _R ) | ||
|
||
#define WBLINUX_PACKET_ARRAY_SIZE (ETHERNET_TX_DESCRIPTORS*4) | ||
|
||
#define MAX_ANSI_STRING 40 | ||
|
||
struct wb35_adapter { | ||
u32 adapterIndex; // 20060703.4 Add for using padapterContext global adapter point | ||
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 AtomicSpinLock; | ||
spinlock_t SpinLock; | ||
u32 shutdown; | ||
|
||
WB_LOCALDESCRIPT sLocalPara; // Myself connected parameters | ||
PWB_BSSDESCRIPTION asBSSDescriptElement; | ||
OS_ATOMIC ThreadCount; | ||
|
||
MLME_FRAME sMlmeFrame; // connect to peerSTA parameters | ||
u32 LinkStatus; // OS_DISCONNECTED or OS_CONNECTED | ||
|
||
MTO_PARAMETERS sMtoPara; // MTO_struct ... | ||
hw_data_t sHwData; //For HAL | ||
MDS Mds; | ||
u32 RxByteCount; | ||
u32 TxByteCount; | ||
|
||
WBLINUX WbLinux; | ||
struct iw_statistics iw_stats; | ||
struct sk_buff *skb_array[WBLINUX_PACKET_ARRAY_SIZE]; | ||
struct sk_buff *packet_return; | ||
s32 skb_SetIndex; | ||
s32 skb_GetIndex; | ||
s32 netif_state_stop; // 1: stop 0: normal | ||
struct iw_statistics iw_stats; | ||
|
||
u8 LinkName[MAX_ANSI_STRING]; | ||
u8 LinkName[MAX_ANSI_STRING]; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.