提交 b93abb66 编写于 作者: P Pekka Enberg 提交者: Greg Kroah-Hartman

Staging: w35und: remove unused header files

The header files are not included anywhere so we can just remove them.
Signed-off-by: NPekka Enberg <penberg@cs.helsinki.fi>
Acked-by: NPavel Machek <pavel@suse.cz>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 94aa5b44
#ifndef __WINBOND_BSS_F_H
#define __WINBOND_BSS_F_H
#include "core.h"
struct PMKID_Information_Element;
//
// BSS descriptor DataBase management global function
//
void vBSSdescriptionInit(struct wbsoft_priv * adapter);
void vBSSfoundList(struct wbsoft_priv * adapter);
u8 boChanFilter(struct wbsoft_priv * adapter, u8 ChanNo);
u16 wBSSallocateEntry(struct wbsoft_priv * adapter);
u16 wBSSGetEntry(struct wbsoft_priv * adapter);
void vSimpleHouseKeeping(struct wbsoft_priv * adapter);
u16 wBSShouseKeeping(struct wbsoft_priv * adapter);
void ClearBSSdescpt(struct wbsoft_priv * adapter, u16 i);
u16 wBSSfindBssID(struct wbsoft_priv * adapter, u8 *pbBssid);
u16 wBSSfindDedicateCandidate(struct wbsoft_priv * adapter, struct SSID_Element *psSsid, u8 *pbBssid);
u16 wBSSfindMACaddr(struct wbsoft_priv * adapter, u8 *pbMacAddr);
u16 wBSSsearchMACaddr(struct wbsoft_priv * adapter, u8 *pbMacAddr, u8 band);
u16 wBSSaddScanData(struct wbsoft_priv *, u16, psRXDATA);
u16 wBSSUpdateScanData(struct wbsoft_priv * adapter, u16 wBssIdx, psRXDATA psRcvData);
u16 wBSScreateIBSSdata(struct wbsoft_priv * adapter, PWB_BSSDESCRIPTION psDesData);
void DesiredRate2BSSdescriptor(struct wbsoft_priv * adapter, PWB_BSSDESCRIPTION psDesData,
u8 *pBasicRateSet, u8 BasicRateCount,
u8 *pOperationRateSet, u8 OperationRateCount);
void DesiredRate2InfoElement(struct wbsoft_priv * adapter, u8 *addr, u16 *iFildOffset,
u8 *pBasicRateSet, u8 BasicRateCount,
u8 *pOperationRateSet, u8 OperationRateCount);
void BSSAddIBSSdata(struct wbsoft_priv * adapter, PWB_BSSDESCRIPTION psDesData);
unsigned char boCmpMacAddr( u8 *, u8 *);
unsigned char boCmpSSID(struct SSID_Element *psSSID1, struct SSID_Element *psSSID2);
u16 wBSSfindSSID(struct wbsoft_priv * adapter, struct SSID_Element *psSsid);
u16 wRoamingQuery(struct wbsoft_priv * adapter);
void vRateToBitmap(struct wbsoft_priv * adapter, u16 index);
u8 bRateToBitmapIndex(struct wbsoft_priv * adapter, u8 bRate);
u8 bBitmapToRate(u8 i);
unsigned char boIsERPsta(struct wbsoft_priv * adapter, u16 i);
unsigned char boCheckConnect(struct wbsoft_priv * adapter);
unsigned char boCheckSignal(struct wbsoft_priv * adapter);
void AddIBSSIe(struct wbsoft_priv * adapter,PWB_BSSDESCRIPTION psDesData );//added by ws for WPA_None06/01/04
void BssScanUpToDate(struct wbsoft_priv * adapter);
void BssUpToDate(struct wbsoft_priv * adapter);
void RateSort(u8 *RateArray, u8 num, u8 mode);
void RateReSortForSRate(struct wbsoft_priv * adapter, u8 *RateArray, u8 num);
void Assemble_IE(struct wbsoft_priv * adapter, u16 wBssIdx);
void SetMaxTxRate(struct wbsoft_priv * adapter);
void CreateWpaIE(struct wbsoft_priv * adapter, u16* iFildOffset, u8 *msg, struct Management_Frame* msgHeader,
struct Association_Request_Frame_Body* msgBody, u16 iMSindex); //added by WS 05/14/05
#ifdef _WPA2_
void CreateRsnIE(struct wbsoft_priv * adapter, u16* iFildOffset, u8 *msg, struct Management_Frame* msgHeader,
struct Association_Request_Frame_Body* msgBody, u16 iMSindex);//added by WS 05/14/05
u16 SearchPmkid(struct wbsoft_priv * adapter, struct Management_Frame* msgHeader,
struct PMKID_Information_Element * AssoReq_PMKID );
#endif
#endif
此差异已折叠。
//============================================================================
// MLMEMIB.H -
//
// Description:
// Get and Set some of MLME MIB attributes.
//
// Revision history:
// --------------------------------------------------------------------------
// 20030117 PD43 Austin Liu
// Initial release
//
// Copyright (c) 2003 Winbond Electronics Corp. All rights reserved.
//============================================================================
#ifndef _MLME_MIB_H
#define _MLME_MIB_H
//============================================================================
// MLMESetExcludeUnencrypted --
//
// Description:
// Set the dot11ExcludeUnencrypted value.
//
// Arguments:
// adapter - The pointer to the miniport adapter context.
// ExUnencrypted - unsigned char type. The value to be set.
//
// Return values:
// None.
//============================================================================
#define MLMESetExcludeUnencrypted(adapter, ExUnencrypted) \
{ \
(adapter)->sLocalPara.ExcludeUnencrypted = ExUnencrypted; \
}
//============================================================================
// MLMEGetExcludeUnencrypted --
//
// Description:
// Get the dot11ExcludeUnencrypted value.
//
// Arguments:
// adapter - The pointer to the miniport adapter context.
//
// Return values:
// unsigned char type. The current dot11ExcludeUnencrypted value.
//============================================================================
#define MLMEGetExcludeUnencrypted(adapter) ((unsigned char) (adapter)->sLocalPara.ExcludeUnencrypted)
//============================================================================
// MLMESetMaxReceiveLifeTime --
//
// Description:
// Set the dot11MaxReceiveLifeTime value.
//
// Arguments:
// adapter - The pointer to the miniport adapter context.
// ReceiveLifeTime- u32 type. The value to be set.
//
// Return values:
// None.
//============================================================================
#define MLMESetMaxReceiveLifeTime(adapter, ReceiveLifeTime) \
{ \
(adapter)->Mds.MaxReceiveTime = ReceiveLifeTime; \
}
//============================================================================
// MLMESetMaxReceiveLifeTime --
//
// Description:
// Get the dot11MaxReceiveLifeTime value.
//
// Arguments:
// adapter - The pointer to the miniport adapter context.
//
// Return values:
// u32 type. The current dot11MaxReceiveLifeTime value.
//============================================================================
#define MLMEGetMaxReceiveLifeTime(adapter) ((u32) (adapter)->Mds.MaxReceiveTime)
#endif
#ifndef __WINBOND_SME_S_H
#define __WINBOND_SME_S_H
#include <linux/types.h>
#include "mac_structures.h"
#include "localpara.h"
//
// SME_S.H -
// SME task global CONSTANTS, STRUCTURES, variables
//
//////////////////////////////////////////////////////////////////////////
//define the msg type of SME module
// 0x00~0x1F : MSG from GUI dispatch
// 0x20~0x3F : MSG from MLME
// 0x40~0x5F : MSG from SCAN
// 0x60~0x6F : MSG from TX/RX
// 0x70~0x7F : MSG from ROAMING
// 0x80~0x8F : MSG from ISR
// 0x90 : MSG TimeOut
// from GUI
#define SMEMSG_SCAN_REQ 0x01
//#define SMEMSG_PASSIVE_SCAN_REQ 0x02
#define SMEMSG_JOIN_REQ 0x03
#define SMEMSG_START_IBSS 0x04
#define SMEMSG_DISCONNECT_REQ 0x05
#define SMEMSG_AUTHEN_REQ 0x06
#define SMEMSG_DEAUTHEN_REQ 0x07
#define SMEMSG_ASSOC_REQ 0x08
#define SMEMSG_REASSOC_REQ 0x09
#define SMEMSG_DISASSOC_REQ 0x0a
#define SMEMSG_POWERSAVE_REQ 0x0b
// from MLME
#define SMEMSG_AUTHEN_CFM 0x21
#define SMEMSG_AUTHEN_IND 0x22
#define SMEMSG_ASSOC_CFM 0x23
#define SMEMSG_DEAUTHEN_IND 0x24
#define SMEMSG_DISASSOC_IND 0x25
// from SCAN
#define SMEMSG_SCAN_CFM 0x41
#define SMEMSG_START_IBSS_CFM 0x42
// from MTO, function call to set SME parameters
// 0x60~0x6F : MSG from TX/RX
//#define SMEMSG_IBSS_JOIN_UPDATE_BSSID 0x61
#define SMEMSG_COUNTERMEASURE_MICFAIL_TIMEOUT 0x62
#define SMEMSG_COUNTERMEASURE_BLOCK_TIMEOUT 0x63
// from ROAMING
#define SMEMSG_HANDOVER_JOIN_REQ 0x71
#define SMEMSG_END_ROAMING 0x72
#define SMEMSG_SCAN_JOIN_REQ 0x73
// from ISR
#define SMEMSG_TSF_SYNC_IND 0x81
// from TimeOut
#define SMEMSG_TIMEOUT 0x91
#define MAX_PMKID_Accunt 16
//@added by ws 04/22/05
#define Cipher_Disabled 0
#define Cipher_Wep 1
#define Cipher_Tkip 2
#define Cipher_Ccmp 4
///////////////////////////////////////////////////////////////////////////
//Constants
///////////////////////////////////////////////////////////////////////////
//Global data structures
#define NUMOFWEPENTRIES 64
typedef enum _WEPKeyMode
{
WEPKEY_DISABLED = 0,
WEPKEY_64 = 1,
WEPKEY_128 = 2
} WEPKEYMODE, *pWEPKEYMODE;
#ifdef _WPA2_
typedef struct _BSSInfo
{
u8 PreAuthBssID[6];
PMKID pmkid_value;
}BSSID_Info;
typedef struct _PMKID_Table //added by ws 05/05/04
{
u32 Length;
u32 BSSIDInfoCount;
BSSID_Info BSSIDInfo[16];
} PMKID_Table;
#endif //end def _WPA2_
#define MAX_BASIC_RATE_SET 15
#define MAX_OPT_RATE_SET MAX_BASIC_RATE_SET
typedef struct _SME_PARAMETERS
{
u16 wState;
u8 boDUTmode;
u8 bDesiredPowerSave;
// SME timer and timeout value
struct timer_list timer;
u8 boInTimerHandler;
u8 boAuthRetryActive;
u8 reserved_0[2];
u32 AuthenRetryTimerVal; // NOTE: Assoc don't fail timeout
u32 JoinFailTimerVal; // 10*Beacon-Interval
//Rates
u8 BSSBasicRateSet[(MAX_BASIC_RATE_SET + 3) & ~0x03 ]; // BSS basic rate set
u8 OperationalRateSet[(MAX_OPT_RATE_SET + 3) & ~0x03 ]; // Operational rate set
u8 NumOfBSSBasicRate;
u8 NumOfOperationalRate;
u8 reserved_1[2];
u32 BasicRateBitmap;
u32 OpRateBitmap;
// System parameters Set by GUI
//-------------------- start IBSS parameter ---------------------------//
u32 boStartIBSS; //Start IBSS toggle
u16 wBeaconPeriod;
u16 wATIM_Window;
ChanInfo IbssChan; // 2B //channel setting when start IBSS
u8 reserved_2[2];
// Join related
u16 wDesiredJoinBSS; // BSS index which desire to join
u8 boJoinReq; //Join request toggle
u8 bDesiredBSSType; //for Join request
u16 wCapabilityInfo; // Used when invoking the MLME_Associate_request().
u16 wNonERPcapabilityInfo;
struct SSID_Element sDesiredSSID; // 34 B
u8 reserved_3[2];
u8 abDesiredBSSID[MAC_ADDR_LENGTH + 2];
u8 bJoinScanCount; // the time of scan-join action need to do
u8 bDesiredAuthMode; // AUTH_OPEN_SYSTEM or AUTH_SHARED_KEY
u8 reserved_4[2];
// Encryption parameters
u8 _dot11PrivacyInvoked;
u8 _dot11PrivacyOptionImplemented;
u8 reserved_5[2];
//@ ws added
u8 DesiredEncrypt;
u8 encrypt_status; //ENCRYPT_DISABLE, ENCRYPT_WEP, ENCRYPT_WEP_NOKEY, ENCRYPT_TKIP, ...
u8 key_length;
u8 pairwise_key_ok;
u8 group_key_ok;
u8 wpa_ok; // indicate the control port of 802.1x is open or close
u8 pairwise_key_type;
u8 group_key_type;
u32 _dot11WEPDefaultKeyID;
u8 tx_mic_key[8]; // TODO: 0627 kevin-TKIP
u8 rx_mic_key[8]; // TODO: 0627 kevin-TKIP
u8 group_tx_mic_key[8];
u8 group_rx_mic_key[8];
// #ifdef _WPA_
u8 AssocReqVarIE[200];
u8 AssocRespVarIE[200];
u16 AssocReqVarLen;
u16 AssocRespVarLen;
u8 boReassoc; //use assoc. or reassoc.
u8 reserved_6[3];
u16 AssocRespCapability;
u16 AssocRespStatus;
// #endif
#ifdef _WPA2_
u8 PmkIdTable[256];
u32 PmkidTableIndex;
#endif //end def _WPA2_
} SME_PARAMETERS, *PSME_PARAMETERS;
#define psSME (&(adapter->sSmePara))
#define wSMEGetCurrentSTAState(adapter) ((u16)(adapter)->sSmePara.wState)
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// SmeModule.h
// Define the related definitions of SME module
// history -- 01/14/03' created
//
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//Define the state of SME module
#define DISABLED 0
#define INIT_SCAN 1
#define SCAN_READY 2
#define START_IBSS 3
#define JOIN_PENDING 4
#define JOIN_CFM 5
#define AUTHENTICATE_PENDING 6
#define AUTHENTICATED 7
#define CONNECTED 8
//#define EAP_STARTING 9
//#define EAPOL_AUTHEN_PENDING 10
//#define SECURE_CONNECTED 11
// Static function
#endif
//
// Only define one of follow
//
#ifdef WB_WIN
#define VER_FILEVERSION 1,00,47,00
#define VER_FILEVERSION_STR "1.00.47.00"
#define WB32_DRIVER_MAJOR_VERSION 0x0100
#define WB32_DRIVER_MINOR_VERSION 0x4700
#endif
#ifdef WB_CE
#define VER_FILEVERSION 2,00,47,00
#define VER_FILEVERSION_STR "2.00.47.00"
#define WB32_DRIVER_MAJOR_VERSION 0x0200
#define WB32_DRIVER_MINOR_VERSION 0x4700
#endif
#ifdef WB_LINUX
#define VER_FILEVERSION 3,00,47,00
#define VER_FILEVERSION_STR "3.00.47.00"
#define WB32_DRIVER_MAJOR_VERSION 0x0300
#define WB32_DRIVER_MINOR_VERSION 0x4700
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册