Commit 221cf98c authored by Igor Bezukh's avatar Igor Bezukh Committed by Greg Kroah-Hartman

Staging: vt6655: Removed redundant comments and newlines

Removed redundant comments and newlines from 80211mgr.h header file.
Signed-off-by: default avatarIgor Bezukh <igbzkh@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5a0232ae
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
#include "ttype.h" #include "ttype.h"
#include "80211hdr.h" #include "80211hdr.h"
/*--------------------- Export Definitions -------------------------*/
#define WLAN_MIN_ARRAY 1 #define WLAN_MIN_ARRAY 1
/* Information Element ID value */ /* Information Element ID value */
...@@ -202,12 +200,6 @@ ...@@ -202,12 +200,6 @@
#define MEASURE_MODE_INCAPABLE 0x02 #define MEASURE_MODE_INCAPABLE 0x02
#define MEASURE_MODE_REFUSED 0x04 #define MEASURE_MODE_REFUSED 0x04
/*--------------------- Export Classes ----------------------------*/
/*--------------------- Export Variables --------------------------*/
/*--------------------- Export Types ------------------------------*/
/* Information Element Types */ /* Information Element Types */
#pragma pack(1) #pragma pack(1)
...@@ -472,14 +464,11 @@ typedef struct tagWLAN_FR_BEACON { ...@@ -472,14 +464,11 @@ typedef struct tagWLAN_FR_BEACON {
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/* fixed fields */
PQWORD pqwTimestamp; PQWORD pqwTimestamp;
unsigned short *pwBeaconInterval; unsigned short *pwBeaconInterval;
unsigned short *pwCapInfo; unsigned short *pwCapInfo;
/*-- 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_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;
...@@ -501,10 +490,6 @@ typedef struct tagWLAN_FR_IBSSATIM { ...@@ -501,10 +490,6 @@ typedef struct tagWLAN_FR_IBSSATIM {
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/* fixed fields */
/* info elements */
/* this frame type has a null body */
} WLAN_FR_IBSSATIM, *PWLAN_FR_IBSSATIM; } WLAN_FR_IBSSATIM, *PWLAN_FR_IBSSATIM;
/* Disassociation */ /* Disassociation */
...@@ -513,9 +498,7 @@ typedef struct tagWLAN_FR_DISASSOC { ...@@ -513,9 +498,7 @@ typedef struct tagWLAN_FR_DISASSOC {
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/
unsigned short *pwReason; unsigned short *pwReason;
/*-- info elements ----------*/
} WLAN_FR_DISASSOC, *PWLAN_FR_DISASSOC; } WLAN_FR_DISASSOC, *PWLAN_FR_DISASSOC;
/* Association Request */ /* Association Request */
...@@ -524,10 +507,8 @@ typedef struct tagWLAN_FR_ASSOCREQ { ...@@ -524,10 +507,8 @@ typedef struct tagWLAN_FR_ASSOCREQ {
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/
unsigned short *pwCapInfo; unsigned short *pwCapInfo;
unsigned short *pwListenInterval; unsigned short *pwListenInterval;
/*-- 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;
...@@ -543,11 +524,9 @@ typedef struct tagWLAN_FR_ASSOCRESP { ...@@ -543,11 +524,9 @@ typedef struct tagWLAN_FR_ASSOCRESP {
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/
unsigned short *pwCapInfo; unsigned short *pwCapInfo;
unsigned short *pwStatus; unsigned short *pwStatus;
unsigned short *pwAid; unsigned short *pwAid;
/*-- 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;
...@@ -558,13 +537,9 @@ typedef struct tagWLAN_FR_REASSOCREQ { ...@@ -558,13 +537,9 @@ typedef struct tagWLAN_FR_REASSOCREQ {
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/
unsigned short *pwCapInfo; unsigned short *pwCapInfo;
unsigned short *pwListenInterval; unsigned short *pwListenInterval;
PIEEE_ADDR pAddrCurrAP; PIEEE_ADDR pAddrCurrAP;
/*-- 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;
...@@ -578,11 +553,9 @@ typedef struct tagWLAN_FR_REASSOCRESP { ...@@ -578,11 +553,9 @@ typedef struct tagWLAN_FR_REASSOCRESP {
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/
unsigned short *pwCapInfo; unsigned short *pwCapInfo;
unsigned short *pwStatus; unsigned short *pwStatus;
unsigned short *pwAid; unsigned short *pwAid;
/*-- 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;
...@@ -593,8 +566,6 @@ typedef struct tagWLAN_FR_PROBEREQ { ...@@ -593,8 +566,6 @@ typedef struct tagWLAN_FR_PROBEREQ {
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/
/*-- 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;
...@@ -606,11 +577,9 @@ typedef struct tagWLAN_FR_PROBERESP { ...@@ -606,11 +577,9 @@ typedef struct tagWLAN_FR_PROBERESP {
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/
PQWORD pqwTimestamp; PQWORD pqwTimestamp;
unsigned short *pwBeaconInterval; unsigned short *pwBeaconInterval;
unsigned short *pwCapInfo; unsigned short *pwCapInfo;
/*-- 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;
...@@ -633,11 +602,9 @@ typedef struct tagWLAN_FR_AUTHEN { ...@@ -633,11 +602,9 @@ typedef struct tagWLAN_FR_AUTHEN {
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/
unsigned short *pwAuthAlgorithm; unsigned short *pwAuthAlgorithm;
unsigned short *pwAuthSequence; unsigned short *pwAuthSequence;
unsigned short *pwStatus; unsigned short *pwStatus;
/*-- info elements ----------*/
PWLAN_IE_CHALLENGE pChallenge; PWLAN_IE_CHALLENGE pChallenge;
} WLAN_FR_AUTHEN, *PWLAN_FR_AUTHEN; } WLAN_FR_AUTHEN, *PWLAN_FR_AUTHEN;
...@@ -647,14 +614,9 @@ typedef struct tagWLAN_FR_DEAUTHEN { ...@@ -647,14 +614,9 @@ typedef struct tagWLAN_FR_DEAUTHEN {
unsigned int len; unsigned int len;
unsigned char *pBuf; unsigned char *pBuf;
PUWLAN_80211HDR pHdr; PUWLAN_80211HDR pHdr;
/*-- fixed fields -----------*/
unsigned short *pwReason; unsigned short *pwReason;
/*-- info elements ----------*/
} WLAN_FR_DEAUTHEN, *PWLAN_FR_DEAUTHEN; } WLAN_FR_DEAUTHEN, *PWLAN_FR_DEAUTHEN;
/*--------------------- Export Functions --------------------------*/
void void
vMgrEncodeBeacon( vMgrEncodeBeacon(
PWLAN_FR_BEACON pFrame PWLAN_FR_BEACON pFrame
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment