summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/wmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/vt6656/wmgr.h')
-rw-r--r--drivers/staging/vt6656/wmgr.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/staging/vt6656/wmgr.h b/drivers/staging/vt6656/wmgr.h
index 409d8d09adfb..5424c7f820ad 100644
--- a/drivers/staging/vt6656/wmgr.h
+++ b/drivers/staging/vt6656/wmgr.h
@@ -41,9 +41,6 @@
#include "wpa2.h"
#include "card.h"
-
-
-
// Scan time
#define PROBE_DELAY 100 // (us)
#define SWITCH_CHANNEL_DELAY 200 // (us)
@@ -55,7 +52,6 @@
#define WCMD_ACTIVE_SCAN_TIME 20 //(ms)
#define WCMD_PASSIVE_SCAN_TIME 100 //(ms)
-
#define DEFAULT_MSDU_LIFETIME 512 // ms
#define DEFAULT_MSDU_LIFETIME_RES_64us 8000 // 64us
@@ -64,7 +60,6 @@
#define MAKE_BEACON_RESERVED 10 //(us)
-
#define TIM_MULTICAST_MASK 0x01
#define TIM_BITMAPOFFSET_MASK 0xFE
#define DEFAULT_DTIM_PERIOD 1
@@ -73,15 +68,11 @@
#define DEFAULT_IBSS_CHANNEL 6 //2.4G
-
-
-
//mike define: make timer to expire after desired times
#define timer_expire(timer, next_tick) mod_timer(&timer, RUN_AT(next_tick))
typedef void (*TimerFunction)(unsigned long);
-
//+++ NDIS related
typedef u8 NDIS_802_11_MAC_ADDRESS[ETH_ALEN];
@@ -112,8 +103,6 @@ typedef struct _NDIS_802_11_ASSOCIATION_INFORMATION
u32 OffsetResponseIEs;
} NDIS_802_11_ASSOCIATION_INFORMATION, *PNDIS_802_11_ASSOCIATION_INFORMATION;
-
-
typedef struct tagSAssocInfo {
NDIS_802_11_ASSOCIATION_INFORMATION AssocInfo;
u8 abyIEs[WLAN_BEACON_FR_MAXLEN+WLAN_BEACON_FR_MAXLEN];
@@ -122,9 +111,6 @@ typedef struct tagSAssocInfo {
u8 abyReqIEs[WLAN_BEACON_FR_MAXLEN];
} SAssocInfo, *PSAssocInfo;
-
-
-
typedef enum tagWMAC_AUTHENTICATION_MODE {
WMAC_AUTH_OPEN,
@@ -138,8 +124,6 @@ typedef enum tagWMAC_AUTHENTICATION_MODE {
WMAC_AUTH_MAX // Not a real mode, defined as upper bound
} WMAC_AUTHENTICATION_MODE, *PWMAC_AUTHENTICATION_MODE;
-
-
// Pre-configured Mode (from XP)
typedef enum tagWMAC_CONFIG_MODE {
@@ -150,7 +134,6 @@ typedef enum tagWMAC_CONFIG_MODE {
} WMAC_CONFIG_MODE, *PWMAC_CONFIG_MODE;
-
typedef enum tagWMAC_SCAN_TYPE {
WMAC_SCAN_ACTIVE,
@@ -159,7 +142,6 @@ typedef enum tagWMAC_SCAN_TYPE {
} WMAC_SCAN_TYPE, *PWMAC_SCAN_TYPE;
-
typedef enum tagWMAC_SCAN_STATE {
WMAC_NO_SCANNING,
@@ -168,8 +150,6 @@ typedef enum tagWMAC_SCAN_STATE {
} WMAC_SCAN_STATE, *PWMAC_SCAN_STATE;
-
-
// Notes:
// Basic Service Set state explained as following:
// WMAC_STATE_IDLE : no BSS is selected (Adhoc or Infra)
@@ -202,7 +182,6 @@ typedef enum tagWMAC_CURRENT_MODE {
} WMAC_CURRENT_MODE, *PWMAC_CURRENT_MODE;
-
typedef enum tagWMAC_POWER_MODE {
WMAC_POWER_CAM,
@@ -211,8 +190,6 @@ typedef enum tagWMAC_POWER_MODE {
} WMAC_POWER_MODE, *PWMAC_POWER_MODE;
-
-
/* Tx Management Packet descriptor */
struct vnt_tx_mgmt {
PUWLAN_80211HDR p80211Header;
@@ -220,7 +197,6 @@ struct vnt_tx_mgmt {
u32 cbPayloadLen;
};
-
/* Rx Management Packet descriptor */
struct vnt_rx_mgmt {
PUWLAN_80211HDR p80211Header;
@@ -233,7 +209,6 @@ struct vnt_rx_mgmt {
u8 byRxChannel;
};
-
struct vnt_manager {
void *pAdapter;
@@ -335,7 +310,6 @@ struct vnt_manager {
u8 byMgmtPacketPool[sizeof(struct vnt_tx_mgmt)
+ WLAN_A3FR_MAXLEN];
-
/* One second callback timer */
struct timer_list sTimerSecondCallback;
@@ -379,8 +353,6 @@ struct vnt_manager {
};
-
-
void vMgrObjectInit(struct vnt_private *pDevice);
void vMgrAssocBeginSta(struct vnt_private *pDevice,