Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1 | /* |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 2 | * Copyright (c) 2012-2014 The Linux Foundation. All rights reserved. |
Kiet Lam | 0fb93dd | 2014-02-19 00:32:59 -0800 | [diff] [blame] | 3 | * |
| 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 Nakkala | 92f07d8 | 2013-01-08 21:16:34 -0800 | [diff] [blame] | 20 | */ |
Kiet Lam | 0fb93dd | 2014-02-19 00:32:59 -0800 | [diff] [blame] | 21 | |
| 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 Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 28 | #if !defined( __SMEINSIDE_H ) |
| 29 | #define __SMEINSIDE_H |
| 30 | |
| 31 | |
| 32 | /**========================================================================= |
| 33 | |
| 34 | \file smeInside.h |
| 35 | |
| 36 | \brief prototype for SME structures and APIs used insside SME |
| 37 | |
| 38 | Copyright 2008 (c) Qualcomm, Incorporated. All Rights Reserved. |
| 39 | |
| 40 | Qualcomm Confidential and Proprietary. |
| 41 | |
| 42 | ========================================================================*/ |
| 43 | |
| 44 | /* $Header$ */ |
| 45 | |
| 46 | /*-------------------------------------------------------------------------- |
| 47 | Include Files |
| 48 | ------------------------------------------------------------------------*/ |
| 49 | #include "vos_status.h" |
| 50 | #include "vos_lock.h" |
| 51 | #include "vos_trace.h" |
| 52 | #include "vos_memory.h" |
| 53 | #include "vos_types.h" |
| 54 | #include "sirApi.h" |
| 55 | #include "csrInternal.h" |
| 56 | #include "sme_QosApi.h" |
| 57 | #include "smeQosInternal.h" |
| 58 | |
| 59 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 60 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 61 | #include "oemDataInternal.h" |
| 62 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 63 | |
| 64 | #if defined WLAN_FEATURE_VOWIFI |
| 65 | #include "sme_RrmApi.h" |
| 66 | #endif |
| 67 | |
| 68 | |
| 69 | /*-------------------------------------------------------------------------- |
| 70 | Type declarations |
| 71 | ------------------------------------------------------------------------*/ |
| 72 | |
Gopichand Nakkala | 976e325 | 2013-01-03 15:45:56 -0800 | [diff] [blame] | 73 | #define SME_TOTAL_COMMAND 30 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 74 | |
| 75 | |
| 76 | typedef struct sGenericPmcCmd |
| 77 | { |
| 78 | tANI_U32 size; //sizeof the data in the union, if any |
| 79 | tRequestFullPowerReason fullPowerReason; |
| 80 | tANI_BOOLEAN fReleaseWhenDone; //if TRUE, the command shall not put back to the queue, free te memory instead. |
| 81 | union |
| 82 | { |
| 83 | tExitBmpsInfo exitBmpsInfo; |
| 84 | tSirSmeWowlEnterParams enterWowlInfo; |
| 85 | }u; |
| 86 | } tGenericPmcCmd; |
| 87 | |
| 88 | |
| 89 | typedef struct sGenericQosCmd |
| 90 | { |
| 91 | sme_QosWmmTspecInfo tspecInfo; |
| 92 | sme_QosEdcaAcType ac; |
| 93 | v_U8_t tspec_mask; |
| 94 | } tGenericQosCmd; |
| 95 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 96 | typedef struct sRemainChlCmd |
| 97 | { |
| 98 | tANI_U8 chn; |
| 99 | tANI_U8 phyMode; |
| 100 | tANI_U32 duration; |
Gopichand Nakkala | 924e455 | 2013-05-08 19:18:14 +0530 | [diff] [blame] | 101 | tANI_U8 isP2PProbeReqAllowed; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 102 | void* callback; |
| 103 | void* callbackCtx; |
| 104 | }tRemainChlCmd; |
| 105 | |
| 106 | typedef struct sNoACmd |
| 107 | { |
| 108 | tP2pPsConfig NoA; |
| 109 | } tNoACmd; |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 110 | #ifdef FEATURE_WLAN_TDLS |
| 111 | typedef struct TdlsSendMgmtInfo |
| 112 | { |
| 113 | tSirMacAddr peerMac; |
| 114 | tANI_U8 frameType; |
| 115 | tANI_U8 dialog; |
| 116 | tANI_U16 statusCode; |
Hoonki Lee | a34dd89 | 2013-02-05 22:56:02 -0800 | [diff] [blame] | 117 | tANI_U8 responder; |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 118 | tANI_U8 *buf; |
| 119 | tANI_U8 len; |
| 120 | } tTdlsSendMgmtCmdInfo; |
| 121 | |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 122 | typedef struct TdlsLinkEstablishInfo |
| 123 | { |
| 124 | tSirMacAddr peerMac; |
| 125 | tANI_U8 uapsdQueues; |
| 126 | tANI_U8 maxSp; |
| 127 | tANI_U8 isBufSta; |
Naresh Jayaram | dff88f9 | 2014-02-12 21:44:29 +0530 | [diff] [blame] | 128 | tANI_U8 isOffChannelSupported; |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 129 | tANI_U8 isResponder; |
Naresh Jayaram | dff88f9 | 2014-02-12 21:44:29 +0530 | [diff] [blame] | 130 | tANI_U8 supportedChannelsLen; |
| 131 | tANI_U8 supportedChannels[SIR_MAC_MAX_SUPP_CHANNELS]; |
| 132 | tANI_U8 supportedOperClassesLen; |
| 133 | tANI_U8 supportedOperClasses[SIR_MAC_MAX_SUPP_OPER_CLASSES]; |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 134 | } tTdlsLinkEstablishCmdInfo; |
| 135 | |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 136 | typedef struct TdlsAddStaInfo |
| 137 | { |
Gopichand Nakkala | 681989c | 2013-03-06 22:27:48 -0800 | [diff] [blame] | 138 | eTdlsAddOper tdlsAddOper; |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 139 | tSirMacAddr peerMac; |
Gopichand Nakkala | 681989c | 2013-03-06 22:27:48 -0800 | [diff] [blame] | 140 | tANI_U16 capability; |
| 141 | tANI_U8 extnCapability[SIR_MAC_MAX_EXTN_CAP]; |
| 142 | tANI_U8 supportedRatesLen; |
| 143 | tANI_U8 supportedRates[SIR_MAC_MAX_SUPP_RATES]; |
Hoonki Lee | 66b75f3 | 2013-04-16 18:30:07 -0700 | [diff] [blame] | 144 | tANI_U8 htcap_present; |
Gopichand Nakkala | 681989c | 2013-03-06 22:27:48 -0800 | [diff] [blame] | 145 | tSirHTCap HTCap; |
Hoonki Lee | 66b75f3 | 2013-04-16 18:30:07 -0700 | [diff] [blame] | 146 | tANI_U8 vhtcap_present; |
Gopichand Nakkala | 681989c | 2013-03-06 22:27:48 -0800 | [diff] [blame] | 147 | tSirVHTCap VHTCap; |
| 148 | tANI_U8 uapsdQueues; |
| 149 | tANI_U8 maxSp; |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 150 | } tTdlsAddStaCmdInfo; |
| 151 | |
| 152 | typedef struct TdlsDelStaInfo |
| 153 | { |
| 154 | tSirMacAddr peerMac; |
| 155 | } tTdlsDelStaCmdInfo; |
| 156 | #ifdef FEATURE_WLAN_TDLS_INTERNAL |
| 157 | typedef struct TdlsDisReqCmdinfo |
| 158 | { |
| 159 | tSirMacAddr peerMac; |
| 160 | tANI_U8 tdlsDisType; |
| 161 | } tTdlsDisReqCmdinfo; |
| 162 | |
| 163 | typedef struct tdlsLinkSetupReqCmdinfo |
| 164 | { |
| 165 | tSirMacAddr peerMac; |
| 166 | } tTdlsLinkSetupReqCmdinfo; |
| 167 | |
| 168 | typedef struct tdlsLinkTeardownCmdinfo |
| 169 | { |
| 170 | tSirMacAddr peerMac; |
| 171 | } tTdlsLinkTeardownCmdinfo; |
| 172 | #endif |
| 173 | /* |
| 174 | * TDLS cmd info, CMD from SME to PE. |
| 175 | */ |
| 176 | typedef struct s_tdls_cmd |
| 177 | { |
| 178 | tANI_U32 size; |
| 179 | union |
| 180 | { |
| 181 | #ifdef FEATURE_WLAN_TDLS_INTERNAL |
| 182 | tTdlsDisReqCmdinfo tdlsDisReqCmdInfo ; |
| 183 | tTdlsLinkSetupReqCmdinfo tdlsLinkSetupReqCmdInfo ; |
| 184 | tTdlsLinkTeardownCmdinfo tdlsLinkTeardownCmdInfo ; |
| 185 | //tEnterPeerUAPSDInfo enterUapsdInfo ; |
| 186 | //tExitPeerUAPSDinfo exitUapsdInfo ; |
| 187 | #endif |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 188 | tTdlsLinkEstablishCmdInfo tdlsLinkEstablishCmdInfo; |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 189 | tTdlsSendMgmtCmdInfo tdlsSendMgmtCmdInfo; |
| 190 | tTdlsAddStaCmdInfo tdlsAddStaCmdInfo; |
| 191 | tTdlsDelStaCmdInfo tdlsDelStaCmdInfo; |
| 192 | }u; |
| 193 | } tTdlsCmd; |
| 194 | #endif /* FEATURE_WLAN_TDLS */ |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 195 | |
| 196 | typedef struct tagSmeCmd |
| 197 | { |
| 198 | tListElem Link; |
| 199 | eSmeCommandType command; |
| 200 | tANI_U32 sessionId; |
| 201 | union |
| 202 | { |
| 203 | tScanCmd scanCmd; |
| 204 | tRoamCmd roamCmd; |
| 205 | tWmStatusChangeCmd wmStatusChangeCmd; |
| 206 | tSetKeyCmd setKeyCmd; |
| 207 | tRemoveKeyCmd removeKeyCmd; |
| 208 | tGenericPmcCmd pmcCmd; |
| 209 | tGenericQosCmd qosCmd; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 210 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 211 | tOemDataCmd oemDataCmd; |
| 212 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 213 | tRemainChlCmd remainChlCmd; |
| 214 | tNoACmd NoACmd; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 215 | tAddStaForSessionCmd addStaSessionCmd; |
| 216 | tDelStaForSessionCmd delStaSessionCmd; |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 217 | #ifdef FEATURE_WLAN_TDLS |
| 218 | tTdlsCmd tdlsCmd; |
| 219 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 220 | }u; |
| 221 | }tSmeCmd; |
| 222 | |
| 223 | |
| 224 | |
| 225 | /*-------------------------------------------------------------------------- |
| 226 | Internal to SME |
| 227 | ------------------------------------------------------------------------*/ |
| 228 | |
| 229 | //To get a command buffer |
| 230 | //Return: NULL if there no more command buffer left |
| 231 | tSmeCmd *smeGetCommandBuffer( tpAniSirGlobal pMac ); |
| 232 | void smePushCommand( tpAniSirGlobal pMac, tSmeCmd *pCmd, tANI_BOOLEAN fHighPriority ); |
| 233 | void smeProcessPendingQueue( tpAniSirGlobal pMac ); |
| 234 | void smeReleaseCommand(tpAniSirGlobal pMac, tSmeCmd *pCmd); |
Madan Mohan Koyyalamudi | 2125599 | 2013-08-01 18:00:25 +0530 | [diff] [blame] | 235 | void purgeSmeSessionCmdList(tpAniSirGlobal pMac, tANI_U32 sessionId, |
| 236 | tDblLinkList *pList); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 237 | tANI_BOOLEAN smeCommandPending(tpAniSirGlobal pMac); |
| 238 | tANI_BOOLEAN pmcProcessCommand( tpAniSirGlobal pMac, tSmeCmd *pCommand ); |
| 239 | //this function is used to abort a command where the normal processing of the command |
| 240 | //is terminated without going through the normal path. it is here to take care of callbacks for |
| 241 | //the command, if applicable. |
| 242 | void pmcAbortCommand( tpAniSirGlobal pMac, tSmeCmd *pCommand, tANI_BOOLEAN fStopping ); |
| 243 | tANI_BOOLEAN qosProcessCommand( tpAniSirGlobal pMac, tSmeCmd *pCommand ); |
| 244 | |
| 245 | eHalStatus csrProcessScanCommand( tpAniSirGlobal pMac, tSmeCmd *pCommand ); |
| 246 | eHalStatus csrRoamProcessCommand( tpAniSirGlobal pMac, tSmeCmd *pCommand ); |
| 247 | void csrRoamProcessWmStatusChangeCommand( tpAniSirGlobal pMac, tSmeCmd *pCommand ); |
| 248 | void csrReinitRoamCmd(tpAniSirGlobal pMac, tSmeCmd *pCommand); |
| 249 | void csrReinitWmStatusChangeCmd(tpAniSirGlobal pMac, tSmeCmd *pCommand); |
| 250 | void csrReinitSetKeyCmd(tpAniSirGlobal pMac, tSmeCmd *pCommand); |
| 251 | void csrReinitRemoveKeyCmd(tpAniSirGlobal pMac, tSmeCmd *pCommand); |
| 252 | eHalStatus csrRoamProcessSetKeyCommand( tpAniSirGlobal pMac, tSmeCmd *pCommand ); |
| 253 | eHalStatus csrRoamProcessRemoveKeyCommand( tpAniSirGlobal pMac, tSmeCmd *pCommand ); |
| 254 | void csrReleaseCommandSetKey(tpAniSirGlobal pMac, tSmeCmd *pCommand); |
| 255 | void csrReleaseCommandRemoveKey(tpAniSirGlobal pMac, tSmeCmd *pCommand); |
| 256 | //eHalStatus csrRoamIssueSetKeyCommand( tpAniSirGlobal pMac, tANI_U32 sessionId, tCsrRoamSetKey *pSetKey, tANI_U32 roamId ); |
| 257 | eHalStatus csrRoamIssueRemoveKeyCommand( tpAniSirGlobal pMac, tANI_U32 sessionId, |
| 258 | tCsrRoamRemoveKey *pRemoveKey, tANI_U32 roamId ); |
| 259 | eHalStatus csrIsFullPowerNeeded( tpAniSirGlobal pMac, tSmeCmd *pCommand, tRequestFullPowerReason *pReason, |
| 260 | tANI_BOOLEAN *pfNeedPower); |
| 261 | void csrAbortCommand( tpAniSirGlobal pMac, tSmeCmd *pCommand, tANI_BOOLEAN fStopping ); |
| 262 | |
| 263 | eHalStatus sme_AcquireGlobalLock( tSmeStruct *psSme); |
| 264 | eHalStatus sme_ReleaseGlobalLock( tSmeStruct *psSme); |
| 265 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 266 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 267 | eHalStatus oemData_ProcessOemDataReqCommand(tpAniSirGlobal pMac, tSmeCmd *pCommand); |
| 268 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 269 | |
| 270 | eHalStatus csrProcessAddStaSessionCommand( tpAniSirGlobal pMac, tSmeCmd *pCommand ); |
| 271 | eHalStatus csrProcessAddStaSessionRsp( tpAniSirGlobal pMac, tANI_U8 *pMsg); |
| 272 | eHalStatus csrProcessDelStaSessionCommand( tpAniSirGlobal pMac, tSmeCmd *pCommand ); |
| 273 | eHalStatus csrProcessDelStaSessionRsp( tpAniSirGlobal pMac, tANI_U8 *pMsg); |
| 274 | |
| 275 | #ifdef WLAN_NS_OFFLOAD |
| 276 | /* --------------------------------------------------------------------------- |
| 277 | \fn pmcSetNSOffload |
| 278 | \brief Set the host offload feature. |
| 279 | \param hHal - The handle returned by macOpen. |
| 280 | \param pRequest - Pointer to the offload request. |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 281 | \param sessionId . Session index of the session |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 282 | \return eHalStatus |
| 283 | eHAL_STATUS_FAILURE Cannot set the offload. |
| 284 | eHAL_STATUS_SUCCESS Request accepted. |
| 285 | ---------------------------------------------------------------------------*/ |
Madan Mohan Koyyalamudi | 96dd30d | 2012-10-05 17:24:51 -0700 | [diff] [blame] | 286 | eHalStatus pmcSetNSOffload (tHalHandle hHal, tpSirHostOffloadReq pRequest, tANI_U8 sessionId); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 287 | #endif //WLAN_NS_OFFLOAD |
| 288 | |
| 289 | #ifdef FEATURE_WLAN_SCAN_PNO |
| 290 | eHalStatus pmcSetPreferredNetworkList(tHalHandle hHal, tpSirPNOScanReq pRequest, tANI_U8 sessionId, preferredNetworkFoundIndCallback callbackRoutine, void *callbackContext); |
| 291 | eHalStatus pmcUpdateScanParams(tHalHandle hHal, tCsrConfig *pRequest, tCsrChannel *pChannelList, tANI_U8 b11dResolved); |
| 292 | eHalStatus pmcSetRssiFilter(tHalHandle hHal, v_U8_t rssiThreshold); |
| 293 | #endif // FEATURE_WLAN_SCAN_PNO |
Tushnim Bhattacharyya | 3a37def | 2013-02-24 11:11:15 -0800 | [diff] [blame] | 294 | eHalStatus pmcSetPowerParams(tHalHandle hHal, tSirSetPowerParamsReq* pwParams, tANI_BOOLEAN forced); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 295 | |
| 296 | tANI_BOOLEAN csrRoamGetConcurrencyConnectStatusForBmps(tpAniSirGlobal pMac); |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 297 | #ifdef FEATURE_WLAN_TDLS |
| 298 | eHalStatus csrTdlsSendMgmtReq(tHalHandle hHal, tANI_U8 sessionId, tCsrTdlsSendMgmt *tdlsSendMgmt); |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 299 | VOS_STATUS csrTdlsSendLinkEstablishParams(tHalHandle hHal, |
| 300 | tANI_U8 sessionId, |
| 301 | tSirMacAddr peerMac, |
| 302 | tCsrTdlsLinkEstablishParams *tdlsLinkEstablishParams); |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 303 | eHalStatus csrTdlsAddPeerSta(tHalHandle hHal, tANI_U8 sessionId, tSirMacAddr peerMac); |
Gopichand Nakkala | 681989c | 2013-03-06 22:27:48 -0800 | [diff] [blame] | 304 | eHalStatus csrTdlsChangePeerSta(tHalHandle hHal, tANI_U8 sessionId, tSirMacAddr peerMac, tCsrStaParams *pstaParams); |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 305 | eHalStatus csrTdlsDelPeerSta(tHalHandle hHal, tANI_U8 sessionId, tSirMacAddr peerMac); |
| 306 | eHalStatus csrTdlsProcessCmd(tpAniSirGlobal pMac,tSmeCmd *pCommand ); |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 307 | eHalStatus csrTdlsProcessLinkEstablish( tpAniSirGlobal pMac, tSmeCmd *cmd ); |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 308 | eHalStatus tdlsMsgProcessor(tpAniSirGlobal pMac,v_U16_t msg_type, |
| 309 | void *pMsgBuf); |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 310 | #ifdef FEATURE_WLAN_TDLS_INTERNAL |
| 311 | eHalStatus csrTdlsDiscoveryReq(tHalHandle hHal, tANI_U8 sessionId, |
| 312 | tCsrTdlsDisRequest *tdlsDisReq); |
| 313 | eHalStatus csrTdlsSetupReq(tHalHandle hHal, tANI_U8 sessionId, |
| 314 | tCsrTdlsSetupRequest *tdlsSetupReq); |
| 315 | eHalStatus csrTdlsTeardownReq(tHalHandle hHal, tANI_U8 sessionId, |
| 316 | tCsrTdlsTeardownRequest *teardown); |
| 317 | #endif |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 318 | #endif /* FEATURE_WLAN_TDLS */ |
| 319 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 320 | #if defined (WLAN_FEATURE_VOWIFI_11R) || defined (FEATURE_WLAN_ESE) || defined(FEATURE_WLAN_LFR) |
Srinivas Girigowda | 5cecb20 | 2013-10-08 09:13:25 -0700 | [diff] [blame] | 321 | eHalStatus csrFlushCfgBgScanRoamChannelList(tpAniSirGlobal pMac); |
Srinivas Girigowda | 100eb32 | 2013-03-15 16:48:20 -0700 | [diff] [blame] | 322 | eHalStatus csrCreateBgScanRoamChannelList(tpAniSirGlobal pMac, |
| 323 | const tANI_U8 *pChannelList, |
| 324 | const tANI_U8 numChannels); |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 325 | eHalStatus csrUpdateBgScanConfigIniChannelList(tpAniSirGlobal pMac, eCsrBand eBand); |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 326 | #endif |
| 327 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 328 | #if defined(FEATURE_WLAN_ESE) && defined(FEATURE_WLAN_ESE_UPLOAD) |
Srinivas Girigowda | 5cecb20 | 2013-10-08 09:13:25 -0700 | [diff] [blame] | 329 | eHalStatus csrCreateRoamScanChannelList(tpAniSirGlobal pMac, |
| 330 | tANI_U8 *pChannelList, |
| 331 | tANI_U8 numChannels, |
| 332 | const eCsrBand eBand); |
| 333 | #endif |
Kalikinkar Dhara | a498897 | 2013-10-28 13:39:54 -0700 | [diff] [blame] | 334 | void activeListCmdTimeoutHandle(void *userData); |
Srinivas Girigowda | de69741 | 2013-02-14 16:31:48 -0800 | [diff] [blame] | 335 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 336 | #endif //#if !defined( __SMEINSIDE_H ) |