mirror of https://gitee.com/openkylin/linux.git
Staging: vt6655: remove redundant comments from bssdb.h
Removed redundant comments from bssdb.h header file. Signed-off-by: Igor Bezukh <igbzkh@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b9334c9f9a
commit
d83ba4a1f3
|
@ -35,8 +35,6 @@
|
||||||
#include "80211mgr.h"
|
#include "80211mgr.h"
|
||||||
#include "card.h"
|
#include "card.h"
|
||||||
|
|
||||||
/*--------------------- Export Definitions -------------------------*/
|
|
||||||
|
|
||||||
#define MAX_NODE_NUM 64
|
#define MAX_NODE_NUM 64
|
||||||
#define MAX_BSS_NUM 42
|
#define MAX_BSS_NUM 42
|
||||||
#define LOST_BEACON_COUNT 10 // 10 sec, XP defined
|
#define LOST_BEACON_COUNT 10 // 10 sec, XP defined
|
||||||
|
@ -67,12 +65,6 @@
|
||||||
|
|
||||||
#define MAX_WPA_IE_LEN 64
|
#define MAX_WPA_IE_LEN 64
|
||||||
|
|
||||||
/*--------------------- Export Classes ----------------------------*/
|
|
||||||
|
|
||||||
/*--------------------- Export Variables --------------------------*/
|
|
||||||
|
|
||||||
/*--------------------- Export Types ------------------------------*/
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// IEEE 802.11 Structures and definitions
|
// IEEE 802.11 Structures and definitions
|
||||||
//
|
//
|
||||||
|
@ -99,7 +91,6 @@ typedef struct tagSRSNCapObject {
|
||||||
// BSS info(AP)
|
// BSS info(AP)
|
||||||
#pragma pack(1)
|
#pragma pack(1)
|
||||||
typedef struct tagKnownBSS {
|
typedef struct tagKnownBSS {
|
||||||
// BSS info
|
|
||||||
bool bActive;
|
bool bActive;
|
||||||
unsigned char abyBSSID[WLAN_BSSID_LEN];
|
unsigned char abyBSSID[WLAN_BSSID_LEN];
|
||||||
unsigned int uChannel;
|
unsigned int uChannel;
|
||||||
|
@ -116,10 +107,8 @@ typedef struct tagKnownBSS {
|
||||||
long ldBmMAX;
|
long ldBmMAX;
|
||||||
long ldBmAverage[RSSI_STAT_COUNT];
|
long ldBmAverage[RSSI_STAT_COUNT];
|
||||||
long ldBmAverRange;
|
long ldBmAverRange;
|
||||||
//For any BSSID selection improvment
|
|
||||||
bool bSelected;
|
bool bSelected;
|
||||||
|
|
||||||
//++ WPA informations
|
|
||||||
bool bWPAValid;
|
bool bWPAValid;
|
||||||
unsigned char byGKType;
|
unsigned char byGKType;
|
||||||
unsigned char abyPKType[4];
|
unsigned char abyPKType[4];
|
||||||
|
@ -128,9 +117,7 @@ typedef struct tagKnownBSS {
|
||||||
unsigned short wAuthCount;
|
unsigned short wAuthCount;
|
||||||
unsigned char byDefaultK_as_PK;
|
unsigned char byDefaultK_as_PK;
|
||||||
unsigned char byReplayIdx;
|
unsigned char byReplayIdx;
|
||||||
//--
|
|
||||||
|
|
||||||
//++ WPA2 informations
|
|
||||||
bool bWPA2Valid;
|
bool bWPA2Valid;
|
||||||
unsigned char byCSSGK;
|
unsigned char byCSSGK;
|
||||||
unsigned short wCSSPKCount;
|
unsigned short wCSSPKCount;
|
||||||
|
@ -138,28 +125,24 @@ typedef struct tagKnownBSS {
|
||||||
unsigned short wAKMSSAuthCount;
|
unsigned short wAKMSSAuthCount;
|
||||||
unsigned char abyAKMSSAuthType[4];
|
unsigned char abyAKMSSAuthType[4];
|
||||||
|
|
||||||
//++ wpactl
|
|
||||||
unsigned char byWPAIE[MAX_WPA_IE_LEN];
|
unsigned char byWPAIE[MAX_WPA_IE_LEN];
|
||||||
unsigned char byRSNIE[MAX_WPA_IE_LEN];
|
unsigned char byRSNIE[MAX_WPA_IE_LEN];
|
||||||
unsigned short wWPALen;
|
unsigned short wWPALen;
|
||||||
unsigned short wRSNLen;
|
unsigned short wRSNLen;
|
||||||
|
|
||||||
// Clear count
|
|
||||||
unsigned int uClearCount;
|
unsigned int uClearCount;
|
||||||
unsigned int uIELength;
|
unsigned int uIELength;
|
||||||
QWORD qwBSSTimestamp;
|
QWORD qwBSSTimestamp;
|
||||||
QWORD qwLocalTSF; // local TSF timer
|
QWORD qwLocalTSF;
|
||||||
|
|
||||||
// NDIS_802_11_NETWORK_TYPE NetworkTypeInUse;
|
|
||||||
CARD_PHY_TYPE eNetworkTypeInUse;
|
CARD_PHY_TYPE eNetworkTypeInUse;
|
||||||
|
|
||||||
ERPObject sERP;
|
ERPObject sERP;
|
||||||
SRSNCapObject sRSNCapObj;
|
SRSNCapObject sRSNCapObj;
|
||||||
unsigned char abyIEs[1024]; // don't move this field !!
|
unsigned char abyIEs[1024];
|
||||||
} __attribute__ ((__packed__))
|
} __attribute__ ((__packed__))
|
||||||
KnownBSS , *PKnownBSS;
|
KnownBSS , *PKnownBSS;
|
||||||
|
|
||||||
//2006-1116-01,<Add> by NomadZhao
|
|
||||||
#pragma pack()
|
#pragma pack()
|
||||||
|
|
||||||
typedef enum tagNODE_STATE {
|
typedef enum tagNODE_STATE {
|
||||||
|
@ -172,7 +155,6 @@ typedef enum tagNODE_STATE {
|
||||||
|
|
||||||
// STA node info
|
// STA node info
|
||||||
typedef struct tagKnownNodeDB {
|
typedef struct tagKnownNodeDB {
|
||||||
// STA info
|
|
||||||
bool bActive;
|
bool bActive;
|
||||||
unsigned char abyMACAddr[WLAN_ADDR_LEN];
|
unsigned char abyMACAddr[WLAN_ADDR_LEN];
|
||||||
unsigned char abyCurrSuppRates[WLAN_IEHDR_LEN + WLAN_RATES_MAXLEN];
|
unsigned char abyCurrSuppRates[WLAN_IEHDR_LEN + WLAN_RATES_MAXLEN];
|
||||||
|
@ -211,7 +193,6 @@ typedef struct tagKnownNodeDB {
|
||||||
unsigned short wTSC15_0;
|
unsigned short wTSC15_0;
|
||||||
unsigned int uWepKeyLength;
|
unsigned int uWepKeyLength;
|
||||||
unsigned char abyWepKey[WLAN_WEPMAX_KEYLEN];
|
unsigned char abyWepKey[WLAN_WEPMAX_KEYLEN];
|
||||||
//
|
|
||||||
// Auto rate fallback vars
|
// Auto rate fallback vars
|
||||||
bool bIsInFallback;
|
bool bIsInFallback;
|
||||||
unsigned int uAverageRSSI;
|
unsigned int uAverageRSSI;
|
||||||
|
@ -228,8 +209,6 @@ typedef struct tagKnownNodeDB {
|
||||||
unsigned int uTimeCount;
|
unsigned int uTimeCount;
|
||||||
} KnownNodeDB, *PKnownNodeDB;
|
} KnownNodeDB, *PKnownNodeDB;
|
||||||
|
|
||||||
/*--------------------- Export Functions --------------------------*/
|
|
||||||
|
|
||||||
PKnownBSS
|
PKnownBSS
|
||||||
BSSpSearchBSSList(
|
BSSpSearchBSSList(
|
||||||
void *hDeviceContext,
|
void *hDeviceContext,
|
||||||
|
|
Loading…
Reference in New Issue