-
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.
Staging: w35und: merge struct wb35_adapter to struct wbsoft_priv
This patch merges struct wb35_adapter to struct wbsoft_priv. Now we can finally start passing a pointer to struct ieee80211_hw around where necessary. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Loading branch information
Pekka Enberg
authored and
Greg Kroah-Hartman
committed
Jan 6, 2009
1 parent
ac418b8
commit 1e8a2b6
Showing
18 changed files
with
183 additions
and
204 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,44 @@ | ||
#ifndef __WINBOND_CORE_H | ||
#define __WINBOND_CORE_H | ||
|
||
#include "adapter.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 { | ||
struct wb35_adapter *adapter; | ||
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; | ||
u32 shutdown; | ||
|
||
atomic_t ThreadCount; | ||
|
||
u32 RxByteCount; | ||
u32 TxByteCount; | ||
|
||
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[WB_MAX_LINK_NAME_LEN]; | ||
}; | ||
|
||
#endif /* __WINBOND_CORE_H */ |
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
Oops, something went wrong.