blob: b85481c3dd744dfaa1f9165620dd65c320c7105c [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Sushant Kaushik74df8db2015-03-11 18:09:05 +05302 * Copyright (c) 2012-2015 The Linux Foundation. All rights reserved.
Kiet Lam842dad02014-02-18 18:44:02 -08003 *
4 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
5 *
6 *
7 * Permission to use, copy, modify, and/or distribute this software for
8 * any purpose with or without fee is hereby granted, provided that the
9 * above copyright notice and this permission notice appear in all
10 * copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
13 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
14 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
15 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
16 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
17 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 * PERFORMANCE OF THIS SOFTWARE.
Gopichand Nakkala92f07d82013-01-08 21:16:34 -080020 */
Kiet Lam842dad02014-02-18 18:44:02 -080021
22/*
23 * This file was originally distributed by Qualcomm Atheros, Inc.
24 * under proprietary terms before Copyright ownership was assigned
25 * to the Linux Foundation.
26 */
27
Jeff Johnson295189b2012-06-20 16:38:30 -070028#if !defined( __LIM_SESSION_H )
29#define __LIM_SESSION_H
30
31
32/**=========================================================================
Jeff Johnson3c3e1782013-02-27 10:48:42 -080033
Jeff Johnson295189b2012-06-20 16:38:30 -070034 \file limSession.h
Jeff Johnson3c3e1782013-02-27 10:48:42 -080035
Jeff Johnson295189b2012-06-20 16:38:30 -070036 \brief prototype for lim Session related APIs
37
38 \author Sunit Bhatia
Jeff Johnson295189b2012-06-20 16:38:30 -070039 ========================================================================*/
40
41
42/*--------------------------------------------------------------------------
43 Include Files
44 ------------------------------------------------------------------------*/
45
46
47
48/*--------------------------------------------------------------------------
49 Preprocessor definitions and constants
50 ------------------------------------------------------------------------*/
Jeff Johnson295189b2012-06-20 16:38:30 -070051#define NUM_WEP_KEYS 4
Jeff Johnson295189b2012-06-20 16:38:30 -070052
53/*--------------------------------------------------------------------------
54 Type declarations
55 ------------------------------------------------------------------------*/
56typedef struct
57{
58 tSirMacBeaconInterval beaconInterval;
59 tANI_U8 fShortPreamble;
60 tANI_U8 llaCoexist;
61 tANI_U8 llbCoexist;
62 tANI_U8 llgCoexist;
63 tANI_U8 ht20Coexist;
64 tANI_U8 llnNonGFCoexist;
65 tANI_U8 fRIFSMode;
66 tANI_U8 fLsigTXOPProtectionFullSupport;
67 tANI_U8 gHTObssMode;
68}tBeaconParams, *tpBeaconParams;
69
70typedef struct sPESession // Added to Support BT-AMP
71{
72 /* To check session table is in use or free*/
73 tANI_U8 available;
74 tANI_U8 peSessionId;
75 tANI_U8 smeSessionId;
76 tANI_U16 transactionId;
77
78 //In AP role: BSSID and selfMacAddr will be the same.
79 //In STA role: they will be different
80 tSirMacAddr bssId;
81 tSirMacAddr selfMacAddr;
82 tSirMacSSid ssId;
83 tANI_U8 bssIdx;
84 tANI_U8 valid;
85 tLimMlmStates limMlmState; //MLM State
86 tLimMlmStates limPrevMlmState; //Previous MLM State
87 tLimSmeStates limSmeState; //SME State
88 tLimSmeStates limPrevSmeState; //Previous SME State
89 tLimSystemRole limSystemRole;
90 tSirBssType bssType;
91 tANI_U8 operMode; // AP - 0; STA - 1 ;
92 tSirNwType nwType;
93 tpSirSmeStartBssReq pLimStartBssReq; //handle to smestart bss req
Sushant Kaushik74df8db2015-03-11 18:09:05 +053094 tANI_BOOLEAN bOSENAssociation; //handle to OSEN assoc req
Jeff Johnson295189b2012-06-20 16:38:30 -070095 tpSirSmeJoinReq pLimJoinReq; // handle to sme join req
Srinivas Girigowdac16730e2013-01-16 13:39:39 -080096 tpSirSmeJoinReq pLimReAssocReq; //handle to sme reassoc req
Jeff Johnson295189b2012-06-20 16:38:30 -070097 tpLimMlmJoinReq pLimMlmJoinReq; //handle to MLM join Req
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -080098#if defined (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_ESE) || defined(FEATURE_WLAN_LFR)
Madan Mohan Koyyalamudi61bc5662012-11-02 14:33:10 -070099 void *pLimMlmReassocRetryReq; //keep reasoc req for retry
100#endif
Jeff Johnson295189b2012-06-20 16:38:30 -0700101 void *pLimMlmReassocReq; //handle to MLM reassoc Req
102 tANI_U16 channelChangeReasonCode;
Kalikinkar dhara085c02f2014-02-28 15:32:12 -0800103 tANI_U16 channelChangeCSA; // channel change flag for CSA
Jeff Johnson295189b2012-06-20 16:38:30 -0700104 tANI_U8 dot11mode;
Jeff Johnsone7245742012-09-05 17:12:55 -0700105 tANI_U8 htCapability;
106 /* Supported Channel Width Set: 0-20MHz 1 - 40MHz */
107 tANI_U8 htSupportedChannelWidthSet;
108 /* Recommended Tx Width Set
109 * 0 - use 20 MHz channel (control channel)
110 * 1 - use channel width enabled under Supported Channel Width Set
111 */
112 tANI_U8 htRecommendedTxWidthSet;
113 /* Identifies the 40 MHz extension channel */
114 ePhyChanBondState htSecondaryChannelOffset;
Jeff Johnson295189b2012-06-20 16:38:30 -0700115 tSirRFBand limRFBand;
116 tANI_U8 limIbssActive; //TO SUPPORT CONCURRENCY
117
118 /* These global varibales moved to session Table to support BT-AMP : Oct 9th review */
119 tAniAuthType limCurrentAuthType;
120 tANI_U16 limCurrentBssCaps;
121 tANI_U8 limCurrentBssQosCaps;
122 tANI_U16 limCurrentBssPropCap;
123 tANI_U8 limSentCapsChangeNtf;
Jeff Johnson295189b2012-06-20 16:38:30 -0700124 tANI_U16 limAID;
125
126 /* Parameters For Reassociation */
127 tSirMacAddr limReAssocbssId;
128 tSirMacChanNum limReassocChannelId;
Jeff Johnsone7245742012-09-05 17:12:55 -0700129 /* CB paramaters required/duplicated for Reassoc since re-assoc mantains its own params in lim */
130 tANI_U8 reAssocHtSupportedChannelWidthSet;
131 tANI_U8 reAssocHtRecommendedTxWidthSet;
132 ePhyChanBondState reAssocHtSecondaryChannelOffset;
Jeff Johnson295189b2012-06-20 16:38:30 -0700133 tSirMacSSid limReassocSSID;
134 tANI_U16 limReassocBssCaps;
135 tANI_U8 limReassocBssQosCaps;
136 tANI_U16 limReassocBssPropCap;
Jeff Johnson295189b2012-06-20 16:38:30 -0700137
138 // Assoc or ReAssoc Response Data/Frame
139 void *limAssocResponseData;
140
141
142
143 /** BSS Table parameters **/
144
145
146 /*
147 * staId: Start BSS: this is the Sta Id for the BSS.
148 Join: this is the selfStaId
149 In both cases above, the peer STA ID wll be stored in dph hash table.
150 */
151 tANI_U16 staId;
152 tANI_U16 statypeForBss; //to know session is for PEER or SELF
153 tANI_U8 shortSlotTimeSupported;
154 tANI_U8 dtimPeriod;
155 tSirMacRateSet rateSet;
156 tSirMacRateSet extRateSet;
157 tSirMacHTOperatingMode htOperMode;
158 tANI_U8 currentOperChannel;
159 tANI_U8 currentReqChannel;
160 tANI_U8 LimRxedBeaconCntDuringHB;
161
162 //Time stamp of the last beacon received from the BSS to which STA is connected.
163 tANI_U64 lastBeaconTimeStamp;
164 //RX Beacon count for the current BSS to which STA is connected.
165 tANI_U32 currentBssBeaconCnt;
166 tANI_U8 lastBeaconDtimCount;
167 tANI_U8 lastBeaconDtimPeriod;
168
169 tANI_U32 bcnLen;
170 tANI_U8 *beacon; //Used to store last beacon / probe response before assoc.
171
172 tANI_U32 assocReqLen;
173 tANI_U8 *assocReq; //Used to store association request frame sent out while associating.
174
175 tANI_U32 assocRspLen;
176 tANI_U8 *assocRsp; //Used to store association response received while associating
177 tAniSirDph dph;
178 void * *parsedAssocReq; //Used to store parsed assoc req from various requesting station
179#ifdef WLAN_FEATURE_VOWIFI_11R
180 tANI_U32 RICDataLen; //Used to store the Ric data received in the assoc response
181 tANI_U8 *ricData;
182#endif
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -0800183#ifdef FEATURE_WLAN_ESE
Jeff Johnson295189b2012-06-20 16:38:30 -0700184 tANI_U32 tspecLen; //Used to store the TSPEC IEs received in the assoc response
185 tANI_U8 *tspecIes;
186#endif
187 tANI_U32 encryptType;
188
Jeff Johnson295189b2012-06-20 16:38:30 -0700189 tANI_BOOLEAN bTkipCntrMeasActive; // Used to keep record of TKIP counter measures start/stop
190
191 tANI_U8 gLimProtectionControl; //used for 11n protection
192
193 tANI_U8 gHTNonGFDevicesPresent;
194
195 //protection related config cache
196 tCfgProtection cfgProtection;
197
198 // Number of legacy STAs associated
199 tLimProtStaParams gLim11bParams;
200
201 // Number of 11A STAs associated
202 tLimProtStaParams gLim11aParams;
203
204 // Number of non-ht non-legacy STAs associated
205 tLimProtStaParams gLim11gParams;
206
207 //Number of nonGf STA associated
208 tLimProtStaParams gLimNonGfParams;
209
210 //Number of HT 20 STAs associated
211 tLimProtStaParams gLimHt20Params;
212
213 //Number of Lsig Txop not supported STAs associated
214 tLimProtStaParams gLimLsigTxopParams;
215
216 // Number of STAs that do not support short preamble
217 tLimNoShortParams gLimNoShortParams;
218
219 // Number of STAs that do not support short slot time
220 tLimNoShortSlotParams gLimNoShortSlotParams;
221
222
223 // OLBC parameters
224 tLimProtStaParams gLimOlbcParams;
225
226 // OLBC parameters
227 tLimProtStaParams gLimOverlap11gParams;
228
229 tLimProtStaParams gLimOverlap11aParams;
230 tLimProtStaParams gLimOverlapHt20Params;
231 tLimProtStaParams gLimOverlapNonGfParams;
232
233 //cache for each overlap
234 tCacheParams protStaCache[LIM_PROT_STA_CACHE_SIZE];
235
236 tANI_U8 privacy;
237 tAniAuthType authType;
238 tSirKeyMaterial WEPKeyMaterial[NUM_WEP_KEYS];
239
240 tDot11fIERSN gStartBssRSNIe;
241 tDot11fIEWPA gStartBssWPAIe;
242 tSirAPWPSIEs APWPSIEs;
243 tANI_U8 apUapsdEnable;
244 tSirWPSPBCSession *pAPWPSPBCSession;
245 tANI_U32 DefProbeRspIeBitmap[8];
246 tANI_U32 proxyProbeRspEn;
247 tDot11fProbeResponse probeRespFrame;
248 tANI_U8 ssidHidden;
249 tANI_BOOLEAN fwdWPSPBCProbeReq;
250 tANI_U8 wps_state;
Jeff Johnson295189b2012-06-20 16:38:30 -0700251
252 tANI_U8 limQosEnabled:1; //11E
253 tANI_U8 limWmeEnabled:1; //WME
254 tANI_U8 limWsmEnabled:1; //WSM
255 tANI_U8 limHcfEnabled:1;
256 tANI_U8 lim11dEnabled:1;
Chet Lanctot186b5732013-03-18 10:26:30 -0700257#ifdef WLAN_FEATURE_11W
258 tANI_U8 limRmfEnabled:1; //11W
259#endif
Jeff Johnson295189b2012-06-20 16:38:30 -0700260 tANI_U32 lim11hEnable;
261
262 tPowerdBm maxTxPower; //MIN (Regulatory and local power constraint)
263 tVOS_CON_MODE pePersona;
264#if defined WLAN_FEATURE_VOWIFI
265 tPowerdBm txMgmtPower;
266#endif
267
268#ifdef WLAN_FEATURE_VOWIFI_11R
269 tAniBool is11Rconnection;
270#endif
271
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -0800272#ifdef FEATURE_WLAN_ESE
273 tAniBool isESEconnection;
274 tEsePEContext eseContext;
Jeff Johnson295189b2012-06-20 16:38:30 -0700275#endif
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -0800276#if defined WLAN_FEATURE_VOWIFI_11R || defined FEATURE_WLAN_ESE || defined(FEATURE_WLAN_LFR)
Jeff Johnson295189b2012-06-20 16:38:30 -0700277 tAniBool isFastTransitionEnabled;
278#endif
Jeff Johnson43971f52012-07-17 12:26:56 -0700279#ifdef FEATURE_WLAN_LFR
280 tAniBool isFastRoamIniFeatureEnabled;
281#endif
Jeff Johnson295189b2012-06-20 16:38:30 -0700282 tSirNoAParam p2pNoA;
283 tSirP2PNoaAttr p2pGoPsUpdate;
Madan Mohan Koyyalamudi666d33a2012-11-29 11:32:59 -0800284 tANI_U32 defaultAuthFailureTimeout;
Viral Modid86bde22012-12-10 13:09:21 -0800285 tSirP2PNoaStart p2pGoPsNoaStartInd;
Jeff Johnson295189b2012-06-20 16:38:30 -0700286
287 /* EDCA QoS parameters
288 * gLimEdcaParams - These EDCA parameters are used locally on AP or STA.
289 * If STA, then these are values taken from the Assoc Rsp when associating,
290 * or Beacons/Probe Response after association. If AP, then these are
291 * values originally set locally on AP.
292 *
293 * gLimEdcaParamsBC - These EDCA parameters are use by AP to broadcast
294 * to other STATIONs in the BSS.
295 *
296 * gLimEdcaParamsActive: These EDCA parameters are what's actively being
297 * used on station. Specific AC values may be downgraded depending on
298 * admission control for that particular AC.
299 */
300 tSirMacEdcaParamRecord gLimEdcaParams[MAX_NUM_AC]; //used locally
301 tSirMacEdcaParamRecord gLimEdcaParamsBC[MAX_NUM_AC]; //used for broadcast
302 tSirMacEdcaParamRecord gLimEdcaParamsActive[MAX_NUM_AC];
303
304 tANI_U8 gLimEdcaParamSetCount;
305
306 tBeaconParams beaconParams;
Jeff Johnsone7245742012-09-05 17:12:55 -0700307#ifdef WLAN_FEATURE_11AC
308 tANI_U8 vhtCapability;
309 tANI_U8 vhtTxChannelWidthSet;
Mohit Khanna4a70d262012-09-11 16:30:12 -0700310 tLimOperatingModeInfo gLimOperatingMode;
Madan Mohan Koyyalamudic6226de2012-09-18 16:33:31 -0700311 tLimWiderBWChannelSwitchInfo gLimWiderBWChannelSwitch;
312 tANI_U8 vhtCapabilityPresentInBeacon;
313 tANI_U8 apCenterChan;
314 tANI_U8 apChanWidth;
Shailender Karmuchi08f87c22013-01-17 12:51:24 -0800315 tANI_U8 txBFIniFeatureEnabled;
Abhishek Singh6d5d29c2014-07-03 14:25:22 +0530316 tANI_U8 txMuBformee;
Jeff Johnsone7245742012-09-05 17:12:55 -0700317#endif
Jeff Johnson295189b2012-06-20 16:38:30 -0700318 tANI_U8 spectrumMgtEnabled;
Jeff Johnsone7245742012-09-05 17:12:55 -0700319 /* *********************11H related*****************************/
320 //tANI_U32 gLim11hEnable;
321 tLimSpecMgmtInfo gLimSpecMgmt;
322 // CB Primary/Secondary Channel Switch Info
323 tLimChannelSwitchInfo gLimChannelSwitch;
324 /* *********************End 11H related*****************************/
Jeff Johnson295189b2012-06-20 16:38:30 -0700325
326 /*Flag to Track Status/Indicate HBFailure on this session */
327 tANI_BOOLEAN LimHBFailureStatus;
328 tANI_U32 gLimPhyMode;
Kiran Kumar Lokere2ac471f2013-05-30 16:08:48 -0700329 tANI_U8 amsduSupportedInBA;
Gopichand Nakkalab2d2c312013-01-04 11:41:02 -0800330 tANI_U8 txLdpcIniFeatureEnabled;
Gopichand Nakkala777e6032012-12-31 16:39:21 -0800331 /**
332 * Following is the place holder for free peer index pool.
333 * A non-zero value indicates that peer index is available
334 * for assignment.
335 */
336 tANI_U8 *gpLimPeerIdxpool;
337 tANI_U8 freePeerIdxHead;
338 tANI_U8 freePeerIdxTail;
339 tANI_U16 gLimNumOfCurrentSTAs;
Gopichand Nakkala2a0a1572013-02-10 21:39:16 -0800340#ifdef FEATURE_WLAN_TDLS
341 tANI_U32 peerAIDBitmap[2];
Atul Mittalbceb4a12014-11-27 18:50:19 +0530342 tANI_BOOLEAN tdlsChanSwitProhibited;
Gopichand Nakkala2a0a1572013-02-10 21:39:16 -0800343#endif
Gopichand Nakkalabe8653b2013-04-10 08:16:05 +0530344 tANI_BOOLEAN fWaitForProbeRsp;
345 tANI_BOOLEAN fIgnoreCapsChange;
Madan Mohan Koyyalamudi58c87792013-08-30 02:51:14 +0530346 tANI_BOOLEAN fDeauthReceived;
krunal soni8d13b092013-07-19 13:23:29 -0700347#ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM
348 tANI_S8 rssi;
349#endif
krunal soni5afa96c2013-09-06 22:19:02 -0700350 tANI_U8 isAmsduSupportInAMPDU;
krunal sonie9002db2013-11-25 14:24:17 -0800351 tANI_U8 isCoalesingInIBSSAllowed;
Agarwal Ashish87039eb2014-01-15 14:13:15 +0530352 tANI_BOOLEAN isCiscoVendorAP;
Sandeep Puligilla11d49a62014-01-30 12:05:16 +0530353 /* To hold OBSS Scan IE Parameters */
354 tSirOBSSHT40Param obssHT40ScanParam;
Rajesh Babu Prathipati043149f2014-06-06 13:33:45 +0530355 /* flag to indicate country code in beacon */
356 tANI_U8 countryInfoPresent;
Kumar Anand82c009f2014-05-29 00:29:42 -0700357 /* DSCP to UP mapping for HS 2.0 */
358 tSirQosMapSet QosMapSet;
Abhishek Singh28266f02014-11-05 17:22:19 +0530359 tANI_U8 isKeyInstalled;
Masti, Narayanraddi67ea5912015-01-08 12:34:05 +0530360 tANI_BOOLEAN is11Gonly;
Jeff Johnson295189b2012-06-20 16:38:30 -0700361}tPESession, *tpPESession;
362
363#define LIM_MAX_ACTIVE_SESSIONS 4
364
365
366/*-------------------------------------------------------------------------
367 Function declarations and documenation
368 ------------------------------------------------------------------------*/
369
370
371/*--------------------------------------------------------------------------
372
373 \brief peCreateSession() - creates a new PE session given the BSSID
374
375 This function returns the session context and the session ID if the session
376 corresponding to the passed BSSID is found in the PE session table.
377
378 \param pMac - pointer to global adapter context
379 \param bssid - BSSID of the new session
380 \param sessionId -session ID is returned here, if session is created.
381
382 \return tpPESession - pointer to the session context or NULL if session can not be created.
383
384 \sa
385
386 --------------------------------------------------------------------------*/
387tpPESession peCreateSession(tpAniSirGlobal pMac, tANI_U8 *bssid , tANI_U8* sessionId, tANI_U16 numSta);
388
389
390/*--------------------------------------------------------------------------
391 \brief peFindSessionByBssid() - looks up the PE session given the BSSID.
392
393 This function returns the session context and the session ID if the session
394 corresponding to the given BSSID is found in the PE session table.
395
396 \param pMac - pointer to global adapter context
397 \param bssid - BSSID of the session
398 \param sessionId -session ID is returned here, if session is found.
399
400 \return tpPESession - pointer to the session context or NULL if session is not found.
401
402 \sa
403 --------------------------------------------------------------------------*/
404tpPESession peFindSessionByBssid(tpAniSirGlobal pMac, tANI_U8* bssid, tANI_U8* sessionId);
405
406
407
408/*--------------------------------------------------------------------------
Leela Venkata Kiran Kumar Reddy Chirala3ca17902013-02-27 19:50:05 -0800409 \brief peFindSessionByBssIdx() - looks up the PE session given the bssIdx.
410
411 This function returns the session context if the session
412 corresponding to the given bssIdx is found in the PE session table.
413 \param pMac - pointer to global adapter context
414 \param bssIdx - bss index of the session
415 \return tpPESession - pointer to the session context or NULL if session is not found.
416 \sa
417 --------------------------------------------------------------------------*/
418tpPESession peFindSessionByBssIdx(tpAniSirGlobal pMac, tANI_U8 bssIdx);
419
420
421
422
423/*--------------------------------------------------------------------------
Jeff Johnson295189b2012-06-20 16:38:30 -0700424 \brief peFindSessionByPeerSta() - looks up the PE session given the Peer Station Address.
425
426 This function returns the session context and the session ID if the session
427 corresponding to the given destination address is found in the PE session table.
428
429 \param pMac - pointer to global adapter context
430 \param sa - Peer STA Address of the session
431 \param sessionId -session ID is returned here, if session is found.
432
433 \return tpPESession - pointer to the session context or NULL if session is not found.
434
435 \sa
436 --------------------------------------------------------------------------*/
437tpPESession peFindSessionByPeerSta(tpAniSirGlobal pMac, tANI_U8* sa, tANI_U8* sessionId);
438
439/*--------------------------------------------------------------------------
440 \brief peFindSessionBySessionId() - looks up the PE session given the session ID.
441
442 This function returns the session context if the session
443 corresponding to the given session ID is found in the PE session table.
444
445 \param pMac - pointer to global adapter context
446 \param sessionId -session ID for which session context needs to be looked up.
447
448 \return tpPESession - pointer to the session context or NULL if session is not found.
449
450 \sa
451 --------------------------------------------------------------------------*/
452 tpPESession peFindSessionBySessionId(tpAniSirGlobal pMac , tANI_U8 sessionId);
453
454/*--------------------------------------------------------------------------
455 \brief peFindSessionByBssid() - looks up the PE session given staid.
456
457 This function returns the session context and the session ID if the session
458 corresponding to the given StaId is found in the PE session table.
459
460 \param pMac - pointer to global adapter context
461 \param staid - StaId of the session
462 \param sessionId - session ID is returned here, if session is found.
463
464 \return tpPESession - pointer to the session context or NULL if session is not found.
465
466--------------------------------------------------------------------------*/
467 tpPESession peFindSessionByStaId(tpAniSirGlobal pMac, tANI_U8 staid, tANI_U8* sessionId);
468
469
470
471
472
473/*--------------------------------------------------------------------------
474 \brief peDeleteSession() - deletes the PE session given the session ID.
475
476
477 \param pMac - pointer to global adapter context
478 \param sessionId -session ID of the session which needs to be deleted.
479
480 \sa
481 --------------------------------------------------------------------------*/
482void peDeleteSession(tpAniSirGlobal pMac, tpPESession psessionEntry);
483
484
485/*--------------------------------------------------------------------------
486 \brief peDeleteSession() - Returns the SME session ID and Transaction ID .
487
488
489 \param pMac - pointer to global adapter context
490 \param sessionId -session ID of the session which needs to be deleted.
491
492 \sa
493 --------------------------------------------------------------------------*/
494
495
496#endif //#if !defined( __LIM_SESSION_H )
497
498
499
500
501