blob: a00652bfec4ecb47f5088ab122c4c6f0bee0a802 [file] [log] [blame]
Forest Bond5449c682009-04-25 10:30:44 -04001/*
2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
3 * All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 *
20 * File: wmgr.h
21 *
22 * Purpose:
23 *
24 * Author: lyndon chen
25 *
26 * Date: Jan 2, 2003
27 *
28 * Functions:
29 *
30 * Revision History:
31 *
32 */
33
Forest Bond5449c682009-04-25 10:30:44 -040034#ifndef __WMGR_H__
35#define __WMGR_H__
36
Forest Bond5449c682009-04-25 10:30:44 -040037#include "ttype.h"
Forest Bond5449c682009-04-25 10:30:44 -040038#include "80211mgr.h"
Forest Bond5449c682009-04-25 10:30:44 -040039#include "80211hdr.h"
Forest Bond5449c682009-04-25 10:30:44 -040040#include "wcmd.h"
Forest Bond5449c682009-04-25 10:30:44 -040041#include "bssdb.h"
Forest Bond5449c682009-04-25 10:30:44 -040042#include "wpa2.h"
Forest Bond5449c682009-04-25 10:30:44 -040043#include "vntwifi.h"
Jim Lieba7ad3222009-08-12 14:54:09 -070044#include "card.h"
Forest Bond5449c682009-04-25 10:30:44 -040045
46/*--------------------- Export Definitions -------------------------*/
47
Forest Bond5449c682009-04-25 10:30:44 -040048// Scan time
49#define PROBE_DELAY 100 // (us)
50#define SWITCH_CHANNEL_DELAY 200 // (us)
51#define WLAN_SCAN_MINITIME 25 // (ms)
52#define WLAN_SCAN_MAXTIME 100 // (ms)
53#define TRIVIAL_SYNC_DIFFERENCE 0 // (us)
54#define DEFAULT_IBSS_BI 100 // (ms)
55
56#define WCMD_ACTIVE_SCAN_TIME 50 //(ms)
57#define WCMD_PASSIVE_SCAN_TIME 100 //(ms)
58
Forest Bond5449c682009-04-25 10:30:44 -040059#define DEFAULT_MSDU_LIFETIME 512 // ms
60#define DEFAULT_MSDU_LIFETIME_RES_64us 8000 // 64us
61
62#define DEFAULT_MGN_LIFETIME 8 // ms
63#define DEFAULT_MGN_LIFETIME_RES_64us 125 // 64us
64
65#define MAKE_BEACON_RESERVED 10 //(us)
66
Forest Bond5449c682009-04-25 10:30:44 -040067#define TIM_MULTICAST_MASK 0x01
68#define TIM_BITMAPOFFSET_MASK 0xFE
69#define DEFAULT_DTIM_PERIOD 1
70
71#define AP_LONG_RETRY_LIMIT 4
72
73#define DEFAULT_IBSS_CHANNEL 6 //2.4G
74
Forest Bond5449c682009-04-25 10:30:44 -040075/*--------------------- Export Classes ----------------------------*/
76
77/*--------------------- Export Variables --------------------------*/
78
79/*--------------------- Export Types ------------------------------*/
Joe Perchescb850a62013-03-18 10:45:11 -070080#define timer_expire(timer, next_tick) mod_timer(&timer, RUN_AT(next_tick))
Charles Clémente3fd16d2010-06-02 09:52:02 -070081typedef void (*TimerFunction)(unsigned long);
Forest Bond5449c682009-04-25 10:30:44 -040082
Forest Bond5449c682009-04-25 10:30:44 -040083//+++ NDIS related
84
Charles Clément5c9824e2010-06-02 09:51:59 -070085typedef unsigned char NDIS_802_11_MAC_ADDRESS[6];
Guillaume Clementb69ee552014-07-25 01:06:19 +020086typedef struct _NDIS_802_11_AI_REQFI {
Joe Perchescb850a62013-03-18 10:45:11 -070087 unsigned short Capabilities;
88 unsigned short ListenInterval;
89 NDIS_802_11_MAC_ADDRESS CurrentAPAddress;
Forest Bond5449c682009-04-25 10:30:44 -040090} NDIS_802_11_AI_REQFI, *PNDIS_802_11_AI_REQFI;
91
Guillaume Clementb69ee552014-07-25 01:06:19 +020092typedef struct _NDIS_802_11_AI_RESFI {
Joe Perchescb850a62013-03-18 10:45:11 -070093 unsigned short Capabilities;
94 unsigned short StatusCode;
95 unsigned short AssociationId;
Forest Bond5449c682009-04-25 10:30:44 -040096} NDIS_802_11_AI_RESFI, *PNDIS_802_11_AI_RESFI;
97
Guillaume Clementb69ee552014-07-25 01:06:19 +020098typedef struct _NDIS_802_11_ASSOCIATION_INFORMATION {
Joe Perchescb850a62013-03-18 10:45:11 -070099 unsigned long Length;
100 unsigned short AvailableRequestFixedIEs;
101 NDIS_802_11_AI_REQFI RequestFixedIEs;
102 unsigned long RequestIELength;
103 unsigned long OffsetRequestIEs;
104 unsigned short AvailableResponseFixedIEs;
105 NDIS_802_11_AI_RESFI ResponseFixedIEs;
106 unsigned long ResponseIELength;
107 unsigned long OffsetResponseIEs;
Forest Bond5449c682009-04-25 10:30:44 -0400108} NDIS_802_11_ASSOCIATION_INFORMATION, *PNDIS_802_11_ASSOCIATION_INFORMATION;
109
Forest Bond5449c682009-04-25 10:30:44 -0400110typedef struct tagSAssocInfo {
Joe Perchescb850a62013-03-18 10:45:11 -0700111 NDIS_802_11_ASSOCIATION_INFORMATION AssocInfo;
112 unsigned char abyIEs[WLAN_BEACON_FR_MAXLEN+WLAN_BEACON_FR_MAXLEN];
113 // store ReqIEs set by OID_802_11_ASSOCIATION_INFORMATION
114 unsigned long RequestIELength;
115 unsigned char abyReqIEs[WLAN_BEACON_FR_MAXLEN];
Jim Lieba8848472009-08-12 14:54:07 -0700116} SAssocInfo, *PSAssocInfo;
Forest Bond5449c682009-04-25 10:30:44 -0400117//---
118
Forest Bond5449c682009-04-25 10:30:44 -0400119typedef enum tagWMAC_SCAN_TYPE {
Joe Perchescb850a62013-03-18 10:45:11 -0700120 WMAC_SCAN_ACTIVE,
121 WMAC_SCAN_PASSIVE,
122 WMAC_SCAN_HYBRID
Forest Bond5449c682009-04-25 10:30:44 -0400123} WMAC_SCAN_TYPE, *PWMAC_SCAN_TYPE;
124
Forest Bond5449c682009-04-25 10:30:44 -0400125typedef enum tagWMAC_SCAN_STATE {
Joe Perchescb850a62013-03-18 10:45:11 -0700126 WMAC_NO_SCANNING,
127 WMAC_IS_SCANNING,
128 WMAC_IS_PROBEPENDING
Forest Bond5449c682009-04-25 10:30:44 -0400129} WMAC_SCAN_STATE, *PWMAC_SCAN_STATE;
130
Forest Bond5449c682009-04-25 10:30:44 -0400131// Notes:
132// Basic Service Set state explained as following:
133// WMAC_STATE_IDLE : no BSS is selected (Adhoc or Infra)
134// WMAC_STATE_STARTED : no BSS is selected, start own IBSS (Adhoc only)
135// WMAC_STATE_JOINTED : BSS is selected and synchronized (Adhoc or Infra)
136// WMAC_STATE_AUTHPENDING : Authentication pending (Infra)
137// WMAC_STATE_AUTH : Authenticated (Infra)
138// WMAC_STATE_ASSOCPENDING : Association pending (Infra)
139// WMAC_STATE_ASSOC : Associated (Infra)
140
141typedef enum tagWMAC_BSS_STATE {
Joe Perchescb850a62013-03-18 10:45:11 -0700142 WMAC_STATE_IDLE,
143 WMAC_STATE_STARTED,
144 WMAC_STATE_JOINTED,
145 WMAC_STATE_AUTHPENDING,
146 WMAC_STATE_AUTH,
147 WMAC_STATE_ASSOCPENDING,
148 WMAC_STATE_ASSOC
Forest Bond5449c682009-04-25 10:30:44 -0400149} WMAC_BSS_STATE, *PWMAC_BSS_STATE;
150
151// WMAC selected running mode
152typedef enum tagWMAC_CURRENT_MODE {
Joe Perchescb850a62013-03-18 10:45:11 -0700153 WMAC_MODE_STANDBY,
154 WMAC_MODE_ESS_STA,
155 WMAC_MODE_IBSS_STA,
156 WMAC_MODE_ESS_AP
Forest Bond5449c682009-04-25 10:30:44 -0400157} WMAC_CURRENT_MODE, *PWMAC_CURRENT_MODE;
158
159/*
Joe Perchescb850a62013-03-18 10:45:11 -0700160 typedef enum tagWMAC_POWER_MODE {
Joe Perchescb850a62013-03-18 10:45:11 -0700161 WMAC_POWER_CAM,
162 WMAC_POWER_FAST,
163 WMAC_POWER_MAX
Forest Bond5449c682009-04-25 10:30:44 -0400164
Joe Perchescb850a62013-03-18 10:45:11 -0700165 } WMAC_POWER_MODE, *PWMAC_POWER_MODE;
Forest Bond5449c682009-04-25 10:30:44 -0400166*/
167
Lucas De Marchi25985ed2011-03-30 22:57:33 -0300168// Tx Management Packet descriptor
Forest Bond5449c682009-04-25 10:30:44 -0400169typedef struct tagSTxMgmtPacket {
Joe Perchescb850a62013-03-18 10:45:11 -0700170 PUWLAN_80211HDR p80211Header;
171 unsigned int cbMPDULen;
172 unsigned int cbPayloadLen;
Jim Lieba8848472009-08-12 14:54:07 -0700173} STxMgmtPacket, *PSTxMgmtPacket;
Forest Bond5449c682009-04-25 10:30:44 -0400174
Lucas De Marchi25985ed2011-03-30 22:57:33 -0300175// Rx Management Packet descriptor
Forest Bond5449c682009-04-25 10:30:44 -0400176typedef struct tagSRxMgmtPacket {
Joe Perchescb850a62013-03-18 10:45:11 -0700177 PUWLAN_80211HDR p80211Header;
Malcolm Priestley0fc2a762014-08-10 12:21:58 +0100178 u64 qwLocalTSF;
Joe Perchescb850a62013-03-18 10:45:11 -0700179 unsigned int cbMPDULen;
180 unsigned int cbPayloadLen;
181 unsigned int uRSSI;
182 unsigned char bySQ;
183 unsigned char byRxRate;
184 unsigned char byRxChannel;
Jim Lieba8848472009-08-12 14:54:07 -0700185} SRxMgmtPacket, *PSRxMgmtPacket;
Forest Bond5449c682009-04-25 10:30:44 -0400186
Guillaume Clementb69ee552014-07-25 01:06:19 +0200187typedef struct tagSMgmtObject {
Joe Perchescb850a62013-03-18 10:45:11 -0700188 void *pAdapter;
189 // MAC address
190 unsigned char abyMACAddr[WLAN_ADDR_LEN];
Forest Bond5449c682009-04-25 10:30:44 -0400191
Joe Perchescb850a62013-03-18 10:45:11 -0700192 // Configuration Mode
193 WMAC_CONFIG_MODE eConfigMode; // MAC pre-configed mode
194 CARD_PHY_TYPE eCurrentPHYMode;
195 CARD_PHY_TYPE eConfigPHYMode;
Forest Bond5449c682009-04-25 10:30:44 -0400196
Joe Perchescb850a62013-03-18 10:45:11 -0700197 // Operation state variables
198 WMAC_CURRENT_MODE eCurrMode; // MAC current connection mode
199 WMAC_BSS_STATE eCurrState; // MAC current BSS state
Forest Bond5449c682009-04-25 10:30:44 -0400200
Joe Perchescb850a62013-03-18 10:45:11 -0700201 PKnownBSS pCurrBSS;
202 unsigned char byCSSGK;
203 unsigned char byCSSPK;
Forest Bond5449c682009-04-25 10:30:44 -0400204
Joe Perchescb850a62013-03-18 10:45:11 -0700205 // Current state vars
206 unsigned int uCurrChannel;
Aya Mahfouz85061eb2014-10-11 02:37:21 +0200207 unsigned char abyCurrBSSID[WLAN_BSSID_LEN];
Joe Perchescb850a62013-03-18 10:45:11 -0700208 unsigned char abyCurrSuppRates[WLAN_IEHDR_LEN + WLAN_RATES_MAXLEN + 1];
209 unsigned char abyCurrExtSuppRates[WLAN_IEHDR_LEN + WLAN_RATES_MAXLEN + 1];
210 unsigned char abyCurrSSID[WLAN_IEHDR_LEN + WLAN_SSID_MAXLEN + 1];
Joe Perchescb850a62013-03-18 10:45:11 -0700211 unsigned short wCurrCapInfo;
212 unsigned short wCurrAID;
213 unsigned short wCurrATIMWindow;
214 unsigned short wCurrBeaconPeriod;
215 bool bIsDS;
216 unsigned char byERPContext;
Forest Bond5449c682009-04-25 10:30:44 -0400217
Joe Perchescb850a62013-03-18 10:45:11 -0700218 CMD_STATE eCommandState;
219 unsigned int uScanChannel;
Forest Bond5449c682009-04-25 10:30:44 -0400220
Joe Perchescb850a62013-03-18 10:45:11 -0700221 // Desire joining BSS vars
222 unsigned char abyDesireSSID[WLAN_IEHDR_LEN + WLAN_SSID_MAXLEN + 1];
223 unsigned char abyDesireBSSID[WLAN_BSSID_LEN];
Forest Bond5449c682009-04-25 10:30:44 -0400224
Joe Perchescb850a62013-03-18 10:45:11 -0700225 // Adhoc or AP configuration vars
Joe Perchescb850a62013-03-18 10:45:11 -0700226 unsigned short wIBSSBeaconPeriod;
227 unsigned short wIBSSATIMWindow;
228 unsigned int uIBSSChannel;
229 unsigned char abyIBSSSuppRates[WLAN_IEHDR_LEN + WLAN_RATES_MAXLEN + 1];
230 unsigned char byAPBBType;
231 unsigned char abyWPAIE[MAX_WPA_IE_LEN];
232 unsigned short wWPAIELen;
Forest Bond5449c682009-04-25 10:30:44 -0400233
Joe Perchescb850a62013-03-18 10:45:11 -0700234 unsigned int uAssocCount;
235 bool bMoreData;
Forest Bond5449c682009-04-25 10:30:44 -0400236
Joe Perchescb850a62013-03-18 10:45:11 -0700237 // Scan state vars
238 WMAC_SCAN_STATE eScanState;
239 WMAC_SCAN_TYPE eScanType;
240 unsigned int uScanStartCh;
241 unsigned int uScanEndCh;
242 unsigned short wScanSteps;
243 unsigned int uScanBSSType;
244 // Desire scanning vars
245 unsigned char abyScanSSID[WLAN_IEHDR_LEN + WLAN_SSID_MAXLEN + 1];
246 unsigned char abyScanBSSID[WLAN_BSSID_LEN];
Forest Bond5449c682009-04-25 10:30:44 -0400247
Joe Perchescb850a62013-03-18 10:45:11 -0700248 // Privacy
249 WMAC_AUTHENTICATION_MODE eAuthenMode;
250 WMAC_ENCRYPTION_MODE eEncryptionMode;
251 bool bShareKeyAlgorithm;
252 unsigned char abyChallenge[WLAN_CHALLENGE_LEN];
253 bool bPrivacyInvoked;
Forest Bond5449c682009-04-25 10:30:44 -0400254
Joe Perchescb850a62013-03-18 10:45:11 -0700255 // Received beacon state vars
256 bool bInTIM;
257 bool bMulticastTIM;
258 unsigned char byDTIMCount;
259 unsigned char byDTIMPeriod;
Forest Bond5449c682009-04-25 10:30:44 -0400260
Joe Perchescb850a62013-03-18 10:45:11 -0700261 // Power saving state vars
262 WMAC_POWER_MODE ePSMode;
263 unsigned short wListenInterval;
264 unsigned short wCountToWakeUp;
265 bool bInTIMWake;
266 unsigned char *pbyPSPacketPool;
267 unsigned char byPSPacketPool[sizeof(STxMgmtPacket) + WLAN_NULLDATA_FR_MAXLEN];
268 bool bRxBeaconInTBTTWake;
269 unsigned char abyPSTxMap[MAX_NODE_NUM + 1];
Forest Bond5449c682009-04-25 10:30:44 -0400270
Joe Perchescb850a62013-03-18 10:45:11 -0700271 // management command related
272 unsigned int uCmdBusy;
273 unsigned int uCmdHostAPBusy;
Forest Bond5449c682009-04-25 10:30:44 -0400274
Joe Perchescb850a62013-03-18 10:45:11 -0700275 // management packet pool
276 unsigned char *pbyMgmtPacketPool;
277 unsigned char byMgmtPacketPool[sizeof(STxMgmtPacket) + WLAN_A3FR_MAXLEN];
Forest Bond5449c682009-04-25 10:30:44 -0400278
Joe Perchescb850a62013-03-18 10:45:11 -0700279 // One second callback timer
280 struct timer_list sTimerSecondCallback;
Forest Bond5449c682009-04-25 10:30:44 -0400281
Joe Perchescb850a62013-03-18 10:45:11 -0700282 // Temporarily Rx Mgmt Packet Descriptor
283 SRxMgmtPacket sRxPacket;
Forest Bond5449c682009-04-25 10:30:44 -0400284
Joe Perchescb850a62013-03-18 10:45:11 -0700285 // link list of known bss's (scan results)
286 KnownBSS sBSSList[MAX_BSS_NUM];
Forest Bond5449c682009-04-25 10:30:44 -0400287
Joe Perchescb850a62013-03-18 10:45:11 -0700288 // table list of known node
289 // sNodeDBList[0] is reserved for AP under Infra mode
290 // sNodeDBList[0] is reserved for Multicast under adhoc/AP mode
291 KnownNodeDB sNodeDBTable[MAX_NODE_NUM + 1];
Forest Bond5449c682009-04-25 10:30:44 -0400292
Joe Perchescb850a62013-03-18 10:45:11 -0700293 // WPA2 PMKID Cache
294 SPMKIDCache gsPMKIDCache;
295 bool bRoaming;
Forest Bond5449c682009-04-25 10:30:44 -0400296
Joe Perchescb850a62013-03-18 10:45:11 -0700297 // rate fall back vars
Forest Bond5449c682009-04-25 10:30:44 -0400298
Joe Perchescb850a62013-03-18 10:45:11 -0700299 // associate info
300 SAssocInfo sAssocInfo;
Forest Bond5449c682009-04-25 10:30:44 -0400301
Joe Perchescb850a62013-03-18 10:45:11 -0700302 // for 802.11h
303 bool b11hEnable;
304 bool bSwitchChannel;
305 unsigned char byNewChannel;
306 PWLAN_IE_MEASURE_REP pCurrMeasureEIDRep;
307 unsigned int uLengthOfRepEIDs;
308 unsigned char abyCurrentMSRReq[sizeof(STxMgmtPacket) + WLAN_A3FR_MAXLEN];
309 unsigned char abyCurrentMSRRep[sizeof(STxMgmtPacket) + WLAN_A3FR_MAXLEN];
310 unsigned char abyIECountry[WLAN_A3FR_MAXLEN];
311 unsigned char abyIBSSDFSOwner[6];
312 unsigned char byIBSSDFSRecovery;
Forest Bond5449c682009-04-25 10:30:44 -0400313
Joe Perchescb850a62013-03-18 10:45:11 -0700314 struct sk_buff skb;
Jim Lieba8848472009-08-12 14:54:07 -0700315} SMgmtObject, *PSMgmtObject;
Forest Bond5449c682009-04-25 10:30:44 -0400316
Forest Bond5449c682009-04-25 10:30:44 -0400317/*--------------------- Export Macros ------------------------------*/
318
Forest Bond5449c682009-04-25 10:30:44 -0400319/*--------------------- Export Functions --------------------------*/
320
Forest Bond5449c682009-04-25 10:30:44 -0400321void
322vMgrObjectInit(
Joe Perchescb850a62013-03-18 10:45:11 -0700323 void *hDeviceContext
324);
Forest Bond5449c682009-04-25 10:30:44 -0400325
326void
327vMgrTimerInit(
Joe Perchescb850a62013-03-18 10:45:11 -0700328 void *hDeviceContext
329);
Forest Bond5449c682009-04-25 10:30:44 -0400330
Charles Clément6b35b7b2010-05-07 12:30:19 -0700331void
Forest Bond5449c682009-04-25 10:30:44 -0400332vMgrObjectReset(
Joe Perchescb850a62013-03-18 10:45:11 -0700333 void *hDeviceContext
334);
Forest Bond5449c682009-04-25 10:30:44 -0400335
336void
337vMgrAssocBeginSta(
Joe Perchescb850a62013-03-18 10:45:11 -0700338 void *hDeviceContext,
339 PSMgmtObject pMgmt,
340 PCMD_STATUS pStatus
341);
Forest Bond5449c682009-04-25 10:30:44 -0400342
Charles Clément6b35b7b2010-05-07 12:30:19 -0700343void
Forest Bond5449c682009-04-25 10:30:44 -0400344vMgrReAssocBeginSta(
Joe Perchescb850a62013-03-18 10:45:11 -0700345 void *hDeviceContext,
346 PSMgmtObject pMgmt,
347 PCMD_STATUS pStatus
348);
Forest Bond5449c682009-04-25 10:30:44 -0400349
Charles Clément6b35b7b2010-05-07 12:30:19 -0700350void
Forest Bond5449c682009-04-25 10:30:44 -0400351vMgrDisassocBeginSta(
Joe Perchescb850a62013-03-18 10:45:11 -0700352 void *hDeviceContext,
353 PSMgmtObject pMgmt,
354 unsigned char *abyDestAddress,
355 unsigned short wReason,
356 PCMD_STATUS pStatus
357);
Forest Bond5449c682009-04-25 10:30:44 -0400358
Charles Clément6b35b7b2010-05-07 12:30:19 -0700359void
Forest Bond5449c682009-04-25 10:30:44 -0400360vMgrAuthenBeginSta(
Joe Perchescb850a62013-03-18 10:45:11 -0700361 void *hDeviceContext,
362 PSMgmtObject pMgmt,
363 PCMD_STATUS pStatus
364);
Forest Bond5449c682009-04-25 10:30:44 -0400365
Charles Clément6b35b7b2010-05-07 12:30:19 -0700366void
Forest Bond5449c682009-04-25 10:30:44 -0400367vMgrCreateOwnIBSS(
Joe Perchescb850a62013-03-18 10:45:11 -0700368 void *hDeviceContext,
369 PCMD_STATUS pStatus
370);
Forest Bond5449c682009-04-25 10:30:44 -0400371
Charles Clément6b35b7b2010-05-07 12:30:19 -0700372void
Forest Bond5449c682009-04-25 10:30:44 -0400373vMgrJoinBSSBegin(
Joe Perchescb850a62013-03-18 10:45:11 -0700374 void *hDeviceContext,
375 PCMD_STATUS pStatus
376);
Forest Bond5449c682009-04-25 10:30:44 -0400377
Charles Clément6b35b7b2010-05-07 12:30:19 -0700378void
Forest Bond5449c682009-04-25 10:30:44 -0400379vMgrRxManagePacket(
Joe Perchescb850a62013-03-18 10:45:11 -0700380 void *hDeviceContext,
381 PSMgmtObject pMgmt,
382 PSRxMgmtPacket pRxPacket
383);
Forest Bond5449c682009-04-25 10:30:44 -0400384
385/*
Joe Perchescb850a62013-03-18 10:45:11 -0700386 void
387 vMgrScanBegin(
388 void *hDeviceContext,
389 PCMD_STATUS pStatus
390);
Forest Bond5449c682009-04-25 10:30:44 -0400391*/
392
Charles Clément6b35b7b2010-05-07 12:30:19 -0700393void
Forest Bond5449c682009-04-25 10:30:44 -0400394vMgrDeAuthenBeginSta(
Joe Perchescb850a62013-03-18 10:45:11 -0700395 void *hDeviceContext,
396 PSMgmtObject pMgmt,
397 unsigned char *abyDestAddress,
398 unsigned short wReason,
399 PCMD_STATUS pStatus
400);
Forest Bond5449c682009-04-25 10:30:44 -0400401
Charles Clément7b6a0012010-08-01 17:15:50 +0200402bool
Forest Bond5449c682009-04-25 10:30:44 -0400403bMgrPrepareBeaconToSend(
Joe Perchescb850a62013-03-18 10:45:11 -0700404 void *hDeviceContext,
405 PSMgmtObject pMgmt
406);
Forest Bond5449c682009-04-25 10:30:44 -0400407
Charles Clément7b6a0012010-08-01 17:15:50 +0200408bool
Joe Perchescb850a62013-03-18 10:45:11 -0700409bAdd_PMKID_Candidate(
410 void *hDeviceContext,
411 unsigned char *pbyBSSID,
412 PSRSNCapObject psRSNCapObj
413);
Forest Bond5449c682009-04-25 10:30:44 -0400414
Charles Clément6b35b7b2010-05-07 12:30:19 -0700415void
Joe Perchescb850a62013-03-18 10:45:11 -0700416vFlush_PMKID_Candidate(
417 void *hDeviceContext
418);
Forest Bond5449c682009-04-25 10:30:44 -0400419
420#endif // __WMGR_H__