Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1 | /* |
Kiet Lam | a7f454d | 2014-07-24 12:04:06 -0700 | [diff] [blame] | 2 | * Copyright (c) 2012-2013 The Linux Foundation. All rights reserved. |
Kiet Lam | 842dad0 | 2014-02-18 18:44:02 -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. |
| 20 | */ |
| 21 | |
| 22 | /* |
Kiet Lam | a7f454d | 2014-07-24 12:04:06 -0700 | [diff] [blame] | 23 | * This file was originally distributed by Qualcomm Atheros, Inc. |
| 24 | * under proprietary terms before Copyright ownership was assigned |
| 25 | * to the Linux Foundation. |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 26 | */ |
Kiet Lam | 842dad0 | 2014-02-18 18:44:02 -0800 | [diff] [blame] | 27 | |
| 28 | |
Kiet Lam | a7f454d | 2014-07-24 12:04:06 -0700 | [diff] [blame] | 29 | |
| 30 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 31 | /* |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 32 | * This file limTypes.h contains the definitions used by all |
| 33 | * all LIM modules. |
| 34 | * Author: Chandra Modumudi |
| 35 | * Date: 02/11/02 |
| 36 | * History:- |
| 37 | * Date Modified by Modification Information |
| 38 | * -------------------------------------------------------------------- |
| 39 | * |
| 40 | */ |
| 41 | #ifndef __LIM_TYPES_H |
| 42 | #define __LIM_TYPES_H |
| 43 | |
| 44 | #include "wniApi.h" |
| 45 | #include "sirApi.h" |
| 46 | #include "sirCommon.h" |
| 47 | #include "sirMacProtDef.h" |
| 48 | #include "utilsApi.h" |
| 49 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 50 | #include "wlan_qct_wdi_ds.h" |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 51 | |
| 52 | #include "limApi.h" |
| 53 | #include "limDebug.h" |
| 54 | #include "limSendSmeRspMessages.h" |
| 55 | #include "sysGlobal.h" |
| 56 | #include "dphGlobal.h" |
| 57 | #include "parserApi.h" |
| 58 | |
| 59 | #define LINK_TEST_DEFER 1 |
| 60 | |
| 61 | #define TRACE_EVENT_CNF_TIMER_DEACT 0x6600 |
| 62 | #define TRACE_EVENT_CNF_TIMER_ACT 0x6601 |
| 63 | #define TRACE_EVENT_AUTH_RSP_TIMER_DEACT 0x6602 |
| 64 | #define TRACE_EVENT_AUTH_RSP_TIMER_ACT 0x6603 |
| 65 | |
| 66 | // MLM message types |
| 67 | #define LIM_MLM_MSG_START 1000 |
| 68 | #define LIM_MLM_SCAN_REQ LIM_MLM_MSG_START |
Madan Mohan Koyyalamudi | a53c4dc | 2012-11-13 10:35:42 -0800 | [diff] [blame] | 69 | #define LIM_MLM_SCAN_CNF (LIM_MLM_MSG_START + 1) |
| 70 | #define LIM_MLM_START_REQ (LIM_MLM_MSG_START + 2) |
| 71 | #define LIM_MLM_START_CNF (LIM_MLM_MSG_START + 3) |
| 72 | #define LIM_MLM_JOIN_REQ (LIM_MLM_MSG_START + 4) |
| 73 | #define LIM_MLM_JOIN_CNF (LIM_MLM_MSG_START + 5) |
| 74 | #define LIM_MLM_AUTH_REQ (LIM_MLM_MSG_START + 6) |
| 75 | #define LIM_MLM_AUTH_CNF (LIM_MLM_MSG_START + 7) |
| 76 | #define LIM_MLM_AUTH_IND (LIM_MLM_MSG_START + 8) |
| 77 | #define LIM_MLM_ASSOC_REQ (LIM_MLM_MSG_START + 9) |
| 78 | #define LIM_MLM_ASSOC_CNF (LIM_MLM_MSG_START + 10) |
| 79 | #define LIM_MLM_ASSOC_IND (LIM_MLM_MSG_START + 11) |
| 80 | #define LIM_MLM_DISASSOC_REQ (LIM_MLM_MSG_START + 12) |
| 81 | #define LIM_MLM_DISASSOC_CNF (LIM_MLM_MSG_START + 13) |
| 82 | #define LIM_MLM_DISASSOC_IND (LIM_MLM_MSG_START + 14) |
| 83 | #define LIM_MLM_REASSOC_REQ (LIM_MLM_MSG_START + 15) |
| 84 | #define LIM_MLM_REASSOC_CNF (LIM_MLM_MSG_START + 16) |
| 85 | #define LIM_MLM_REASSOC_IND (LIM_MLM_MSG_START + 17) |
| 86 | #define LIM_MLM_DEAUTH_REQ (LIM_MLM_MSG_START + 18) |
| 87 | #define LIM_MLM_DEAUTH_CNF (LIM_MLM_MSG_START + 19) |
| 88 | #define LIM_MLM_DEAUTH_IND (LIM_MLM_MSG_START + 20) |
| 89 | #define LIM_MLM_TSPEC_REQ (LIM_MLM_MSG_START + 21) |
| 90 | #define LIM_MLM_TSPEC_CNF (LIM_MLM_MSG_START + 22) |
| 91 | #define LIM_MLM_TSPEC_IND (LIM_MLM_MSG_START + 23) |
| 92 | #define LIM_MLM_SETKEYS_REQ (LIM_MLM_MSG_START + 24) |
| 93 | #define LIM_MLM_SETKEYS_CNF (LIM_MLM_MSG_START + 25) |
| 94 | #define LIM_MLM_LINK_TEST_STOP_REQ (LIM_MLM_MSG_START + 30) |
| 95 | #define LIM_MLM_PURGE_STA_IND (LIM_MLM_MSG_START + 31) |
| 96 | #define LIM_MLM_ADDBA_REQ (LIM_MLM_MSG_START + 32) |
| 97 | #define LIM_MLM_ADDBA_CNF (LIM_MLM_MSG_START + 33) |
| 98 | #define LIM_MLM_ADDBA_IND (LIM_MLM_MSG_START + 34) |
| 99 | #define LIM_MLM_ADDBA_RSP (LIM_MLM_MSG_START + 35) |
| 100 | #define LIM_MLM_DELBA_REQ (LIM_MLM_MSG_START + 36) |
| 101 | #define LIM_MLM_DELBA_CNF (LIM_MLM_MSG_START + 37) |
| 102 | #define LIM_MLM_DELBA_IND (LIM_MLM_MSG_START + 38) |
| 103 | #define LIM_MLM_REMOVEKEY_REQ (LIM_MLM_MSG_START + 39) |
| 104 | #define LIM_MLM_REMOVEKEY_CNF (LIM_MLM_MSG_START + 40) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 105 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 106 | #ifdef FEATURE_OEM_DATA_SUPPORT |
Madan Mohan Koyyalamudi | a53c4dc | 2012-11-13 10:35:42 -0800 | [diff] [blame] | 107 | #define LIM_MLM_OEM_DATA_REQ (LIM_MLM_MSG_START + 41) |
| 108 | #define LIM_MLM_OEM_DATA_CNF (LIM_MLM_MSG_START + 42) |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 109 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 110 | |
| 111 | #define LIM_HASH_ADD 0 |
| 112 | #define LIM_HASH_UPDATE 1 |
| 113 | |
| 114 | #define LIM_WEP_IN_FC 1 |
| 115 | #define LIM_NO_WEP_IN_FC 0 |
| 116 | |
| 117 | #define LIM_DECRYPT_ICV_FAIL 1 |
| 118 | |
| 119 | /// Definitions to distinquish between Association/Reassociaton |
| 120 | #define LIM_ASSOC 0 |
| 121 | #define LIM_REASSOC 1 |
| 122 | |
| 123 | /// Minimum Memory blocks require for different scenario |
| 124 | #define LIM_MIN_MEM_ASSOC 4 |
| 125 | |
| 126 | /// Verifies whether given mac addr matches the CURRENT Bssid |
Kiet Lam | b123319 | 2013-11-28 13:38:20 +0530 | [diff] [blame] | 127 | #define IS_CURRENT_BSSID(pMac, addr,psessionEntry) (vos_mem_compare( addr, \ |
| 128 | psessionEntry->bssId, \ |
| 129 | sizeof(psessionEntry->bssId))) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 130 | /// Verifies whether given addr matches the REASSOC Bssid |
Kiet Lam | b123319 | 2013-11-28 13:38:20 +0530 | [diff] [blame] | 131 | #define IS_REASSOC_BSSID(pMac, addr,psessionEntry) (vos_mem_compare( addr, \ |
| 132 | psessionEntry->limReAssocbssId, \ |
| 133 | sizeof(psessionEntry->limReAssocbssId))) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 134 | |
| 135 | #define REQ_TYPE_REGISTRAR (0x2) |
| 136 | #define REQ_TYPE_WLAN_MANAGER_REGISTRAR (0x3) |
| 137 | |
| 138 | #define RESP_TYPE_REGISTRAR (0x2) |
| 139 | #define RESP_TYPE_ENROLLEE_INFO_ONLY (0x0) |
| 140 | #define RESP_TYPE_ENROLLEE_OPEN_8021X (0x1) |
| 141 | #define RESP_TYPE_AP (0x3) |
| 142 | #define LIM_TX_FRAMES_THRESHOLD_ON_CHIP 300 |
| 143 | |
| 144 | |
| 145 | // enums used by LIM are as follows |
| 146 | |
| 147 | enum eLimDisassocTrigger |
| 148 | { |
| 149 | eLIM_HOST_DISASSOC, |
| 150 | eLIM_PEER_ENTITY_DISASSOC, |
| 151 | eLIM_LINK_MONITORING_DISASSOC, |
| 152 | eLIM_PROMISCUOUS_MODE_DISASSOC, |
| 153 | eLIM_HOST_DEAUTH, |
| 154 | eLIM_PEER_ENTITY_DEAUTH, |
| 155 | eLIM_LINK_MONITORING_DEAUTH, |
| 156 | eLIM_JOIN_FAILURE, |
| 157 | eLIM_REASSOC_REJECT |
| 158 | }; |
| 159 | |
| 160 | /* Reason code to determine the channel change context while sending |
| 161 | * WDA_CHNL_SWITCH_REQ message to HAL |
| 162 | */ |
| 163 | enum eChannelChangeReasonCodes |
| 164 | { |
| 165 | LIM_SWITCH_CHANNEL_REASSOC, |
| 166 | LIM_SWITCH_CHANNEL_JOIN, |
| 167 | LIM_SWITCH_CHANNEL_OPERATION, // Generic change channel |
Kalikinkar dhara | 085c02f | 2014-02-28 15:32:12 -0800 | [diff] [blame] | 168 | LIM_SWITCH_CHANNEL_CSA, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 169 | }; |
| 170 | |
| 171 | typedef struct sLimAuthRspTimeout |
| 172 | { |
| 173 | tSirMacAddr peerMacAddr; |
| 174 | } tLimAuthRspTimeout; |
| 175 | |
| 176 | typedef struct sLimMlmStartReq |
| 177 | { |
| 178 | tSirMacSSid ssId; |
| 179 | tSirBssType bssType; |
| 180 | tSirMacAddr bssId; |
| 181 | tSirMacBeaconInterval beaconPeriod; |
| 182 | tANI_U8 dtimPeriod; |
| 183 | tSirMacCfParamSet cfParamSet; |
| 184 | tSirMacChanNum channelNumber; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 185 | ePhyChanBondState cbMode; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 186 | tANI_U16 atimWindow; |
| 187 | tSirMacRateSet rateSet; |
| 188 | tANI_U8 sessionId; //Added For BT-AMP Support |
| 189 | |
| 190 | // Parameters reqd for new HAL (message) interface |
| 191 | tSirNwType nwType; |
| 192 | tANI_U8 htCapable; |
| 193 | tSirMacHTOperatingMode htOperMode; |
| 194 | tANI_U8 dualCTSProtection; |
| 195 | tANI_U8 txChannelWidthSet; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 196 | tANI_U8 ssidHidden; |
| 197 | tANI_U8 wps_state; |
| 198 | tANI_U8 obssProtEnabled; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 199 | } tLimMlmStartReq, *tpLimMlmStartReq; |
| 200 | |
| 201 | typedef struct sLimMlmStartCnf |
| 202 | { |
| 203 | tSirResultCodes resultCode; |
| 204 | tANI_U8 sessionId; |
| 205 | } tLimMlmStartCnf, *tpLimMlmStartCnf; |
| 206 | |
| 207 | typedef struct sLimMlmScanCnf |
| 208 | { |
| 209 | tSirResultCodes resultCode; |
| 210 | tANI_U16 scanResultLength; |
| 211 | tSirBssDescription bssDescription[1]; |
| 212 | tANI_U8 sessionId; |
| 213 | } tLimMlmScanCnf, *tpLimMlmScanCnf; |
| 214 | |
| 215 | typedef struct sLimScanResult |
| 216 | { |
| 217 | tANI_U16 numBssDescriptions; |
| 218 | tSirBssDescription bssDescription[1]; |
| 219 | } tLimScanResult; |
| 220 | |
| 221 | typedef struct sLimMlmJoinCnf |
| 222 | { |
| 223 | tSirResultCodes resultCode; |
| 224 | tANI_U16 protStatusCode; |
| 225 | tANI_U8 sessionId; |
| 226 | } tLimMlmJoinCnf, *tpLimMlmJoinCnf; |
| 227 | |
| 228 | typedef struct sLimMlmAssocReq |
| 229 | { |
| 230 | tSirMacAddr peerMacAddr; |
| 231 | tANI_U32 assocFailureTimeout; |
| 232 | tANI_U16 capabilityInfo; |
| 233 | tSirMacListenInterval listenInterval; |
| 234 | tANI_U8 sessionId; |
| 235 | } tLimMlmAssocReq, *tpLimMlmAssocReq; |
| 236 | |
| 237 | typedef struct sLimMlmAssocCnf |
| 238 | { |
| 239 | tSirResultCodes resultCode; //Internal status code. |
| 240 | tANI_U16 protStatusCode; //Protocol Status code. |
| 241 | tANI_U8 sessionId; |
| 242 | } tLimMlmAssocCnf, *tpLimMlmAssocCnf; |
| 243 | |
| 244 | typedef struct sLimMlmAssocInd |
| 245 | { |
| 246 | tSirMacAddr peerMacAddr; |
| 247 | tANI_U16 aid; |
| 248 | tAniAuthType authType; |
| 249 | tAniSSID ssId; |
| 250 | tSirRSNie rsnIE; |
Jeff Johnson | 1250df4 | 2012-12-10 14:31:52 -0800 | [diff] [blame] | 251 | tSirAddie addIE; // additional IE received from the peer, which possibly includes WSC IE and/or P2P IE. |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 252 | tSirMacCapabilityInfo capabilityInfo; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 253 | tAniBool spectrumMgtIndicator; |
| 254 | tSirMacPowerCapInfo powerCap; |
| 255 | tSirSupChnl supportedChannels; |
| 256 | tANI_U8 sessionId; |
| 257 | |
| 258 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 259 | tAniBool WmmStaInfoPresent; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 260 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 261 | // Required for indicating the frames to upper layer |
| 262 | tANI_U32 beaconLength; |
| 263 | tANI_U8* beaconPtr; |
| 264 | tANI_U32 assocReqLength; |
| 265 | tANI_U8* assocReqPtr; |
| 266 | } tLimMlmAssocInd, *tpLimMlmAssocInd; |
| 267 | |
| 268 | typedef struct sLimMlmReassocReq |
| 269 | { |
| 270 | tSirMacAddr peerMacAddr; |
| 271 | tANI_U32 reassocFailureTimeout; |
| 272 | tANI_U16 capabilityInfo; |
| 273 | tSirMacListenInterval listenInterval; |
| 274 | tANI_U8 sessionId; |
| 275 | } tLimMlmReassocReq, *tpLimMlmReassocReq; |
| 276 | |
| 277 | typedef struct sLimMlmReassocCnf |
| 278 | { |
| 279 | tSirResultCodes resultCode; |
| 280 | tANI_U16 protStatusCode; //Protocol Status code. |
| 281 | tANI_U8 sessionId; |
| 282 | } tLimMlmReassocCnf, *tpLimMlmReassocCnf; |
| 283 | |
| 284 | typedef struct sLimMlmReassocInd |
| 285 | { |
| 286 | tSirMacAddr peerMacAddr; |
| 287 | tSirMacAddr currentApAddr; |
| 288 | tANI_U16 aid; |
| 289 | tAniAuthType authType; |
| 290 | tAniSSID ssId; |
| 291 | tSirRSNie rsnIE; |
Jeff Johnson | 1250df4 | 2012-12-10 14:31:52 -0800 | [diff] [blame] | 292 | tSirAddie addIE; // additional IE received from the peer, which can be WSC IE and/or P2P IE. |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 293 | tSirMacCapabilityInfo capabilityInfo; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 294 | tAniBool spectrumMgtIndicator; |
| 295 | tSirMacPowerCapInfo powerCap; |
| 296 | tSirSupChnl supportedChannels; |
| 297 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 298 | tAniBool WmmStaInfoPresent; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 299 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 300 | // Required for indicating the frames to upper layer |
| 301 | tANI_U32 beaconLength; |
| 302 | tANI_U8* beaconPtr; |
| 303 | tANI_U32 assocReqLength; |
| 304 | tANI_U8* assocReqPtr; |
| 305 | } tLimMlmReassocInd, *tpLimMlmReassocInd; |
| 306 | |
| 307 | typedef struct sLimMlmAuthCnf |
| 308 | { |
| 309 | tSirMacAddr peerMacAddr; |
| 310 | tAniAuthType authType; |
| 311 | tSirResultCodes resultCode; |
| 312 | tANI_U16 protStatusCode; |
| 313 | tANI_U8 sessionId; |
| 314 | } tLimMlmAuthCnf, *tpLimMlmAuthCnf; |
| 315 | |
| 316 | typedef struct sLimMlmAuthInd |
| 317 | { |
| 318 | tSirMacAddr peerMacAddr; |
| 319 | tAniAuthType authType; |
| 320 | tANI_U8 sessionId; |
| 321 | } tLimMlmAuthInd, *tpLimMlmAuthInd; |
| 322 | |
| 323 | typedef struct sLimMlmDeauthReq |
| 324 | { |
| 325 | tSirMacAddr peerMacAddr; |
| 326 | tANI_U16 reasonCode; |
| 327 | tANI_U16 deauthTrigger; |
| 328 | tANI_U16 aid; |
| 329 | tANI_U8 sessionId; //Added for BT-AMP SUPPORT |
| 330 | |
| 331 | } tLimMlmDeauthReq, *tpLimMlmDeauthReq; |
| 332 | |
| 333 | typedef struct sLimMlmDeauthCnf |
| 334 | { |
| 335 | tSirMacAddr peerMacAddr; |
| 336 | tSirResultCodes resultCode; |
| 337 | tANI_U16 deauthTrigger; |
| 338 | tANI_U16 aid; |
| 339 | tANI_U8 sessionId; |
| 340 | } tLimMlmDeauthCnf, *tpLimMLmDeauthCnf; |
| 341 | |
| 342 | typedef struct sLimMlmDeauthInd |
| 343 | { |
| 344 | tSirMacAddr peerMacAddr; |
| 345 | tANI_U16 reasonCode; |
| 346 | tANI_U16 deauthTrigger; |
| 347 | tANI_U16 aid; |
| 348 | } tLimMlmDeauthInd, *tpLimMlmDeauthInd; |
| 349 | |
| 350 | typedef struct sLimMlmDisassocReq |
| 351 | { |
| 352 | tSirMacAddr peerMacAddr; |
| 353 | tANI_U16 reasonCode; |
| 354 | tANI_U16 disassocTrigger; |
| 355 | tANI_U16 aid; |
| 356 | tANI_U8 sessionId; |
| 357 | } tLimMlmDisassocReq, *tpLimMlmDisassocReq; |
| 358 | |
| 359 | typedef struct sLimMlmDisassocCnf |
| 360 | { |
| 361 | tSirMacAddr peerMacAddr; |
| 362 | tSirResultCodes resultCode; |
| 363 | tANI_U16 disassocTrigger; |
| 364 | tANI_U16 aid; |
| 365 | tANI_U8 sessionId; |
| 366 | } tLimMlmDisassocCnf, *tpLimMlmDisassocCnf; |
| 367 | |
| 368 | typedef struct sLimMlmDisassocInd |
| 369 | { |
| 370 | tSirMacAddr peerMacAddr; |
| 371 | tANI_U16 reasonCode; |
| 372 | tANI_U16 disassocTrigger; |
| 373 | tANI_U16 aid; |
| 374 | tANI_U8 sessionId; |
| 375 | } tLimMlmDisassocInd, *tpLimMlmDisassocInd; |
| 376 | |
| 377 | typedef struct sLimMlmPurgeStaReq |
| 378 | { |
| 379 | tSirMacAddr peerMacAddr; |
| 380 | tANI_U16 aid; |
| 381 | tANI_U8 sessionId;//Added For BT-AMP Support |
| 382 | } tLimMlmPurgeStaReq, *tpLimMlmPurgeStaReq; |
| 383 | |
| 384 | typedef struct sLimMlmPurgeStaInd |
| 385 | { |
| 386 | tSirMacAddr peerMacAddr; |
| 387 | tANI_U16 reasonCode; |
| 388 | tANI_U16 purgeTrigger; |
| 389 | tANI_U16 aid; |
| 390 | tANI_U8 sessionId; |
| 391 | } tLimMlmPurgeStaInd, *tpLimMlmPurgeStaInd; |
| 392 | |
| 393 | typedef struct sLimMlmSetKeysReq |
| 394 | { |
| 395 | tSirMacAddr peerMacAddr; |
| 396 | tANI_U8 sessionId; //Added For BT-AMP Support |
| 397 | tANI_U16 aid; |
| 398 | tAniEdType edType; // Encryption/Decryption type |
| 399 | tANI_U8 numKeys; |
| 400 | tSirKeys key[SIR_MAC_MAX_NUM_OF_DEFAULT_KEYS]; |
| 401 | } tLimMlmSetKeysReq, *tpLimMlmSetKeysReq; |
| 402 | |
| 403 | typedef struct sLimMlmSetKeysCnf |
| 404 | { |
| 405 | tSirMacAddr peerMacAddr; |
| 406 | tANI_U16 resultCode; |
| 407 | tANI_U16 aid; |
| 408 | tANI_U8 sessionId; |
| 409 | } tLimMlmSetKeysCnf, *tpLimMlmSetKeysCnf; |
| 410 | |
| 411 | typedef struct sLimMlmRemoveKeyReq |
| 412 | { |
| 413 | tSirMacAddr peerMacAddr; |
| 414 | tANI_U8 sessionId; //Added FOr BT-AMP Support |
| 415 | tAniEdType edType; // Encryption/Decryption type |
| 416 | tANI_U8 wepType; //STATIC / DYNAMIC specifier |
| 417 | tANI_U8 keyId; //Key Id To be removed. |
| 418 | tANI_BOOLEAN unicast; |
| 419 | } tLimMlmRemoveKeyReq, *tpLimMlmRemoveKeyReq; |
| 420 | |
| 421 | typedef struct sLimMlmRemoveKeyCnf |
| 422 | { |
| 423 | tSirMacAddr peerMacAddr; |
| 424 | tANI_U16 resultCode; |
| 425 | tANI_U8 sessionId; |
| 426 | } tLimMlmRemoveKeyCnf, *tpLimMlmRemoveKeyCnf; |
| 427 | |
| 428 | |
| 429 | typedef struct sLimMlmResetReq |
| 430 | { |
| 431 | tSirMacAddr macAddr; |
| 432 | tANI_U8 performCleanup; |
| 433 | tANI_U8 sessionId; |
| 434 | } tLimMlmResetReq, *tpLimMlmResetReq; |
| 435 | |
| 436 | typedef struct sLimMlmResetCnf |
| 437 | { |
| 438 | tSirMacAddr macAddr; |
| 439 | tSirResultCodes resultCode; |
| 440 | tANI_U8 sessionId; |
| 441 | } tLimMlmResetCnf, *tpLimMlmResetCnf; |
| 442 | |
| 443 | |
| 444 | typedef struct sLimMlmLinkTestStopReq |
| 445 | { |
| 446 | tSirMacAddr peerMacAddr; |
| 447 | tANI_U8 sessionId; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 448 | } tLimMlmLinkTestStopReq, *tpLimMlmLinkTestStopReq; |
| 449 | |
| 450 | |
| 451 | // |
| 452 | // Block ACK related MLME data structures |
| 453 | // |
| 454 | |
| 455 | typedef struct sLimMlmAddBAReq |
| 456 | { |
| 457 | |
| 458 | // ADDBA recipient |
| 459 | tSirMacAddr peerMacAddr; |
| 460 | |
| 461 | // ADDBA Action Frame dialog token |
| 462 | tANI_U8 baDialogToken; |
| 463 | |
| 464 | // ADDBA requested for TID |
| 465 | tANI_U8 baTID; |
| 466 | |
| 467 | // BA policy |
| 468 | // 0 - Delayed BA (Not supported) |
| 469 | // 1 - Immediate BA |
| 470 | tANI_U8 baPolicy; |
| 471 | |
| 472 | // BA buffer size - (0..127) max size MSDU's |
| 473 | tANI_U16 baBufferSize; |
| 474 | |
| 475 | // BA timeout in TU's |
| 476 | // 0 means no timeout will occur |
| 477 | tANI_U16 baTimeout; |
| 478 | |
| 479 | // ADDBA failure timeout in TU's |
| 480 | // Greater than or equal to 1 |
| 481 | tANI_U16 addBAFailureTimeout; |
| 482 | |
| 483 | // BA Starting Sequence Number |
| 484 | tANI_U16 baSSN; |
| 485 | |
| 486 | tANI_U8 sessionId; |
| 487 | |
| 488 | } tLimMlmAddBAReq, *tpLimMlmAddBAReq; |
| 489 | |
| 490 | typedef struct sLimMlmAddBACnf |
| 491 | { |
| 492 | |
| 493 | // ADDBA recipient |
| 494 | tSirMacAddr peerMacAddr; |
| 495 | |
| 496 | // ADDBA Action Frame dialog token |
| 497 | tANI_U8 baDialogToken; |
| 498 | |
| 499 | // ADDBA requested for TID |
| 500 | tANI_U8 baTID; |
| 501 | |
| 502 | // BA status code |
| 503 | tSirMacStatusCodes addBAResultCode; |
| 504 | |
| 505 | // BA policy |
| 506 | // 0 - Delayed BA (Not supported) |
| 507 | // 1 - Immediate BA |
| 508 | tANI_U8 baPolicy; |
| 509 | |
| 510 | // BA buffer size - (0..127) max size MSDU's |
| 511 | tANI_U16 baBufferSize; |
| 512 | |
| 513 | // BA timeout in TU's |
| 514 | // 0 means no timeout will occur |
| 515 | tANI_U16 baTimeout; |
| 516 | |
| 517 | // ADDBA direction |
| 518 | // 1 - Originator |
| 519 | // 0 - Recipient |
| 520 | tANI_U8 baDirection; |
| 521 | tANI_U8 sessionId; |
| 522 | |
| 523 | |
| 524 | } tLimMlmAddBACnf, *tpLimMlmAddBACnf; |
| 525 | |
| 526 | typedef struct sLimMlmAddBAInd |
| 527 | { |
| 528 | |
| 529 | // ADDBA recipient |
| 530 | tSirMacAddr peerMacAddr; |
| 531 | |
| 532 | // ADDBA Action Frame dialog token |
| 533 | tANI_U8 baDialogToken; |
| 534 | |
| 535 | // ADDBA requested for TID |
| 536 | tANI_U8 baTID; |
| 537 | |
| 538 | // BA policy |
| 539 | // 0 - Delayed BA (Not supported) |
| 540 | // 1 - Immediate BA |
| 541 | tANI_U8 baPolicy; |
| 542 | |
| 543 | // BA buffer size - (0..127) max size MSDU's |
| 544 | tANI_U16 baBufferSize; |
| 545 | |
| 546 | // BA timeout in TU's |
| 547 | // 0 means no timeout will occur |
| 548 | tANI_U16 baTimeout; |
| 549 | |
| 550 | } tLimMlmAddBAInd, *tpLimMlmAddBAInd; |
| 551 | |
| 552 | typedef struct sLimMlmAddBARsp |
| 553 | { |
| 554 | |
| 555 | // ADDBA recipient |
| 556 | tSirMacAddr peerMacAddr; |
| 557 | |
| 558 | // ADDBA Action Frame dialog token |
| 559 | tANI_U8 baDialogToken; |
| 560 | |
| 561 | // ADDBA requested for TID |
| 562 | tANI_U8 baTID; |
| 563 | |
| 564 | // BA status code |
| 565 | tSirMacStatusCodes addBAResultCode; |
| 566 | |
| 567 | // BA policy |
| 568 | // 0 - Delayed BA (Not supported) |
| 569 | // 1 - Immediate BA |
| 570 | tANI_U8 baPolicy; |
| 571 | |
| 572 | // BA buffer size - (0..127) max size MSDU's |
| 573 | tANI_U16 baBufferSize; |
| 574 | |
| 575 | // BA timeout in TU's |
| 576 | // 0 means no timeout will occur |
| 577 | tANI_U16 baTimeout; |
| 578 | |
| 579 | //reserved for alignment |
| 580 | tANI_U8 rsvd[2]; |
| 581 | |
| 582 | /* PE session id*/ |
| 583 | tANI_U8 sessionId; |
| 584 | |
| 585 | } tLimMlmAddBARsp, *tpLimMlmAddBARsp; |
| 586 | |
| 587 | // |
| 588 | // NOTE - Overloading DELBA IND and DELBA CNF |
| 589 | // to use the same data structure as DELBA REQ |
| 590 | // as the parameters do not vary too much. |
| 591 | // |
| 592 | typedef struct sLimMlmDelBAReq |
| 593 | { |
| 594 | |
| 595 | // ADDBA recipient |
| 596 | tSirMacAddr peerMacAddr; |
| 597 | |
| 598 | // DELBA direction |
| 599 | // 1 - Originator |
| 600 | // 0 - Recipient |
| 601 | tANI_U8 baDirection; |
| 602 | |
| 603 | // DELBA requested for TID |
| 604 | tANI_U8 baTID; |
| 605 | |
| 606 | // DELBA reason code |
| 607 | tSirMacReasonCodes delBAReasonCode; |
| 608 | |
| 609 | tANI_U8 sessionId; |
| 610 | |
| 611 | } tLimMlmDelBAReq, *tpLimMlmDelBAReq, tLimMlmDelBAInd, *tpLimMlmDelBAInd, tLimMlmDelBACnf, *tpLimMlmDelBACnf; |
| 612 | |
| 613 | // Function templates |
| 614 | |
| 615 | tANI_BOOLEAN limProcessSmeReqMessages(tpAniSirGlobal, tpSirMsgQ); |
| 616 | void limProcessMlmReqMessages(tpAniSirGlobal, tpSirMsgQ); |
| 617 | void limProcessMlmRspMessages(tpAniSirGlobal, tANI_U32, tANI_U32 *); |
| 618 | void limProcessLmmMessages(tpAniSirGlobal, tANI_U32, tANI_U32 *); |
| 619 | void limProcessSmeDelBssRsp( tpAniSirGlobal , tANI_U32,tpPESession); |
| 620 | |
| 621 | void limGetRandomBssid(tpAniSirGlobal pMac ,tANI_U8 *data); |
| 622 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 623 | // Function to handle HT and HT IE CFG parameter intializations |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 624 | void handleHTCapabilityandHTInfo(struct sAniSirGlobal *pMac, tpPESession psessionEntry); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 625 | |
| 626 | // Function to handle CFG parameter updates |
| 627 | void limHandleCFGparamUpdate(tpAniSirGlobal, tANI_U32); |
| 628 | |
| 629 | // Function to apply CFG parameters before join/reassoc/start BSS |
| 630 | void limApplyConfiguration(tpAniSirGlobal,tpPESession); |
| 631 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 632 | void limSetCfgProtection(tpAniSirGlobal pMac, tpPESession pesessionEntry); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 633 | |
| 634 | |
| 635 | // Function to Initialize MLM state machine on STA |
| 636 | void limInitMlm(tpAniSirGlobal); |
| 637 | |
| 638 | // Function to cleanup MLM state machine |
| 639 | void limCleanupMlm(tpAniSirGlobal); |
| 640 | |
| 641 | // Function to cleanup LMM state machine |
| 642 | void limCleanupLmm(tpAniSirGlobal); |
| 643 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 644 | // Management frame handling functions |
| 645 | void limProcessBeaconFrame(tpAniSirGlobal, tANI_U8 *,tpPESession); |
| 646 | void limProcessBeaconFrameNoSession(tpAniSirGlobal, tANI_U8 *); |
| 647 | void limProcessProbeReqFrame(tpAniSirGlobal, tANI_U8 *, tpPESession); |
| 648 | void limProcessProbeRspFrame(tpAniSirGlobal, tANI_U8 *, tpPESession); |
| 649 | void limProcessProbeRspFrameNoSession(tpAniSirGlobal, tANI_U8 *); |
| 650 | void limProcessProbeReqFrame_multiple_BSS(tpAniSirGlobal, tANI_U8 *,tpPESession); |
| 651 | |
| 652 | |
| 653 | // Process Auth frame when we have a session in progress. |
| 654 | void limProcessAuthFrame(tpAniSirGlobal, tANI_U8 *,tpPESession); |
| 655 | #ifdef WLAN_FEATURE_VOWIFI_11R |
Srikant Kuppa | a3ed0a3 | 2013-02-20 07:24:43 -0800 | [diff] [blame] | 656 | tSirRetStatus limProcessAuthFrameNoSession(tpAniSirGlobal pMac, tANI_U8 *, void *body); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 657 | #endif |
| 658 | |
| 659 | void limProcessAssocReqFrame(tpAniSirGlobal, tANI_U8 *, tANI_U8, tpPESession); |
| 660 | void limSendMlmAssocInd(tpAniSirGlobal pMac, tpDphHashNode pStaDs, tpPESession psessionEntry); |
| 661 | |
| 662 | |
| 663 | void limProcessAssocRspFrame(tpAniSirGlobal, tANI_U8 *, tANI_U8,tpPESession); |
| 664 | void limProcessDisassocFrame(tpAniSirGlobal, tANI_U8 *,tpPESession); |
| 665 | void limProcessDeauthFrame(tpAniSirGlobal, tANI_U8 *,tpPESession); |
| 666 | void limProcessActionFrame(tpAniSirGlobal, tANI_U8 *,tpPESession); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 667 | void limProcessActionFrameNoSession(tpAniSirGlobal pMac, tANI_U8 *pRxMetaInfo); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 668 | |
| 669 | |
| 670 | tSirRetStatus limPopulateMacHeader(tpAniSirGlobal, tANI_U8*, tANI_U8, tANI_U8, tSirMacAddr,tSirMacAddr); |
| 671 | tSirRetStatus limSendProbeReqMgmtFrame(tpAniSirGlobal, tSirMacSSid *, tSirMacAddr, tANI_U8, tSirMacAddr, tANI_U32, tANI_U32, tANI_U8 *); |
| 672 | void limSendProbeRspMgmtFrame(tpAniSirGlobal, tSirMacAddr, tpAniSSID, short, tANI_U8, tpPESession, tANI_U8); |
| 673 | void limSendAuthMgmtFrame(tpAniSirGlobal, tSirMacAuthFrameBody *, tSirMacAddr, tANI_U8,tpPESession); |
| 674 | void limSendAssocReqMgmtFrame(tpAniSirGlobal, tLimMlmAssocReq *,tpPESession); |
| 675 | void limSendReassocReqMgmtFrame(tpAniSirGlobal, tLimMlmReassocReq *,tpPESession); |
| 676 | #ifdef WLAN_FEATURE_VOWIFI_11R |
| 677 | void limSendReassocReqWithFTIEsMgmtFrame(tpAniSirGlobal pMac, |
| 678 | tLimMlmReassocReq *pMlmReassocReq,tpPESession psessionEntry); |
| 679 | #endif |
| 680 | void limSendDeltsReqActionFrame(tpAniSirGlobal pMac, tSirMacAddr peer, |
| 681 | tANI_U8 wmmTspecPresent, tSirMacTSInfo *pTsinfo, |
| 682 | tSirMacTspecIE *pTspecIe, tpPESession psessionEntry); |
| 683 | void limSendAddtsReqActionFrame(tpAniSirGlobal pMac, tSirMacAddr peerMacAddr, |
| 684 | tSirAddtsReqInfo *addts,tpPESession); |
| 685 | void limSendAddtsRspActionFrame(tpAniSirGlobal pMac, tSirMacAddr peerMacAddr, |
| 686 | tANI_U16 statusCode, tSirAddtsReqInfo *addts, tSirMacScheduleIE *pSchedule,tpPESession); |
| 687 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 688 | void limSendAssocRspMgmtFrame(tpAniSirGlobal, tANI_U16, tANI_U16, tSirMacAddr, tANI_U8, tpDphHashNode pSta,tpPESession); |
| 689 | |
| 690 | void limSendNullDataFrame(tpAniSirGlobal, tpDphHashNode); |
Madan Mohan Koyyalamudi | 521ff19 | 2012-11-15 17:13:08 -0800 | [diff] [blame] | 691 | void limSendDisassocMgmtFrame(tpAniSirGlobal, tANI_U16, tSirMacAddr, tpPESession, tANI_BOOLEAN waitForAck); |
| 692 | void limSendDeauthMgmtFrame(tpAniSirGlobal, tANI_U16, tSirMacAddr, tpPESession, tANI_BOOLEAN waitForAck); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 693 | |
| 694 | void limContinueChannelScan(tpAniSirGlobal); |
| 695 | tSirResultCodes limMlmAddBss(tpAniSirGlobal, tLimMlmStartReq *,tpPESession psessionEntry); |
| 696 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 697 | tSirRetStatus limSendChannelSwitchMgmtFrame(tpAniSirGlobal, tSirMacAddr, tANI_U8, tANI_U8, tANI_U8, tpPESession); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 698 | |
Mohit Khanna | 4a70d26 | 2012-09-11 16:30:12 -0700 | [diff] [blame] | 699 | #ifdef WLAN_FEATURE_11AC |
| 700 | tSirRetStatus limSendVHTOpmodeNotificationFrame(tpAniSirGlobal pMac,tSirMacAddr peer,tANI_U8 nMode, tpPESession psessionEntry ); |
Madan Mohan Koyyalamudi | c6226de | 2012-09-18 16:33:31 -0700 | [diff] [blame] | 701 | tSirRetStatus limSendVHTChannelSwitchMgmtFrame(tpAniSirGlobal pMac,tSirMacAddr peer,tANI_U8 nChanWidth, tANI_U8 nNewChannel, tANI_U8 ncbMode, tpPESession psessionEntry ); |
Mohit Khanna | 4a70d26 | 2012-09-11 16:30:12 -0700 | [diff] [blame] | 702 | #endif |
| 703 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 704 | #if defined WLAN_FEATURE_VOWIFI |
| 705 | tSirRetStatus limSendNeighborReportRequestFrame(tpAniSirGlobal, tpSirMacNeighborReportReq, tSirMacAddr, tpPESession); |
| 706 | tSirRetStatus limSendLinkReportActionFrame(tpAniSirGlobal, tpSirMacLinkReport, tSirMacAddr, tpPESession ); |
| 707 | tSirRetStatus limSendRadioMeasureReportActionFrame(tpAniSirGlobal, tANI_U8, tANI_U8, tpSirMacRadioMeasureReport, tSirMacAddr, tpPESession); |
| 708 | #endif |
| 709 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 710 | #if defined(FEATURE_WLAN_ESE) && !defined(FEATURE_WLAN_ESE_UPLOAD) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 711 | void limProcessIappFrame(tpAniSirGlobal, tANI_U8 *,tpPESession); |
| 712 | #endif |
| 713 | |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 714 | #ifdef FEATURE_WLAN_TDLS_INTERNAL |
| 715 | tSirRetStatus limSendTdlsDisReqFrame(tpAniSirGlobal pMac, |
| 716 | tSirMacAddr peer_mac, tANI_U8 dialog, tpPESession psessionEntry); |
| 717 | tSirRetStatus limSendTdlsLinkSetupReqFrame(tpAniSirGlobal pMac, |
| 718 | tSirMacAddr peerMac, tANI_U8 dialog, tpPESession psessionEntry, |
| 719 | tANI_U8* addIe, tANI_U16 len); |
| 720 | |
| 721 | eHalStatus limTdlsPrepareSetupReqFrame(tpAniSirGlobal pMac, |
| 722 | tLimTdlsLinkSetupInfo *linkSetupInfo, |
| 723 | tANI_U8 dialog, tSirMacAddr peerMac, |
| 724 | tpPESession psessionEntry); |
| 725 | #endif |
| 726 | #ifdef FEATURE_WLAN_TDLS |
Gopichand Nakkala | 777e603 | 2012-12-31 16:39:21 -0800 | [diff] [blame] | 727 | void limInitTdlsData(tpAniSirGlobal, tpPESession); |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 728 | tSirRetStatus limProcessSmeTdlsMgmtSendReq(tpAniSirGlobal pMac, |
| 729 | tANI_U32 *pMsgBuf); |
| 730 | tSirRetStatus limProcessSmeTdlsAddStaReq(tpAniSirGlobal pMac, |
| 731 | tANI_U32 *pMsgBuf); |
Gopichand Nakkala | 79ff85d | 2013-05-27 17:05:29 +0530 | [diff] [blame] | 732 | tSirRetStatus limProcesSmeTdlsLinkEstablishReq(tpAniSirGlobal pMac, |
| 733 | tANI_U32 *pMsgBuf); |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 734 | tSirRetStatus limProcessSmeTdlsDelStaReq(tpAniSirGlobal pMac, |
| 735 | tANI_U32 *pMsgBuf); |
Gopichand Nakkala | 2a0a157 | 2013-02-10 21:39:16 -0800 | [diff] [blame] | 736 | void limSendSmeTDLSDeleteAllPeerInd(tpAniSirGlobal pMac, tpPESession psessionEntry); |
Gopichand Nakkala | b977a97 | 2013-02-18 19:15:09 -0800 | [diff] [blame] | 737 | void limSendSmeMgmtTXCompletion(tpAniSirGlobal pMac, |
| 738 | tpPESession psessionEntry, |
| 739 | tANI_U32 txCompleteStatus); |
Gopichand Nakkala | 2a0a157 | 2013-02-10 21:39:16 -0800 | [diff] [blame] | 740 | tSirRetStatus limDeleteTDLSPeers(tpAniSirGlobal pMac, tpPESession psessionEntry); |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 741 | eHalStatus limProcessTdlsAddStaRsp(tpAniSirGlobal pMac, void *msg, tpPESession); |
| 742 | tSirRetStatus limSendTdlsTeardownFrame(tpAniSirGlobal pMac, |
Hoonki Lee | a34dd89 | 2013-02-05 22:56:02 -0800 | [diff] [blame] | 743 | tSirMacAddr peerMac, tANI_U16 reason, tANI_U8 responder, tpPESession psessionEntry, |
Atul Mittal | c0f739f | 2014-07-31 13:47:47 +0530 | [diff] [blame] | 744 | tANI_U8 *addIe, tANI_U16 addIeLen); |
| 745 | // tdlsoffchan |
| 746 | tSirRetStatus limProcesSmeTdlsChanSwitchReq(tpAniSirGlobal pMac, |
| 747 | tANI_U32 *pMsgBuf); |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 748 | #endif |
| 749 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 750 | // Algorithms & Link Monitoring related functions |
| 751 | tSirBackgroundScanMode limSelectsBackgroundScanMode(tpAniSirGlobal); |
| 752 | void limTriggerBackgroundScan(tpAniSirGlobal); |
| 753 | void limAbortBackgroundScan(tpAniSirGlobal); |
| 754 | |
| 755 | /// Function that handles heartbeat failure |
| 756 | void limHandleHeartBeatFailure(tpAniSirGlobal,tpPESession); |
| 757 | |
| 758 | /// Function that triggers link tear down with AP upon HB failure |
| 759 | void limTearDownLinkWithAp(tpAniSirGlobal,tANI_U8, tSirMacReasonCodes); |
| 760 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 761 | |
| 762 | /// Function that sends keep alive message to peer(s) |
| 763 | void limSendKeepAliveToPeer(tpAniSirGlobal); |
| 764 | |
| 765 | /// Function that processes Max retries interrupt from TFP |
| 766 | void limHandleMaxRetriesInterrupt(tANI_U32); |
| 767 | |
| 768 | /// Function that processes messages deferred during Learn mode |
| 769 | void limProcessDeferredMessageQueue(tpAniSirGlobal); |
| 770 | |
| 771 | /// Function that defers the messages received |
| 772 | tANI_U32 limDeferMsg(tpAniSirGlobal, tSirMsgQ *); |
| 773 | |
| 774 | /// Function that sets system into scan mode |
| 775 | void limSetScanMode(tpAniSirGlobal pMac); |
| 776 | |
| 777 | /// Function that Switches the Channel and sets the CB Mode |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 778 | void limSetChannel(tpAniSirGlobal pMac, tANI_U8 channel, tANI_U8 secChannelOffset, tPowerdBm maxTxPower, tANI_U8 peSessionId); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 779 | |
| 780 | /// Function that completes channel scan |
| 781 | void limCompleteMlmScan(tpAniSirGlobal, tSirResultCodes); |
| 782 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 783 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 784 | /// Funtion that sets system into meas mode for oem data req |
| 785 | void limSetOemDataReqMode(tpAniSirGlobal pMac, eHalStatus status, tANI_U32* data); |
| 786 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 787 | |
| 788 | #ifdef ANI_SUPPORT_11H |
| 789 | /// Function that sends Measurement Report action frame |
| 790 | tSirRetStatus limSendMeasReportFrame(tpAniSirGlobal, tpSirMacMeasReqActionFrame, tSirMacAddr); |
| 791 | |
| 792 | /// Function that sends TPC Report action frame |
| 793 | tSirRetStatus limSendTpcReportFrame(tpAniSirGlobal, tpSirMacTpcReqActionFrame, tSirMacAddr); |
| 794 | #endif |
| 795 | |
| 796 | /// Function that sends TPC Request action frame |
| 797 | void limSendTpcRequestFrame(tpAniSirGlobal, tSirMacAddr); |
| 798 | |
| 799 | // Function(s) to handle responses received from HAL |
| 800 | void limProcessMlmAddBssRsp( tpAniSirGlobal pMac, tpSirMsgQ limMsgQ ); |
| 801 | void limProcessMlmAddStaRsp( tpAniSirGlobal pMac, tpSirMsgQ limMsgQt,tpPESession psessionEntry); |
| 802 | void limProcessMlmDelStaRsp( tpAniSirGlobal pMac, tpSirMsgQ limMsgQ ); |
| 803 | void limProcessMlmDelBssRsp( tpAniSirGlobal pMac, tpSirMsgQ limMsgQ,tpPESession); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 804 | void limProcessStaMlmAddStaRsp( tpAniSirGlobal pMac, tpSirMsgQ limMsgQ ,tpPESession psessionEntry); |
| 805 | void limProcessStaMlmDelStaRsp( tpAniSirGlobal pMac, tpSirMsgQ limMsgQ,tpPESession psessionEntry); |
| 806 | void limProcessStaMlmDelBssRsp( tpAniSirGlobal pMac, tpSirMsgQ limMsgQ ,tpPESession psessionEntry); |
| 807 | void limProcessMlmSetStaKeyRsp( tpAniSirGlobal pMac, tpSirMsgQ limMsgQ ); |
| 808 | void limProcessMlmSetBssKeyRsp( tpAniSirGlobal pMac, tpSirMsgQ limMsgQ ); |
| 809 | |
| 810 | |
| 811 | |
| 812 | #ifdef GEN4_SCAN |
| 813 | // Function to process WDA_INIT_SCAN_RSP message |
| 814 | void limProcessInitScanRsp(tpAniSirGlobal, void * ); |
| 815 | |
| 816 | // Function to process WDA_START_SCAN_RSP message |
| 817 | void limProcessStartScanRsp(tpAniSirGlobal, void * ); |
| 818 | |
| 819 | // Function to process WDA_END_SCAN_RSP message |
| 820 | void limProcessEndScanRsp(tpAniSirGlobal, void * ); |
| 821 | |
| 822 | // Function to process WDA_FINISH_SCAN_RSP message |
| 823 | void limProcessFinishScanRsp(tpAniSirGlobal, void * ); |
| 824 | |
| 825 | // Function to process WDA_SWITCH_CHANNEL_RSP message |
| 826 | void limProcessSwitchChannelRsp(tpAniSirGlobal pMac, void * ); |
| 827 | |
| 828 | void limSendHalInitScanReq( tpAniSirGlobal, tLimLimHalScanState, tSirLinkTrafficCheck); |
| 829 | void limSendHalStartScanReq( tpAniSirGlobal, tANI_U8, tLimLimHalScanState); |
| 830 | void limSendHalEndScanReq( tpAniSirGlobal, tANI_U8, tLimLimHalScanState); |
| 831 | void limSendHalFinishScanReq( tpAniSirGlobal, tLimLimHalScanState); |
| 832 | |
| 833 | void limContinuePostChannelScan(tpAniSirGlobal pMac); |
Gopichand Nakkala | d492d20 | 2013-05-10 02:50:47 +0530 | [diff] [blame] | 834 | void limCovertChannelScanType(tpAniSirGlobal pMac,tANI_U8 channelNum, tANI_BOOLEAN passiveToActive); |
| 835 | void limSetDFSChannelList(tpAniSirGlobal pMac,tANI_U8 channelNum, tSirDFSChannelList *dfsChannelList); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 836 | void limContinueChannelLearn( tpAniSirGlobal ); |
| 837 | //WLAN_SUSPEND_LINK Related |
| 838 | tANI_U8 limIsLinkSuspended(tpAniSirGlobal pMac); |
| 839 | void limSuspendLink(tpAniSirGlobal, tSirLinkTrafficCheck, SUSPEND_RESUME_LINK_CALLBACK, tANI_U32*); |
| 840 | void limResumeLink(tpAniSirGlobal, SUSPEND_RESUME_LINK_CALLBACK, tANI_U32*); |
| 841 | //end WLAN_SUSPEND_LINK Related |
| 842 | #endif // GEN4_SCAN |
| 843 | |
| 844 | tSirRetStatus limSendAddBAReq( tpAniSirGlobal pMac, |
| 845 | tpLimMlmAddBAReq pMlmAddBAReq,tpPESession); |
| 846 | |
| 847 | tSirRetStatus limSendAddBARsp( tpAniSirGlobal pMac, |
| 848 | tpLimMlmAddBARsp pMlmAddBARsp,tpPESession); |
| 849 | |
| 850 | tSirRetStatus limSendDelBAInd( tpAniSirGlobal pMac, |
| 851 | tpLimMlmDelBAReq pMlmDelBAReq ,tpPESession psessionEntry); |
| 852 | #if 0 |
| 853 | tSirRetStatus limSendSMPowerStateFrame( tpAniSirGlobal pMac, |
| 854 | tSirMacAddr peer, tSirMacHTMIMOPowerSaveState State ); |
| 855 | #endif |
| 856 | |
| 857 | void limProcessMlmHalAddBARsp( tpAniSirGlobal pMac, |
| 858 | tpSirMsgQ limMsgQ ); |
| 859 | |
| 860 | void limProcessMlmHalBADeleteInd( tpAniSirGlobal pMac, |
| 861 | tpSirMsgQ limMsgQ ); |
| 862 | |
| 863 | void limProcessMlmRemoveKeyRsp( tpAniSirGlobal pMac, tpSirMsgQ limMsgQ ); |
| 864 | |
| 865 | void limProcessLearnIntervalTimeout(tpAniSirGlobal pMac); |
Chet Lanctot | 8cecea2 | 2014-02-11 19:09:36 -0800 | [diff] [blame] | 866 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 867 | #ifdef WLAN_FEATURE_11W |
Chet Lanctot | 8cecea2 | 2014-02-11 19:09:36 -0800 | [diff] [blame] | 868 | //11w send SA query request action frame |
| 869 | tSirRetStatus limSendSaQueryRequestFrame( tpAniSirGlobal pMac, tANI_U8 *transId, |
| 870 | tSirMacAddr peer, tpPESession psessionEntry ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 871 | //11w SA query request action frame handler |
| 872 | tSirRetStatus limSendSaQueryResponseFrame( tpAniSirGlobal pMac, |
Chet Lanctot | 186b573 | 2013-03-18 10:26:30 -0700 | [diff] [blame] | 873 | tANI_U8 *transId, tSirMacAddr peer,tpPESession psessionEntry); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 874 | #endif |
| 875 | // Inline functions |
| 876 | |
| 877 | /** |
| 878 | * limPostSmeMessage() |
| 879 | * |
| 880 | *FUNCTION: |
| 881 | * This function is called by limProcessMlmMessages(). In this |
| 882 | * function MLM sub-module invokes MLM ind/cnf primitives. |
| 883 | * |
| 884 | *LOGIC: |
| 885 | * Initially MLM makes an SME function call to invoke MLM ind/cnf |
| 886 | * primitive. In future this can be enhanced to 'post' messages to SME. |
| 887 | * |
| 888 | *ASSUMPTIONS: |
| 889 | * NA |
| 890 | * |
| 891 | *NOTE: |
| 892 | * NA |
| 893 | * |
| 894 | * @param pMac Pointer to Global MAC structure |
| 895 | * @param msgType Indicates the MLM primitive message type |
| 896 | * @param *pMsgBuf A pointer to the MLM message buffer |
| 897 | * |
| 898 | * @return None |
| 899 | */ |
| 900 | static inline void |
| 901 | limPostSmeMessage(tpAniSirGlobal pMac, tANI_U32 msgType, tANI_U32 *pMsgBuf) |
| 902 | { |
| 903 | tSirMsgQ msg; |
| 904 | |
| 905 | if(pMsgBuf == NULL) |
| 906 | { |
Kiran Kumar Lokere | 5be73a6 | 2013-04-01 18:40:00 -0700 | [diff] [blame] | 907 | limLog(pMac, LOGE,FL("Buffer is Pointing to NULL")); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 908 | return; |
| 909 | } |
| 910 | |
| 911 | msg.type = (tANI_U16)msgType; |
| 912 | msg.bodyptr = pMsgBuf; |
| 913 | msg.bodyval = 0; |
| 914 | if (msgType > eWNI_SME_MSG_TYPES_BEGIN) |
| 915 | limProcessSmeReqMessages(pMac, &msg); |
| 916 | else |
| 917 | limProcessMlmRspMessages(pMac, msgType, pMsgBuf); |
| 918 | } /*** end limPostSmeMessage() ***/ |
| 919 | |
| 920 | /** |
| 921 | * limPostMlmMessage() |
| 922 | * |
| 923 | *FUNCTION: |
| 924 | * This function is called by limProcessSmeMessages(). In this |
| 925 | * function SME invokes MLME primitives. |
| 926 | * |
| 927 | *PARAMS: |
| 928 | * |
| 929 | *LOGIC: |
| 930 | * Initially SME makes an MLM function call to invoke MLM primitive. |
| 931 | * In future this can be enhanced to 'post' messages to MLM. |
| 932 | * |
| 933 | *ASSUMPTIONS: |
| 934 | * NA |
| 935 | * |
| 936 | *NOTE: |
| 937 | * NA |
| 938 | * |
| 939 | * @param pMac Pointer to Global MAC structure |
| 940 | * @param msgType Indicates the MLM primitive message type |
| 941 | * @param *pMsgBuf A pointer to the MLM message buffer |
| 942 | * |
| 943 | * @return None |
| 944 | */ |
| 945 | static inline void |
| 946 | limPostMlmMessage(tpAniSirGlobal pMac, tANI_U32 msgType, tANI_U32 *pMsgBuf) |
| 947 | { |
| 948 | |
| 949 | tSirMsgQ msg; |
| 950 | if(pMsgBuf == NULL) |
| 951 | { |
Kiran Kumar Lokere | 5be73a6 | 2013-04-01 18:40:00 -0700 | [diff] [blame] | 952 | limLog(pMac, LOGE,FL("Buffer is Pointing to NULL")); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 953 | return; |
| 954 | } |
| 955 | msg.type = (tANI_U16) msgType; |
| 956 | msg.bodyptr = pMsgBuf; |
| 957 | msg.bodyval = 0; |
| 958 | limProcessMlmReqMessages(pMac, &msg); |
| 959 | } /*** end limPostMlmMessage() ***/ |
| 960 | |
| 961 | |
| 962 | |
| 963 | /** |
| 964 | * limGetCurrentScanChannel() |
| 965 | * |
| 966 | *FUNCTION: |
| 967 | * This function is called in various places to get current channel |
| 968 | * number being scanned. |
| 969 | * |
| 970 | *PARAMS: |
| 971 | * |
| 972 | *LOGIC: |
| 973 | * |
| 974 | *ASSUMPTIONS: |
| 975 | * NA |
| 976 | * |
| 977 | *NOTE: |
| 978 | * NA |
| 979 | * |
| 980 | * @param pMac Pointer to Global MAC structure |
| 981 | * @return Channel number |
| 982 | */ |
| 983 | static inline tANI_U8 |
| 984 | limGetCurrentScanChannel(tpAniSirGlobal pMac) |
| 985 | { |
| 986 | tANI_U8 *pChanNum = pMac->lim.gpLimMlmScanReq->channelList.channelNumber; |
| 987 | |
| 988 | return (*(pChanNum + pMac->lim.gLimCurrentScanChannelId)); |
| 989 | } /*** end limGetCurrentScanChannel() ***/ |
| 990 | |
| 991 | |
| 992 | |
| 993 | /** |
| 994 | * limGetIElenFromBssDescription() |
| 995 | * |
| 996 | *FUNCTION: |
| 997 | * This function is called in various places to get IE length |
| 998 | * from tSirBssDescription structure |
| 999 | * number being scanned. |
| 1000 | * |
| 1001 | *PARAMS: |
| 1002 | * |
| 1003 | *LOGIC: |
| 1004 | * |
| 1005 | *ASSUMPTIONS: |
| 1006 | * NA |
| 1007 | * |
| 1008 | *NOTE: |
| 1009 | * NA |
| 1010 | * |
| 1011 | * @param pBssDescr |
| 1012 | * @return Total IE length |
| 1013 | */ |
| 1014 | |
| 1015 | static inline tANI_U16 |
| 1016 | limGetIElenFromBssDescription(tpSirBssDescription pBssDescr) |
| 1017 | { |
| 1018 | if (!pBssDescr) |
| 1019 | return 0; |
| 1020 | |
| 1021 | return ((tANI_U16) (pBssDescr->length + sizeof(tANI_U16) + |
| 1022 | sizeof(tANI_U32) - sizeof(tSirBssDescription))); |
| 1023 | } /*** end limGetIElenFromBssDescription() ***/ |
| 1024 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1025 | /** |
| 1026 | * limSendBeaconInd() |
| 1027 | * |
| 1028 | *FUNCTION: |
| 1029 | * This function is called to send the beacon indication |
| 1030 | * number being scanned. |
| 1031 | * |
| 1032 | *PARAMS: |
| 1033 | * |
| 1034 | *LOGIC: |
| 1035 | * |
| 1036 | *ASSUMPTIONS: |
| 1037 | */ |
| 1038 | |
| 1039 | void |
| 1040 | limSendBeaconInd(tpAniSirGlobal pMac, tpPESession psessionEntry); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1041 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1042 | |
| 1043 | void limGetWPSPBCSessions(tpAniSirGlobal pMac, tANI_U8 *addr, tANI_U8 *uuid_e, eWPSPBCOverlap *overlap, tpPESession psessionEntry); |
| 1044 | void limWPSPBCTimeout(tpAniSirGlobal pMac, tpPESession psessionEntry); |
| 1045 | void limWPSPBCClose(tpAniSirGlobal pMac, tpPESession psessionEntry); |
| 1046 | void limRemovePBCSessions(tpAniSirGlobal pMac, tSirMacAddr pRemoveMac,tpPESession psessionEntry); |
| 1047 | |
| 1048 | |
| 1049 | tSirRetStatus |
| 1050 | limIsSmeGetWPSPBCSessionsReqValid(tpAniSirGlobal pMac, tSirSmeGetWPSPBCSessionsReq *pGetWPSPBCSessionsReq, tANI_U8 *pBuf); |
| 1051 | |
| 1052 | #define LIM_WPS_OVERLAP_TIMER_MS 10000 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1053 | |
| 1054 | void |
| 1055 | limSuspendLink(tpAniSirGlobal pMac, tSirLinkTrafficCheck trafficCheck, SUSPEND_RESUME_LINK_CALLBACK callback, tANI_U32 *data); |
| 1056 | void |
| 1057 | limResumeLink(tpAniSirGlobal pMac, SUSPEND_RESUME_LINK_CALLBACK callback, tANI_U32 *data); |
| 1058 | |
| 1059 | void |
| 1060 | limChangeChannelWithCallback(tpAniSirGlobal pMac, tANI_U8 newChannel, |
| 1061 | CHANGE_CHANNEL_CALLBACK callback, tANI_U32 *cbdata, tpPESession psessionEntry); |
| 1062 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1063 | void limSendSmeMgmtFrameInd( |
Rashmi Ramanna | 0d0adec | 2014-02-05 20:35:37 +0530 | [diff] [blame] | 1064 | tpAniSirGlobal pMac, tANI_U16 sessionId, |
| 1065 | tANI_U8 *pRxPacketInfo, |
| 1066 | tpPESession psessionEntry, tANI_S8 rxRssi); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1067 | void limProcessRemainOnChnTimeout(tpAniSirGlobal pMac); |
Gopichand Nakkala | 4261ea5 | 2012-12-31 16:43:00 -0800 | [diff] [blame] | 1068 | void limProcessInsertSingleShotNOATimeout(tpAniSirGlobal pMac); |
Gopichand Nakkala | d492d20 | 2013-05-10 02:50:47 +0530 | [diff] [blame] | 1069 | void limConvertActiveChannelToPassiveChannel(tpAniSirGlobal pMac); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1070 | void limSendP2PActionFrame(tpAniSirGlobal pMac, tpSirMsgQ pMsg); |
| 1071 | void limAbortRemainOnChan(tpAniSirGlobal pMac); |
| 1072 | tSirRetStatus __limProcessSmeNoAUpdate(tpAniSirGlobal pMac, tANI_U32 *pMsgBuf); |
Viral Modi | d440e68 | 2013-03-06 02:25:31 -0800 | [diff] [blame] | 1073 | void limProcessRegdDefdSmeReqAfterNOAStart(tpAniSirGlobal pMac); |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 1074 | #ifdef FEATURE_WLAN_TDLS_INTERNAL |
| 1075 | void limProcessTdlsFrame(tpAniSirGlobal, tANI_U32 *); |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 1076 | void limProcessTdlsPublicActionFrame(tpAniSirGlobal pMac, tANI_U32 *pBd, |
| 1077 | tpPESession) ; |
| 1078 | #ifdef FEATURE_WLAN_TDLS_NEGATIVE |
| 1079 | #define LIM_TDLS_NEGATIVE_WRONG_BSSID_IN_DSCV_REQ 0x1 /* 5.1.4-5 */ |
| 1080 | #define LIM_TDLS_NEGATIVE_WRONG_BSSID_IN_SETUP_REQ 0x2 /* 5.2.4-16 */ |
| 1081 | #define LIM_TDLS_NEGATIVE_STATUS_37_IN_SETUP_CNF 0x4 /* 5.2.4-10 */ |
| 1082 | #define LIM_TDLS_NEGATIVE_SEND_REQ_TO_SETUP_REQ 0x8 /* 5.2.4-20/32 */ |
| 1083 | #define LIM_TDLS_NEGATIVE_RSP_TIMEOUT_TO_SETUP_REQ 0x10 /* 5.2.3.4 */ |
| 1084 | #define LIM_TDLS_NEGATIVE_TREAT_TDLS_PROHIBIT_AP 0x20 /* 5.2.4-49 */ |
| 1085 | /* following is not paticularily tested in WFA test plan, but will help to validate our TDLS behavior in-house */ |
| 1086 | #define LIM_TDLS_NEGATIVE_WRONG_BSSID_IN_DSCV_RSP 0x40 |
| 1087 | #define LIM_TDLS_NEGATIVE_WRONG_BSSID_IN_SETUP_RSP 0x80 |
| 1088 | |
| 1089 | void limTdlsSetNegativeBehavior(tpAniSirGlobal pMac, tANI_U8 value, tANI_BOOLEAN on); |
| 1090 | #endif |
| 1091 | #endif |
| 1092 | |
Madan Mohan Koyyalamudi | 521ff19 | 2012-11-15 17:13:08 -0800 | [diff] [blame] | 1093 | void limProcessDisassocAckTimeout(tpAniSirGlobal pMac); |
| 1094 | void limProcessDeauthAckTimeout(tpAniSirGlobal pMac); |
| 1095 | eHalStatus limSendDisassocCnf(tpAniSirGlobal pMac); |
| 1096 | eHalStatus limSendDeauthCnf(tpAniSirGlobal pMac); |
Dhanashri Atre | 4a6e3ea | 2012-12-12 14:10:33 -0800 | [diff] [blame] | 1097 | |
| 1098 | #ifdef WLAN_FEATURE_VOWIFI_11R |
| 1099 | typedef struct sSetLinkCbackParams |
| 1100 | { |
| 1101 | void * cbackDataPtr; |
| 1102 | } tSetLinkCbackParams; |
| 1103 | #endif |
Gopichand Nakkala | 2c231c8 | 2013-06-11 17:49:16 +0530 | [diff] [blame] | 1104 | |
| 1105 | void limProcessRxScanEvent(tpAniSirGlobal mac, void *buf); |
Sudhir Sattayappa Kohalli | abf751c | 2013-06-30 15:37:18 -0700 | [diff] [blame] | 1106 | |
| 1107 | int limProcessRemainOnChnlReq(tpAniSirGlobal pMac, tANI_U32 *pMsg); |
| 1108 | void limRemainOnChnRsp(tpAniSirGlobal pMac, eHalStatus status, tANI_U32 *data); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1109 | #endif /* __LIM_TYPES_H */ |
| 1110 | |