staging:vt6655:80211mgr: Whitespace cleanups

Neatening only.
git diff -w shows no differences.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Joe Perches 2013-03-18 10:44:35 -07:00 committed by Greg Kroah-Hartman
parent d74e97699a
commit ab4622cca5
2 changed files with 827 additions and 827 deletions

File diff suppressed because it is too large Load diff

View file

@ -230,29 +230,29 @@
#pragma pack(1) #pragma pack(1)
typedef struct tagWLAN_IE { typedef struct tagWLAN_IE {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
}__attribute__ ((__packed__)) } __attribute__ ((__packed__))
WLAN_IE, *PWLAN_IE; WLAN_IE, *PWLAN_IE;
// Service Set Identity (SSID) // Service Set Identity (SSID)
#pragma pack(1) #pragma pack(1)
typedef struct tagWLAN_IE_SSID { typedef struct tagWLAN_IE_SSID {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char abySSID[1]; unsigned char abySSID[1];
}__attribute__ ((__packed__)) } __attribute__ ((__packed__))
WLAN_IE_SSID, *PWLAN_IE_SSID; WLAN_IE_SSID, *PWLAN_IE_SSID;
// Supported Rates // Supported Rates
#pragma pack(1) #pragma pack(1)
typedef struct tagWLAN_IE_SUPP_RATES { typedef struct tagWLAN_IE_SUPP_RATES {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char abyRates[1]; unsigned char abyRates[1];
}__attribute__ ((__packed__)) } __attribute__ ((__packed__))
WLAN_IE_SUPP_RATES, *PWLAN_IE_SUPP_RATES; WLAN_IE_SUPP_RATES, *PWLAN_IE_SUPP_RATES;
@ -260,231 +260,231 @@ WLAN_IE_SUPP_RATES, *PWLAN_IE_SUPP_RATES;
// FH Parameter Set // FH Parameter Set
#pragma pack(1) #pragma pack(1)
typedef struct _WLAN_IE_FH_PARMS { typedef struct _WLAN_IE_FH_PARMS {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned short wDwellTime; unsigned short wDwellTime;
unsigned char byHopSet; unsigned char byHopSet;
unsigned char byHopPattern; unsigned char byHopPattern;
unsigned char byHopIndex; unsigned char byHopIndex;
} WLAN_IE_FH_PARMS, *PWLAN_IE_FH_PARMS; } WLAN_IE_FH_PARMS, *PWLAN_IE_FH_PARMS;
// DS Parameter Set // DS Parameter Set
#pragma pack(1) #pragma pack(1)
typedef struct tagWLAN_IE_DS_PARMS { typedef struct tagWLAN_IE_DS_PARMS {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char byCurrChannel; unsigned char byCurrChannel;
}__attribute__ ((__packed__)) } __attribute__ ((__packed__))
WLAN_IE_DS_PARMS, *PWLAN_IE_DS_PARMS; WLAN_IE_DS_PARMS, *PWLAN_IE_DS_PARMS;
// CF Parameter Set // CF Parameter Set
#pragma pack(1) #pragma pack(1)
typedef struct tagWLAN_IE_CF_PARMS { typedef struct tagWLAN_IE_CF_PARMS {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char byCFPCount; unsigned char byCFPCount;
unsigned char byCFPPeriod; unsigned char byCFPPeriod;
unsigned short wCFPMaxDuration; unsigned short wCFPMaxDuration;
unsigned short wCFPDurRemaining; unsigned short wCFPDurRemaining;
}__attribute__ ((__packed__)) } __attribute__ ((__packed__))
WLAN_IE_CF_PARMS, *PWLAN_IE_CF_PARMS; WLAN_IE_CF_PARMS, *PWLAN_IE_CF_PARMS;
// TIM // TIM
#pragma pack(1) #pragma pack(1)
typedef struct tagWLAN_IE_TIM { typedef struct tagWLAN_IE_TIM {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char byDTIMCount; unsigned char byDTIMCount;
unsigned char byDTIMPeriod; unsigned char byDTIMPeriod;
unsigned char byBitMapCtl; unsigned char byBitMapCtl;
unsigned char byVirtBitMap[1]; unsigned char byVirtBitMap[1];
}__attribute__ ((__packed__)) } __attribute__ ((__packed__))
WLAN_IE_TIM, *PWLAN_IE_TIM; WLAN_IE_TIM, *PWLAN_IE_TIM;
// IBSS Parameter Set // IBSS Parameter Set
#pragma pack(1) #pragma pack(1)
typedef struct tagWLAN_IE_IBSS_PARMS { typedef struct tagWLAN_IE_IBSS_PARMS {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned short wATIMWindow; unsigned short wATIMWindow;
}__attribute__ ((__packed__)) } __attribute__ ((__packed__))
WLAN_IE_IBSS_PARMS, *PWLAN_IE_IBSS_PARMS; WLAN_IE_IBSS_PARMS, *PWLAN_IE_IBSS_PARMS;
// Challenge Text // Challenge Text
#pragma pack(1) #pragma pack(1)
typedef struct tagWLAN_IE_CHALLENGE { typedef struct tagWLAN_IE_CHALLENGE {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char abyChallenge[1]; unsigned char abyChallenge[1];
}__attribute__ ((__packed__)) } __attribute__ ((__packed__))
WLAN_IE_CHALLENGE, *PWLAN_IE_CHALLENGE; WLAN_IE_CHALLENGE, *PWLAN_IE_CHALLENGE;
#pragma pack(1) #pragma pack(1)
typedef struct tagWLAN_IE_RSN_EXT { typedef struct tagWLAN_IE_RSN_EXT {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char abyOUI[4]; unsigned char abyOUI[4];
unsigned short wVersion; unsigned short wVersion;
unsigned char abyMulticast[4]; unsigned char abyMulticast[4];
unsigned short wPKCount; unsigned short wPKCount;
struct { struct {
unsigned char abyOUI[4]; unsigned char abyOUI[4];
} PKSList[1]; // the rest is variable so need to } PKSList[1]; // the rest is variable so need to
// overlay ieauth structure // overlay ieauth structure
} WLAN_IE_RSN_EXT, *PWLAN_IE_RSN_EXT; } WLAN_IE_RSN_EXT, *PWLAN_IE_RSN_EXT;
#pragma pack(1) #pragma pack(1)
typedef struct tagWLAN_IE_RSN_AUTH { typedef struct tagWLAN_IE_RSN_AUTH {
unsigned short wAuthCount; unsigned short wAuthCount;
struct { struct {
unsigned char abyOUI[4]; unsigned char abyOUI[4];
} AuthKSList[1]; } AuthKSList[1];
} WLAN_IE_RSN_AUTH, *PWLAN_IE_RSN_AUTH; } WLAN_IE_RSN_AUTH, *PWLAN_IE_RSN_AUTH;
// RSN Identity // RSN Identity
#pragma pack(1) #pragma pack(1)
typedef struct tagWLAN_IE_RSN { typedef struct tagWLAN_IE_RSN {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned short wVersion; unsigned short wVersion;
unsigned char abyRSN[WLAN_MIN_ARRAY]; unsigned char abyRSN[WLAN_MIN_ARRAY];
} WLAN_IE_RSN, *PWLAN_IE_RSN; } WLAN_IE_RSN, *PWLAN_IE_RSN;
// ERP // ERP
#pragma pack(1) #pragma pack(1)
typedef struct tagWLAN_IE_ERP { typedef struct tagWLAN_IE_ERP {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char byContext; unsigned char byContext;
}__attribute__ ((__packed__)) } __attribute__ ((__packed__))
WLAN_IE_ERP, *PWLAN_IE_ERP; WLAN_IE_ERP, *PWLAN_IE_ERP;
#pragma pack(1) #pragma pack(1)
typedef struct _MEASEURE_REQ { typedef struct _MEASEURE_REQ {
unsigned char byChannel; unsigned char byChannel;
unsigned char abyStartTime[8]; unsigned char abyStartTime[8];
unsigned char abyDuration[2]; unsigned char abyDuration[2];
} MEASEURE_REQ, *PMEASEURE_REQ, } MEASEURE_REQ, *PMEASEURE_REQ,
MEASEURE_REQ_BASIC, *PMEASEURE_REQ_BASIC, MEASEURE_REQ_BASIC, *PMEASEURE_REQ_BASIC,
MEASEURE_REQ_CCA, *PMEASEURE_REQ_CCA, MEASEURE_REQ_CCA, *PMEASEURE_REQ_CCA,
MEASEURE_REQ_RPI, *PMEASEURE_REQ_RPI; MEASEURE_REQ_RPI, *PMEASEURE_REQ_RPI;
typedef struct _MEASEURE_REP_BASIC { typedef struct _MEASEURE_REP_BASIC {
unsigned char byChannel; unsigned char byChannel;
unsigned char abyStartTime[8]; unsigned char abyStartTime[8];
unsigned char abyDuration[2]; unsigned char abyDuration[2];
unsigned char byMap; unsigned char byMap;
} MEASEURE_REP_BASIC, *PMEASEURE_REP_BASIC; } MEASEURE_REP_BASIC, *PMEASEURE_REP_BASIC;
typedef struct _MEASEURE_REP_CCA { typedef struct _MEASEURE_REP_CCA {
unsigned char byChannel; unsigned char byChannel;
unsigned char abyStartTime[8]; unsigned char abyStartTime[8];
unsigned char abyDuration[2]; unsigned char abyDuration[2];
unsigned char byCCABusyFraction; unsigned char byCCABusyFraction;
} MEASEURE_REP_CCA, *PMEASEURE_REP_CCA; } MEASEURE_REP_CCA, *PMEASEURE_REP_CCA;
typedef struct _MEASEURE_REP_RPI { typedef struct _MEASEURE_REP_RPI {
unsigned char byChannel; unsigned char byChannel;
unsigned char abyStartTime[8]; unsigned char abyStartTime[8];
unsigned char abyDuration[2]; unsigned char abyDuration[2];
unsigned char abyRPIdensity[8]; unsigned char abyRPIdensity[8];
} MEASEURE_REP_RPI, *PMEASEURE_REP_RPI; } MEASEURE_REP_RPI, *PMEASEURE_REP_RPI;
typedef union _MEASEURE_REP { typedef union _MEASEURE_REP {
MEASEURE_REP_BASIC sBasic; MEASEURE_REP_BASIC sBasic;
MEASEURE_REP_CCA sCCA; MEASEURE_REP_CCA sCCA;
MEASEURE_REP_RPI sRPI; MEASEURE_REP_RPI sRPI;
} MEASEURE_REP, *PMEASEURE_REP; } MEASEURE_REP, *PMEASEURE_REP;
typedef struct _WLAN_IE_MEASURE_REQ { typedef struct _WLAN_IE_MEASURE_REQ {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char byToken; unsigned char byToken;
unsigned char byMode; unsigned char byMode;
unsigned char byType; unsigned char byType;
MEASEURE_REQ sReq; MEASEURE_REQ sReq;
} WLAN_IE_MEASURE_REQ, *PWLAN_IE_MEASURE_REQ; } WLAN_IE_MEASURE_REQ, *PWLAN_IE_MEASURE_REQ;
typedef struct _WLAN_IE_MEASURE_REP { typedef struct _WLAN_IE_MEASURE_REP {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char byToken; unsigned char byToken;
unsigned char byMode; unsigned char byMode;
unsigned char byType; unsigned char byType;
MEASEURE_REP sRep; MEASEURE_REP sRep;
} WLAN_IE_MEASURE_REP, *PWLAN_IE_MEASURE_REP; } WLAN_IE_MEASURE_REP, *PWLAN_IE_MEASURE_REP;
typedef struct _WLAN_IE_CH_SW { typedef struct _WLAN_IE_CH_SW {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char byMode; unsigned char byMode;
unsigned char byChannel; unsigned char byChannel;
unsigned char byCount; unsigned char byCount;
} WLAN_IE_CH_SW, *PWLAN_IE_CH_SW; } WLAN_IE_CH_SW, *PWLAN_IE_CH_SW;
typedef struct _WLAN_IE_QUIET { typedef struct _WLAN_IE_QUIET {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char byQuietCount; unsigned char byQuietCount;
unsigned char byQuietPeriod; unsigned char byQuietPeriod;
unsigned char abyQuietDuration[2]; unsigned char abyQuietDuration[2];
unsigned char abyQuietOffset[2]; unsigned char abyQuietOffset[2];
} WLAN_IE_QUIET, *PWLAN_IE_QUIET; } WLAN_IE_QUIET, *PWLAN_IE_QUIET;
typedef struct _WLAN_IE_COUNTRY { typedef struct _WLAN_IE_COUNTRY {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char abyCountryString[3]; unsigned char abyCountryString[3];
unsigned char abyCountryInfo[3]; unsigned char abyCountryInfo[3];
} WLAN_IE_COUNTRY, *PWLAN_IE_COUNTRY; } WLAN_IE_COUNTRY, *PWLAN_IE_COUNTRY;
typedef struct _WLAN_IE_PW_CONST { typedef struct _WLAN_IE_PW_CONST {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char byPower; unsigned char byPower;
} WLAN_IE_PW_CONST, *PWLAN_IE_PW_CONST; } WLAN_IE_PW_CONST, *PWLAN_IE_PW_CONST;
typedef struct _WLAN_IE_PW_CAP { typedef struct _WLAN_IE_PW_CAP {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char byMinPower; unsigned char byMinPower;
unsigned char byMaxPower; unsigned char byMaxPower;
} WLAN_IE_PW_CAP, *PWLAN_IE_PW_CAP; } WLAN_IE_PW_CAP, *PWLAN_IE_PW_CAP;
typedef struct _WLAN_IE_SUPP_CH { typedef struct _WLAN_IE_SUPP_CH {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char abyChannelTuple[2]; unsigned char abyChannelTuple[2];
} WLAN_IE_SUPP_CH, *PWLAN_IE_SUPP_CH; } WLAN_IE_SUPP_CH, *PWLAN_IE_SUPP_CH;
typedef struct _WLAN_IE_TPC_REQ { typedef struct _WLAN_IE_TPC_REQ {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
} WLAN_IE_TPC_REQ, *PWLAN_IE_TPC_REQ; } WLAN_IE_TPC_REQ, *PWLAN_IE_TPC_REQ;
typedef struct _WLAN_IE_TPC_REP { typedef struct _WLAN_IE_TPC_REP {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char byTxPower; unsigned char byTxPower;
unsigned char byLinkMargin; unsigned char byLinkMargin;
} WLAN_IE_TPC_REP, *PWLAN_IE_TPC_REP; } WLAN_IE_TPC_REP, *PWLAN_IE_TPC_REP;
typedef struct _WLAN_IE_IBSS_DFS { typedef struct _WLAN_IE_IBSS_DFS {
unsigned char byElementID; unsigned char byElementID;
unsigned char len; unsigned char len;
unsigned char abyDFSOwner[6]; unsigned char abyDFSOwner[6];
unsigned char byDFSRecovery; unsigned char byDFSRecovery;
unsigned char abyChannelMap[2]; unsigned char abyChannelMap[2];
} WLAN_IE_IBSS_DFS, *PWLAN_IE_IBSS_DFS; } WLAN_IE_IBSS_DFS, *PWLAN_IE_IBSS_DFS;
#pragma pack() #pragma pack()
@ -495,41 +495,41 @@ typedef struct _WLAN_IE_IBSS_DFS {
// prototype structure, all mgmt frame types will start with these members // prototype structure, all mgmt frame types will start with these members
typedef struct tagWLAN_FR_MGMT { typedef struct tagWLAN_FR_MGMT {
unsigned int uType; unsigned int uType;
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
} WLAN_FR_MGMT, *PWLAN_FR_MGMT; } WLAN_FR_MGMT, *PWLAN_FR_MGMT;
// Beacon frame // Beacon frame
typedef struct tagWLAN_FR_BEACON { typedef struct tagWLAN_FR_BEACON {
unsigned int uType; unsigned int uType;
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
// fixed fields // fixed fields
PQWORD pqwTimestamp; PQWORD pqwTimestamp;
unsigned short *pwBeaconInterval; unsigned short *pwBeaconInterval;
unsigned short *pwCapInfo; unsigned short *pwCapInfo;
/*-- info elements ----------*/ /*-- info elements ----------*/
PWLAN_IE_SSID pSSID; PWLAN_IE_SSID pSSID;
PWLAN_IE_SUPP_RATES pSuppRates; PWLAN_IE_SUPP_RATES pSuppRates;
// PWLAN_IE_FH_PARMS pFHParms; // PWLAN_IE_FH_PARMS pFHParms;
PWLAN_IE_DS_PARMS pDSParms; PWLAN_IE_DS_PARMS pDSParms;
PWLAN_IE_CF_PARMS pCFParms; PWLAN_IE_CF_PARMS pCFParms;
PWLAN_IE_TIM pTIM; PWLAN_IE_TIM pTIM;
PWLAN_IE_IBSS_PARMS pIBSSParms; PWLAN_IE_IBSS_PARMS pIBSSParms;
PWLAN_IE_RSN pRSN; PWLAN_IE_RSN pRSN;
PWLAN_IE_RSN_EXT pRSNWPA; PWLAN_IE_RSN_EXT pRSNWPA;
PWLAN_IE_ERP pERP; PWLAN_IE_ERP pERP;
PWLAN_IE_SUPP_RATES pExtSuppRates; PWLAN_IE_SUPP_RATES pExtSuppRates;
PWLAN_IE_COUNTRY pIE_Country; PWLAN_IE_COUNTRY pIE_Country;
PWLAN_IE_PW_CONST pIE_PowerConstraint; PWLAN_IE_PW_CONST pIE_PowerConstraint;
PWLAN_IE_CH_SW pIE_CHSW; PWLAN_IE_CH_SW pIE_CHSW;
PWLAN_IE_IBSS_DFS pIE_IBSSDFS; PWLAN_IE_IBSS_DFS pIE_IBSSDFS;
PWLAN_IE_QUIET pIE_Quiet; PWLAN_IE_QUIET pIE_Quiet;
} WLAN_FR_BEACON, *PWLAN_FR_BEACON; } WLAN_FR_BEACON, *PWLAN_FR_BEACON;
@ -537,178 +537,178 @@ typedef struct tagWLAN_FR_BEACON {
// IBSS ATIM frame // IBSS ATIM frame
typedef struct tagWLAN_FR_IBSSATIM { typedef struct tagWLAN_FR_IBSSATIM {
unsigned int uType; unsigned int uType;
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
// fixed fields // fixed fields
// info elements // info elements
// this frame type has a null body // this frame type has a null body
} WLAN_FR_IBSSATIM, *PWLAN_FR_IBSSATIM; } WLAN_FR_IBSSATIM, *PWLAN_FR_IBSSATIM;
// Disassociation // Disassociation
typedef struct tagWLAN_FR_DISASSOC { typedef struct tagWLAN_FR_DISASSOC {
unsigned int uType; unsigned int uType;
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/ /*-- fixed fields -----------*/
unsigned short *pwReason; unsigned short *pwReason;
/*-- info elements ----------*/ /*-- info elements ----------*/
} WLAN_FR_DISASSOC, *PWLAN_FR_DISASSOC; } WLAN_FR_DISASSOC, *PWLAN_FR_DISASSOC;
// Association Request // Association Request
typedef struct tagWLAN_FR_ASSOCREQ { typedef struct tagWLAN_FR_ASSOCREQ {
unsigned int uType; unsigned int uType;
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/ /*-- fixed fields -----------*/
unsigned short *pwCapInfo; unsigned short *pwCapInfo;
unsigned short *pwListenInterval; unsigned short *pwListenInterval;
/*-- info elements ----------*/ /*-- info elements ----------*/
PWLAN_IE_SSID pSSID; PWLAN_IE_SSID pSSID;
PWLAN_IE_SUPP_RATES pSuppRates; PWLAN_IE_SUPP_RATES pSuppRates;
PWLAN_IE_RSN pRSN; PWLAN_IE_RSN pRSN;
PWLAN_IE_RSN_EXT pRSNWPA; PWLAN_IE_RSN_EXT pRSNWPA;
PWLAN_IE_SUPP_RATES pExtSuppRates; PWLAN_IE_SUPP_RATES pExtSuppRates;
PWLAN_IE_PW_CAP pCurrPowerCap; PWLAN_IE_PW_CAP pCurrPowerCap;
PWLAN_IE_SUPP_CH pCurrSuppCh; PWLAN_IE_SUPP_CH pCurrSuppCh;
} WLAN_FR_ASSOCREQ, *PWLAN_FR_ASSOCREQ; } WLAN_FR_ASSOCREQ, *PWLAN_FR_ASSOCREQ;
// Association Response // Association Response
typedef struct tagWLAN_FR_ASSOCRESP { typedef struct tagWLAN_FR_ASSOCRESP {
unsigned int uType; unsigned int uType;
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/ /*-- fixed fields -----------*/
unsigned short *pwCapInfo; unsigned short *pwCapInfo;
unsigned short *pwStatus; unsigned short *pwStatus;
unsigned short *pwAid; unsigned short *pwAid;
/*-- info elements ----------*/ /*-- info elements ----------*/
PWLAN_IE_SUPP_RATES pSuppRates; PWLAN_IE_SUPP_RATES pSuppRates;
PWLAN_IE_SUPP_RATES pExtSuppRates; PWLAN_IE_SUPP_RATES pExtSuppRates;
} WLAN_FR_ASSOCRESP, *PWLAN_FR_ASSOCRESP; } WLAN_FR_ASSOCRESP, *PWLAN_FR_ASSOCRESP;
// Reassociation Request // Reassociation Request
typedef struct tagWLAN_FR_REASSOCREQ { typedef struct tagWLAN_FR_REASSOCREQ {
unsigned int uType; unsigned int uType;
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/ /*-- fixed fields -----------*/
unsigned short *pwCapInfo; unsigned short *pwCapInfo;
unsigned short *pwListenInterval; unsigned short *pwListenInterval;
PIEEE_ADDR pAddrCurrAP; PIEEE_ADDR pAddrCurrAP;
/*-- info elements ----------*/ /*-- info elements ----------*/
PWLAN_IE_SSID pSSID; PWLAN_IE_SSID pSSID;
PWLAN_IE_SUPP_RATES pSuppRates; PWLAN_IE_SUPP_RATES pSuppRates;
PWLAN_IE_RSN pRSN; PWLAN_IE_RSN pRSN;
PWLAN_IE_RSN_EXT pRSNWPA; PWLAN_IE_RSN_EXT pRSNWPA;
PWLAN_IE_SUPP_RATES pExtSuppRates; PWLAN_IE_SUPP_RATES pExtSuppRates;
} WLAN_FR_REASSOCREQ, *PWLAN_FR_REASSOCREQ; } WLAN_FR_REASSOCREQ, *PWLAN_FR_REASSOCREQ;
// Reassociation Response // Reassociation Response
typedef struct tagWLAN_FR_REASSOCRESP { typedef struct tagWLAN_FR_REASSOCRESP {
unsigned int uType; unsigned int uType;
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/ /*-- fixed fields -----------*/
unsigned short *pwCapInfo; unsigned short *pwCapInfo;
unsigned short *pwStatus; unsigned short *pwStatus;
unsigned short *pwAid; unsigned short *pwAid;
/*-- info elements ----------*/ /*-- info elements ----------*/
PWLAN_IE_SUPP_RATES pSuppRates; PWLAN_IE_SUPP_RATES pSuppRates;
PWLAN_IE_SUPP_RATES pExtSuppRates; PWLAN_IE_SUPP_RATES pExtSuppRates;
} WLAN_FR_REASSOCRESP, *PWLAN_FR_REASSOCRESP; } WLAN_FR_REASSOCRESP, *PWLAN_FR_REASSOCRESP;
// Probe Request // Probe Request
typedef struct tagWLAN_FR_PROBEREQ { typedef struct tagWLAN_FR_PROBEREQ {
unsigned int uType; unsigned int uType;
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/ /*-- fixed fields -----------*/
/*-- info elements ----------*/ /*-- info elements ----------*/
PWLAN_IE_SSID pSSID; PWLAN_IE_SSID pSSID;
PWLAN_IE_SUPP_RATES pSuppRates; PWLAN_IE_SUPP_RATES pSuppRates;
PWLAN_IE_SUPP_RATES pExtSuppRates; PWLAN_IE_SUPP_RATES pExtSuppRates;
} WLAN_FR_PROBEREQ, *PWLAN_FR_PROBEREQ; } WLAN_FR_PROBEREQ, *PWLAN_FR_PROBEREQ;
// Probe Response // Probe Response
typedef struct tagWLAN_FR_PROBERESP { typedef struct tagWLAN_FR_PROBERESP {
unsigned int uType; unsigned int uType;
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/ /*-- fixed fields -----------*/
PQWORD pqwTimestamp; PQWORD pqwTimestamp;
unsigned short *pwBeaconInterval; unsigned short *pwBeaconInterval;
unsigned short *pwCapInfo; unsigned short *pwCapInfo;
/*-- info elements ----------*/ /*-- info elements ----------*/
PWLAN_IE_SSID pSSID; PWLAN_IE_SSID pSSID;
PWLAN_IE_SUPP_RATES pSuppRates; PWLAN_IE_SUPP_RATES pSuppRates;
PWLAN_IE_DS_PARMS pDSParms; PWLAN_IE_DS_PARMS pDSParms;
PWLAN_IE_CF_PARMS pCFParms; PWLAN_IE_CF_PARMS pCFParms;
PWLAN_IE_IBSS_PARMS pIBSSParms; PWLAN_IE_IBSS_PARMS pIBSSParms;
PWLAN_IE_RSN pRSN; PWLAN_IE_RSN pRSN;
PWLAN_IE_RSN_EXT pRSNWPA; PWLAN_IE_RSN_EXT pRSNWPA;
PWLAN_IE_ERP pERP; PWLAN_IE_ERP pERP;
PWLAN_IE_SUPP_RATES pExtSuppRates; PWLAN_IE_SUPP_RATES pExtSuppRates;
PWLAN_IE_COUNTRY pIE_Country; PWLAN_IE_COUNTRY pIE_Country;
PWLAN_IE_PW_CONST pIE_PowerConstraint; PWLAN_IE_PW_CONST pIE_PowerConstraint;
PWLAN_IE_CH_SW pIE_CHSW; PWLAN_IE_CH_SW pIE_CHSW;
PWLAN_IE_IBSS_DFS pIE_IBSSDFS; PWLAN_IE_IBSS_DFS pIE_IBSSDFS;
PWLAN_IE_QUIET pIE_Quiet; PWLAN_IE_QUIET pIE_Quiet;
} WLAN_FR_PROBERESP, *PWLAN_FR_PROBERESP; } WLAN_FR_PROBERESP, *PWLAN_FR_PROBERESP;
// Authentication // Authentication
typedef struct tagWLAN_FR_AUTHEN { typedef struct tagWLAN_FR_AUTHEN {
unsigned int uType; unsigned int uType;
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/ /*-- fixed fields -----------*/
unsigned short *pwAuthAlgorithm; unsigned short *pwAuthAlgorithm;
unsigned short *pwAuthSequence; unsigned short *pwAuthSequence;
unsigned short *pwStatus; unsigned short *pwStatus;
/*-- info elements ----------*/ /*-- info elements ----------*/
PWLAN_IE_CHALLENGE pChallenge; PWLAN_IE_CHALLENGE pChallenge;
} WLAN_FR_AUTHEN, *PWLAN_FR_AUTHEN; } WLAN_FR_AUTHEN, *PWLAN_FR_AUTHEN;
// Deauthenication // Deauthenication
typedef struct tagWLAN_FR_DEAUTHEN { typedef struct tagWLAN_FR_DEAUTHEN {
unsigned int uType; unsigned int uType;
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/ /*-- fixed fields -----------*/
unsigned short *pwReason; unsigned short *pwReason;
/*-- info elements ----------*/ /*-- info elements ----------*/
} WLAN_FR_DEAUTHEN, *PWLAN_FR_DEAUTHEN; } WLAN_FR_DEAUTHEN, *PWLAN_FR_DEAUTHEN;
@ -716,112 +716,112 @@ typedef struct tagWLAN_FR_DEAUTHEN {
void void
vMgrEncodeBeacon( vMgrEncodeBeacon(
PWLAN_FR_BEACON pFrame PWLAN_FR_BEACON pFrame
); );
void void
vMgrDecodeBeacon( vMgrDecodeBeacon(
PWLAN_FR_BEACON pFrame PWLAN_FR_BEACON pFrame
); );
void void
vMgrEncodeIBSSATIM( vMgrEncodeIBSSATIM(
PWLAN_FR_IBSSATIM pFrame PWLAN_FR_IBSSATIM pFrame
); );
void void
vMgrDecodeIBSSATIM( vMgrDecodeIBSSATIM(
PWLAN_FR_IBSSATIM pFrame PWLAN_FR_IBSSATIM pFrame
); );
void void
vMgrEncodeDisassociation( vMgrEncodeDisassociation(
PWLAN_FR_DISASSOC pFrame PWLAN_FR_DISASSOC pFrame
); );
void void
vMgrDecodeDisassociation( vMgrDecodeDisassociation(
PWLAN_FR_DISASSOC pFrame PWLAN_FR_DISASSOC pFrame
); );
void void
vMgrEncodeAssocRequest( vMgrEncodeAssocRequest(
PWLAN_FR_ASSOCREQ pFrame PWLAN_FR_ASSOCREQ pFrame
); );
void void
vMgrDecodeAssocRequest( vMgrDecodeAssocRequest(
PWLAN_FR_ASSOCREQ pFrame PWLAN_FR_ASSOCREQ pFrame
); );
void void
vMgrEncodeAssocResponse( vMgrEncodeAssocResponse(
PWLAN_FR_ASSOCRESP pFrame PWLAN_FR_ASSOCRESP pFrame
); );
void void
vMgrDecodeAssocResponse( vMgrDecodeAssocResponse(
PWLAN_FR_ASSOCRESP pFrame PWLAN_FR_ASSOCRESP pFrame
); );
void void
vMgrEncodeReassocRequest( vMgrEncodeReassocRequest(
PWLAN_FR_REASSOCREQ pFrame PWLAN_FR_REASSOCREQ pFrame
); );
void void
vMgrDecodeReassocRequest( vMgrDecodeReassocRequest(
PWLAN_FR_REASSOCREQ pFrame PWLAN_FR_REASSOCREQ pFrame
); );
void void
vMgrEncodeProbeRequest( vMgrEncodeProbeRequest(
PWLAN_FR_PROBEREQ pFrame PWLAN_FR_PROBEREQ pFrame
); );
void void
vMgrDecodeProbeRequest( vMgrDecodeProbeRequest(
PWLAN_FR_PROBEREQ pFrame PWLAN_FR_PROBEREQ pFrame
); );
void void
vMgrEncodeProbeResponse( vMgrEncodeProbeResponse(
PWLAN_FR_PROBERESP pFrame PWLAN_FR_PROBERESP pFrame
); );
void void
vMgrDecodeProbeResponse( vMgrDecodeProbeResponse(
PWLAN_FR_PROBERESP pFrame PWLAN_FR_PROBERESP pFrame
); );
void void
vMgrEncodeAuthen( vMgrEncodeAuthen(
PWLAN_FR_AUTHEN pFrame PWLAN_FR_AUTHEN pFrame
); );
void void
vMgrDecodeAuthen( vMgrDecodeAuthen(
PWLAN_FR_AUTHEN pFrame PWLAN_FR_AUTHEN pFrame
); );
void void
vMgrEncodeDeauthen( vMgrEncodeDeauthen(
PWLAN_FR_DEAUTHEN pFrame PWLAN_FR_DEAUTHEN pFrame
); );
void void
vMgrDecodeDeauthen( vMgrDecodeDeauthen(
PWLAN_FR_DEAUTHEN pFrame PWLAN_FR_DEAUTHEN pFrame
); );
void void
vMgrEncodeReassocResponse( vMgrEncodeReassocResponse(
PWLAN_FR_REASSOCRESP pFrame PWLAN_FR_REASSOCRESP pFrame
); );
void void
vMgrDecodeReassocResponse( vMgrDecodeReassocResponse(
PWLAN_FR_REASSOCRESP pFrame PWLAN_FR_REASSOCRESP pFrame
); );
#endif// __80211MGR_H__ #endif// __80211MGR_H__