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" |
Konamki, Sreelakshmi | 2bfb8b0 | 2015-07-29 11:41:24 +0530 | [diff] [blame] | 54 | #include "limTrace.h" |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 55 | #include "limSendSmeRspMessages.h" |
| 56 | #include "sysGlobal.h" |
| 57 | #include "dphGlobal.h" |
| 58 | #include "parserApi.h" |
| 59 | |
| 60 | #define LINK_TEST_DEFER 1 |
| 61 | |
| 62 | #define TRACE_EVENT_CNF_TIMER_DEACT 0x6600 |
| 63 | #define TRACE_EVENT_CNF_TIMER_ACT 0x6601 |
| 64 | #define TRACE_EVENT_AUTH_RSP_TIMER_DEACT 0x6602 |
| 65 | #define TRACE_EVENT_AUTH_RSP_TIMER_ACT 0x6603 |
| 66 | |
| 67 | // MLM message types |
| 68 | #define LIM_MLM_MSG_START 1000 |
| 69 | #define LIM_MLM_SCAN_REQ LIM_MLM_MSG_START |
Madan Mohan Koyyalamudi | a53c4dc | 2012-11-13 10:35:42 -0800 | [diff] [blame] | 70 | #define LIM_MLM_SCAN_CNF (LIM_MLM_MSG_START + 1) |
| 71 | #define LIM_MLM_START_REQ (LIM_MLM_MSG_START + 2) |
| 72 | #define LIM_MLM_START_CNF (LIM_MLM_MSG_START + 3) |
| 73 | #define LIM_MLM_JOIN_REQ (LIM_MLM_MSG_START + 4) |
| 74 | #define LIM_MLM_JOIN_CNF (LIM_MLM_MSG_START + 5) |
| 75 | #define LIM_MLM_AUTH_REQ (LIM_MLM_MSG_START + 6) |
| 76 | #define LIM_MLM_AUTH_CNF (LIM_MLM_MSG_START + 7) |
| 77 | #define LIM_MLM_AUTH_IND (LIM_MLM_MSG_START + 8) |
| 78 | #define LIM_MLM_ASSOC_REQ (LIM_MLM_MSG_START + 9) |
| 79 | #define LIM_MLM_ASSOC_CNF (LIM_MLM_MSG_START + 10) |
| 80 | #define LIM_MLM_ASSOC_IND (LIM_MLM_MSG_START + 11) |
| 81 | #define LIM_MLM_DISASSOC_REQ (LIM_MLM_MSG_START + 12) |
| 82 | #define LIM_MLM_DISASSOC_CNF (LIM_MLM_MSG_START + 13) |
| 83 | #define LIM_MLM_DISASSOC_IND (LIM_MLM_MSG_START + 14) |
| 84 | #define LIM_MLM_REASSOC_REQ (LIM_MLM_MSG_START + 15) |
| 85 | #define LIM_MLM_REASSOC_CNF (LIM_MLM_MSG_START + 16) |
| 86 | #define LIM_MLM_REASSOC_IND (LIM_MLM_MSG_START + 17) |
| 87 | #define LIM_MLM_DEAUTH_REQ (LIM_MLM_MSG_START + 18) |
| 88 | #define LIM_MLM_DEAUTH_CNF (LIM_MLM_MSG_START + 19) |
| 89 | #define LIM_MLM_DEAUTH_IND (LIM_MLM_MSG_START + 20) |
| 90 | #define LIM_MLM_TSPEC_REQ (LIM_MLM_MSG_START + 21) |
| 91 | #define LIM_MLM_TSPEC_CNF (LIM_MLM_MSG_START + 22) |
| 92 | #define LIM_MLM_TSPEC_IND (LIM_MLM_MSG_START + 23) |
| 93 | #define LIM_MLM_SETKEYS_REQ (LIM_MLM_MSG_START + 24) |
| 94 | #define LIM_MLM_SETKEYS_CNF (LIM_MLM_MSG_START + 25) |
| 95 | #define LIM_MLM_LINK_TEST_STOP_REQ (LIM_MLM_MSG_START + 30) |
| 96 | #define LIM_MLM_PURGE_STA_IND (LIM_MLM_MSG_START + 31) |
| 97 | #define LIM_MLM_ADDBA_REQ (LIM_MLM_MSG_START + 32) |
| 98 | #define LIM_MLM_ADDBA_CNF (LIM_MLM_MSG_START + 33) |
| 99 | #define LIM_MLM_ADDBA_IND (LIM_MLM_MSG_START + 34) |
| 100 | #define LIM_MLM_ADDBA_RSP (LIM_MLM_MSG_START + 35) |
| 101 | #define LIM_MLM_DELBA_REQ (LIM_MLM_MSG_START + 36) |
| 102 | #define LIM_MLM_DELBA_CNF (LIM_MLM_MSG_START + 37) |
| 103 | #define LIM_MLM_DELBA_IND (LIM_MLM_MSG_START + 38) |
| 104 | #define LIM_MLM_REMOVEKEY_REQ (LIM_MLM_MSG_START + 39) |
| 105 | #define LIM_MLM_REMOVEKEY_CNF (LIM_MLM_MSG_START + 40) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 106 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 107 | #ifdef FEATURE_OEM_DATA_SUPPORT |
Madan Mohan Koyyalamudi | a53c4dc | 2012-11-13 10:35:42 -0800 | [diff] [blame] | 108 | #define LIM_MLM_OEM_DATA_REQ (LIM_MLM_MSG_START + 41) |
| 109 | #define LIM_MLM_OEM_DATA_CNF (LIM_MLM_MSG_START + 42) |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 110 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 111 | |
| 112 | #define LIM_HASH_ADD 0 |
| 113 | #define LIM_HASH_UPDATE 1 |
| 114 | |
| 115 | #define LIM_WEP_IN_FC 1 |
| 116 | #define LIM_NO_WEP_IN_FC 0 |
| 117 | |
| 118 | #define LIM_DECRYPT_ICV_FAIL 1 |
| 119 | |
| 120 | /// Definitions to distinquish between Association/Reassociaton |
| 121 | #define LIM_ASSOC 0 |
| 122 | #define LIM_REASSOC 1 |
| 123 | |
| 124 | /// Minimum Memory blocks require for different scenario |
| 125 | #define LIM_MIN_MEM_ASSOC 4 |
| 126 | |
| 127 | /// Verifies whether given mac addr matches the CURRENT Bssid |
Kiet Lam | b123319 | 2013-11-28 13:38:20 +0530 | [diff] [blame] | 128 | #define IS_CURRENT_BSSID(pMac, addr,psessionEntry) (vos_mem_compare( addr, \ |
| 129 | psessionEntry->bssId, \ |
| 130 | sizeof(psessionEntry->bssId))) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 131 | /// Verifies whether given addr matches the REASSOC Bssid |
Kiet Lam | b123319 | 2013-11-28 13:38:20 +0530 | [diff] [blame] | 132 | #define IS_REASSOC_BSSID(pMac, addr,psessionEntry) (vos_mem_compare( addr, \ |
| 133 | psessionEntry->limReAssocbssId, \ |
| 134 | sizeof(psessionEntry->limReAssocbssId))) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 135 | |
| 136 | #define REQ_TYPE_REGISTRAR (0x2) |
| 137 | #define REQ_TYPE_WLAN_MANAGER_REGISTRAR (0x3) |
| 138 | |
| 139 | #define RESP_TYPE_REGISTRAR (0x2) |
| 140 | #define RESP_TYPE_ENROLLEE_INFO_ONLY (0x0) |
| 141 | #define RESP_TYPE_ENROLLEE_OPEN_8021X (0x1) |
| 142 | #define RESP_TYPE_AP (0x3) |
| 143 | #define LIM_TX_FRAMES_THRESHOLD_ON_CHIP 300 |
| 144 | |
| 145 | |
| 146 | // enums used by LIM are as follows |
| 147 | |
| 148 | enum eLimDisassocTrigger |
| 149 | { |
| 150 | eLIM_HOST_DISASSOC, |
| 151 | eLIM_PEER_ENTITY_DISASSOC, |
| 152 | eLIM_LINK_MONITORING_DISASSOC, |
| 153 | eLIM_PROMISCUOUS_MODE_DISASSOC, |
| 154 | eLIM_HOST_DEAUTH, |
| 155 | eLIM_PEER_ENTITY_DEAUTH, |
| 156 | eLIM_LINK_MONITORING_DEAUTH, |
| 157 | eLIM_JOIN_FAILURE, |
| 158 | eLIM_REASSOC_REJECT |
| 159 | }; |
| 160 | |
| 161 | /* Reason code to determine the channel change context while sending |
| 162 | * WDA_CHNL_SWITCH_REQ message to HAL |
| 163 | */ |
| 164 | enum eChannelChangeReasonCodes |
| 165 | { |
| 166 | LIM_SWITCH_CHANNEL_REASSOC, |
| 167 | LIM_SWITCH_CHANNEL_JOIN, |
| 168 | LIM_SWITCH_CHANNEL_OPERATION, // Generic change channel |
Kalikinkar dhara | 085c02f | 2014-02-28 15:32:12 -0800 | [diff] [blame] | 169 | LIM_SWITCH_CHANNEL_CSA, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 170 | }; |
| 171 | |
| 172 | typedef struct sLimAuthRspTimeout |
| 173 | { |
| 174 | tSirMacAddr peerMacAddr; |
| 175 | } tLimAuthRspTimeout; |
| 176 | |
| 177 | typedef struct sLimMlmStartReq |
| 178 | { |
| 179 | tSirMacSSid ssId; |
| 180 | tSirBssType bssType; |
| 181 | tSirMacAddr bssId; |
| 182 | tSirMacBeaconInterval beaconPeriod; |
| 183 | tANI_U8 dtimPeriod; |
| 184 | tSirMacCfParamSet cfParamSet; |
| 185 | tSirMacChanNum channelNumber; |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 186 | ePhyChanBondState cbMode; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 187 | tANI_U16 atimWindow; |
| 188 | tSirMacRateSet rateSet; |
| 189 | tANI_U8 sessionId; //Added For BT-AMP Support |
| 190 | |
| 191 | // Parameters reqd for new HAL (message) interface |
| 192 | tSirNwType nwType; |
| 193 | tANI_U8 htCapable; |
| 194 | tSirMacHTOperatingMode htOperMode; |
| 195 | tANI_U8 dualCTSProtection; |
| 196 | tANI_U8 txChannelWidthSet; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 197 | tANI_U8 ssidHidden; |
| 198 | tANI_U8 wps_state; |
| 199 | tANI_U8 obssProtEnabled; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 200 | } tLimMlmStartReq, *tpLimMlmStartReq; |
| 201 | |
| 202 | typedef struct sLimMlmStartCnf |
| 203 | { |
| 204 | tSirResultCodes resultCode; |
| 205 | tANI_U8 sessionId; |
| 206 | } tLimMlmStartCnf, *tpLimMlmStartCnf; |
| 207 | |
| 208 | typedef struct sLimMlmScanCnf |
| 209 | { |
| 210 | tSirResultCodes resultCode; |
| 211 | tANI_U16 scanResultLength; |
| 212 | tSirBssDescription bssDescription[1]; |
| 213 | tANI_U8 sessionId; |
| 214 | } tLimMlmScanCnf, *tpLimMlmScanCnf; |
| 215 | |
| 216 | typedef struct sLimScanResult |
| 217 | { |
| 218 | tANI_U16 numBssDescriptions; |
| 219 | tSirBssDescription bssDescription[1]; |
| 220 | } tLimScanResult; |
| 221 | |
| 222 | typedef struct sLimMlmJoinCnf |
| 223 | { |
| 224 | tSirResultCodes resultCode; |
| 225 | tANI_U16 protStatusCode; |
| 226 | tANI_U8 sessionId; |
| 227 | } tLimMlmJoinCnf, *tpLimMlmJoinCnf; |
| 228 | |
| 229 | typedef struct sLimMlmAssocReq |
| 230 | { |
| 231 | tSirMacAddr peerMacAddr; |
| 232 | tANI_U32 assocFailureTimeout; |
| 233 | tANI_U16 capabilityInfo; |
| 234 | tSirMacListenInterval listenInterval; |
| 235 | tANI_U8 sessionId; |
| 236 | } tLimMlmAssocReq, *tpLimMlmAssocReq; |
| 237 | |
| 238 | typedef struct sLimMlmAssocCnf |
| 239 | { |
| 240 | tSirResultCodes resultCode; //Internal status code. |
| 241 | tANI_U16 protStatusCode; //Protocol Status code. |
| 242 | tANI_U8 sessionId; |
| 243 | } tLimMlmAssocCnf, *tpLimMlmAssocCnf; |
| 244 | |
| 245 | typedef struct sLimMlmAssocInd |
| 246 | { |
| 247 | tSirMacAddr peerMacAddr; |
| 248 | tANI_U16 aid; |
| 249 | tAniAuthType authType; |
| 250 | tAniSSID ssId; |
| 251 | tSirRSNie rsnIE; |
Jeff Johnson | 1250df4 | 2012-12-10 14:31:52 -0800 | [diff] [blame] | 252 | 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] | 253 | tSirMacCapabilityInfo capabilityInfo; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 254 | tAniBool spectrumMgtIndicator; |
| 255 | tSirMacPowerCapInfo powerCap; |
| 256 | tSirSupChnl supportedChannels; |
| 257 | tANI_U8 sessionId; |
| 258 | |
| 259 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 260 | tAniBool WmmStaInfoPresent; |
Hardik Kantilal Patel | 1ba630f | 2014-11-21 04:32:05 +0530 | [diff] [blame] | 261 | #ifdef WLAN_FEATURE_AP_HT40_24G |
| 262 | tAniBool HT40MHzIntoPresent; |
| 263 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 264 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 265 | // Required for indicating the frames to upper layer |
| 266 | tANI_U32 beaconLength; |
| 267 | tANI_U8* beaconPtr; |
| 268 | tANI_U32 assocReqLength; |
Deepthi Gowri | ae6a166 | 2015-10-12 12:59:37 +0530 | [diff] [blame^] | 269 | tANI_U8* assocReqPtr; |
| 270 | uint32_t rate_flags; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 271 | } tLimMlmAssocInd, *tpLimMlmAssocInd; |
| 272 | |
| 273 | typedef struct sLimMlmReassocReq |
| 274 | { |
| 275 | tSirMacAddr peerMacAddr; |
| 276 | tANI_U32 reassocFailureTimeout; |
| 277 | tANI_U16 capabilityInfo; |
| 278 | tSirMacListenInterval listenInterval; |
| 279 | tANI_U8 sessionId; |
| 280 | } tLimMlmReassocReq, *tpLimMlmReassocReq; |
| 281 | |
| 282 | typedef struct sLimMlmReassocCnf |
| 283 | { |
| 284 | tSirResultCodes resultCode; |
| 285 | tANI_U16 protStatusCode; //Protocol Status code. |
| 286 | tANI_U8 sessionId; |
| 287 | } tLimMlmReassocCnf, *tpLimMlmReassocCnf; |
| 288 | |
| 289 | typedef struct sLimMlmReassocInd |
| 290 | { |
| 291 | tSirMacAddr peerMacAddr; |
| 292 | tSirMacAddr currentApAddr; |
| 293 | tANI_U16 aid; |
| 294 | tAniAuthType authType; |
| 295 | tAniSSID ssId; |
| 296 | tSirRSNie rsnIE; |
Jeff Johnson | 1250df4 | 2012-12-10 14:31:52 -0800 | [diff] [blame] | 297 | 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] | 298 | tSirMacCapabilityInfo capabilityInfo; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 299 | tAniBool spectrumMgtIndicator; |
| 300 | tSirMacPowerCapInfo powerCap; |
| 301 | tSirSupChnl supportedChannels; |
| 302 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 303 | tAniBool WmmStaInfoPresent; |
Hardik Kantilal Patel | 1ba630f | 2014-11-21 04:32:05 +0530 | [diff] [blame] | 304 | #ifdef WLAN_FEATURE_AP_HT40_24G |
| 305 | tAniBool HT40MHzIntoPresent; |
| 306 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 307 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 308 | // Required for indicating the frames to upper layer |
| 309 | tANI_U32 beaconLength; |
| 310 | tANI_U8* beaconPtr; |
| 311 | tANI_U32 assocReqLength; |
| 312 | tANI_U8* assocReqPtr; |
| 313 | } tLimMlmReassocInd, *tpLimMlmReassocInd; |
| 314 | |
| 315 | typedef struct sLimMlmAuthCnf |
| 316 | { |
| 317 | tSirMacAddr peerMacAddr; |
| 318 | tAniAuthType authType; |
| 319 | tSirResultCodes resultCode; |
| 320 | tANI_U16 protStatusCode; |
| 321 | tANI_U8 sessionId; |
| 322 | } tLimMlmAuthCnf, *tpLimMlmAuthCnf; |
| 323 | |
| 324 | typedef struct sLimMlmAuthInd |
| 325 | { |
| 326 | tSirMacAddr peerMacAddr; |
| 327 | tAniAuthType authType; |
| 328 | tANI_U8 sessionId; |
| 329 | } tLimMlmAuthInd, *tpLimMlmAuthInd; |
| 330 | |
| 331 | typedef struct sLimMlmDeauthReq |
| 332 | { |
| 333 | tSirMacAddr peerMacAddr; |
| 334 | tANI_U16 reasonCode; |
| 335 | tANI_U16 deauthTrigger; |
| 336 | tANI_U16 aid; |
| 337 | tANI_U8 sessionId; //Added for BT-AMP SUPPORT |
| 338 | |
| 339 | } tLimMlmDeauthReq, *tpLimMlmDeauthReq; |
| 340 | |
| 341 | typedef struct sLimMlmDeauthCnf |
| 342 | { |
| 343 | tSirMacAddr peerMacAddr; |
| 344 | tSirResultCodes resultCode; |
| 345 | tANI_U16 deauthTrigger; |
| 346 | tANI_U16 aid; |
| 347 | tANI_U8 sessionId; |
| 348 | } tLimMlmDeauthCnf, *tpLimMLmDeauthCnf; |
| 349 | |
| 350 | typedef struct sLimMlmDeauthInd |
| 351 | { |
| 352 | tSirMacAddr peerMacAddr; |
| 353 | tANI_U16 reasonCode; |
| 354 | tANI_U16 deauthTrigger; |
| 355 | tANI_U16 aid; |
| 356 | } tLimMlmDeauthInd, *tpLimMlmDeauthInd; |
| 357 | |
| 358 | typedef struct sLimMlmDisassocReq |
| 359 | { |
| 360 | tSirMacAddr peerMacAddr; |
| 361 | tANI_U16 reasonCode; |
| 362 | tANI_U16 disassocTrigger; |
| 363 | tANI_U16 aid; |
| 364 | tANI_U8 sessionId; |
| 365 | } tLimMlmDisassocReq, *tpLimMlmDisassocReq; |
| 366 | |
| 367 | typedef struct sLimMlmDisassocCnf |
| 368 | { |
| 369 | tSirMacAddr peerMacAddr; |
| 370 | tSirResultCodes resultCode; |
| 371 | tANI_U16 disassocTrigger; |
| 372 | tANI_U16 aid; |
| 373 | tANI_U8 sessionId; |
| 374 | } tLimMlmDisassocCnf, *tpLimMlmDisassocCnf; |
| 375 | |
| 376 | typedef struct sLimMlmDisassocInd |
| 377 | { |
| 378 | tSirMacAddr peerMacAddr; |
| 379 | tANI_U16 reasonCode; |
| 380 | tANI_U16 disassocTrigger; |
| 381 | tANI_U16 aid; |
| 382 | tANI_U8 sessionId; |
| 383 | } tLimMlmDisassocInd, *tpLimMlmDisassocInd; |
| 384 | |
| 385 | typedef struct sLimMlmPurgeStaReq |
| 386 | { |
| 387 | tSirMacAddr peerMacAddr; |
| 388 | tANI_U16 aid; |
| 389 | tANI_U8 sessionId;//Added For BT-AMP Support |
| 390 | } tLimMlmPurgeStaReq, *tpLimMlmPurgeStaReq; |
| 391 | |
| 392 | typedef struct sLimMlmPurgeStaInd |
| 393 | { |
| 394 | tSirMacAddr peerMacAddr; |
| 395 | tANI_U16 reasonCode; |
| 396 | tANI_U16 purgeTrigger; |
| 397 | tANI_U16 aid; |
| 398 | tANI_U8 sessionId; |
| 399 | } tLimMlmPurgeStaInd, *tpLimMlmPurgeStaInd; |
| 400 | |
| 401 | typedef struct sLimMlmSetKeysReq |
| 402 | { |
| 403 | tSirMacAddr peerMacAddr; |
| 404 | tANI_U8 sessionId; //Added For BT-AMP Support |
| 405 | tANI_U16 aid; |
| 406 | tAniEdType edType; // Encryption/Decryption type |
| 407 | tANI_U8 numKeys; |
| 408 | tSirKeys key[SIR_MAC_MAX_NUM_OF_DEFAULT_KEYS]; |
| 409 | } tLimMlmSetKeysReq, *tpLimMlmSetKeysReq; |
| 410 | |
| 411 | typedef struct sLimMlmSetKeysCnf |
| 412 | { |
| 413 | tSirMacAddr peerMacAddr; |
| 414 | tANI_U16 resultCode; |
| 415 | tANI_U16 aid; |
| 416 | tANI_U8 sessionId; |
| 417 | } tLimMlmSetKeysCnf, *tpLimMlmSetKeysCnf; |
| 418 | |
| 419 | typedef struct sLimMlmRemoveKeyReq |
| 420 | { |
| 421 | tSirMacAddr peerMacAddr; |
| 422 | tANI_U8 sessionId; //Added FOr BT-AMP Support |
| 423 | tAniEdType edType; // Encryption/Decryption type |
| 424 | tANI_U8 wepType; //STATIC / DYNAMIC specifier |
| 425 | tANI_U8 keyId; //Key Id To be removed. |
| 426 | tANI_BOOLEAN unicast; |
| 427 | } tLimMlmRemoveKeyReq, *tpLimMlmRemoveKeyReq; |
| 428 | |
| 429 | typedef struct sLimMlmRemoveKeyCnf |
| 430 | { |
| 431 | tSirMacAddr peerMacAddr; |
| 432 | tANI_U16 resultCode; |
| 433 | tANI_U8 sessionId; |
| 434 | } tLimMlmRemoveKeyCnf, *tpLimMlmRemoveKeyCnf; |
| 435 | |
| 436 | |
| 437 | typedef struct sLimMlmResetReq |
| 438 | { |
| 439 | tSirMacAddr macAddr; |
| 440 | tANI_U8 performCleanup; |
| 441 | tANI_U8 sessionId; |
| 442 | } tLimMlmResetReq, *tpLimMlmResetReq; |
| 443 | |
| 444 | typedef struct sLimMlmResetCnf |
| 445 | { |
| 446 | tSirMacAddr macAddr; |
| 447 | tSirResultCodes resultCode; |
| 448 | tANI_U8 sessionId; |
| 449 | } tLimMlmResetCnf, *tpLimMlmResetCnf; |
| 450 | |
| 451 | |
| 452 | typedef struct sLimMlmLinkTestStopReq |
| 453 | { |
| 454 | tSirMacAddr peerMacAddr; |
| 455 | tANI_U8 sessionId; |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 456 | } tLimMlmLinkTestStopReq, *tpLimMlmLinkTestStopReq; |
| 457 | |
| 458 | |
| 459 | // |
| 460 | // Block ACK related MLME data structures |
| 461 | // |
| 462 | |
| 463 | typedef struct sLimMlmAddBAReq |
| 464 | { |
| 465 | |
| 466 | // ADDBA recipient |
| 467 | tSirMacAddr peerMacAddr; |
| 468 | |
| 469 | // ADDBA Action Frame dialog token |
| 470 | tANI_U8 baDialogToken; |
| 471 | |
| 472 | // ADDBA requested for TID |
| 473 | tANI_U8 baTID; |
| 474 | |
| 475 | // BA policy |
| 476 | // 0 - Delayed BA (Not supported) |
| 477 | // 1 - Immediate BA |
| 478 | tANI_U8 baPolicy; |
| 479 | |
| 480 | // BA buffer size - (0..127) max size MSDU's |
| 481 | tANI_U16 baBufferSize; |
| 482 | |
| 483 | // BA timeout in TU's |
| 484 | // 0 means no timeout will occur |
| 485 | tANI_U16 baTimeout; |
| 486 | |
| 487 | // ADDBA failure timeout in TU's |
| 488 | // Greater than or equal to 1 |
| 489 | tANI_U16 addBAFailureTimeout; |
| 490 | |
| 491 | // BA Starting Sequence Number |
| 492 | tANI_U16 baSSN; |
| 493 | |
| 494 | tANI_U8 sessionId; |
| 495 | |
| 496 | } tLimMlmAddBAReq, *tpLimMlmAddBAReq; |
| 497 | |
| 498 | typedef struct sLimMlmAddBACnf |
| 499 | { |
| 500 | |
| 501 | // ADDBA recipient |
| 502 | tSirMacAddr peerMacAddr; |
| 503 | |
| 504 | // ADDBA Action Frame dialog token |
| 505 | tANI_U8 baDialogToken; |
| 506 | |
| 507 | // ADDBA requested for TID |
| 508 | tANI_U8 baTID; |
| 509 | |
| 510 | // BA status code |
| 511 | tSirMacStatusCodes addBAResultCode; |
| 512 | |
| 513 | // BA policy |
| 514 | // 0 - Delayed BA (Not supported) |
| 515 | // 1 - Immediate BA |
| 516 | tANI_U8 baPolicy; |
| 517 | |
| 518 | // BA buffer size - (0..127) max size MSDU's |
| 519 | tANI_U16 baBufferSize; |
| 520 | |
| 521 | // BA timeout in TU's |
| 522 | // 0 means no timeout will occur |
| 523 | tANI_U16 baTimeout; |
| 524 | |
| 525 | // ADDBA direction |
| 526 | // 1 - Originator |
| 527 | // 0 - Recipient |
| 528 | tANI_U8 baDirection; |
| 529 | tANI_U8 sessionId; |
| 530 | |
| 531 | |
| 532 | } tLimMlmAddBACnf, *tpLimMlmAddBACnf; |
| 533 | |
| 534 | typedef struct sLimMlmAddBAInd |
| 535 | { |
| 536 | |
| 537 | // ADDBA recipient |
| 538 | tSirMacAddr peerMacAddr; |
| 539 | |
| 540 | // ADDBA Action Frame dialog token |
| 541 | tANI_U8 baDialogToken; |
| 542 | |
| 543 | // ADDBA requested for TID |
| 544 | tANI_U8 baTID; |
| 545 | |
| 546 | // BA policy |
| 547 | // 0 - Delayed BA (Not supported) |
| 548 | // 1 - Immediate BA |
| 549 | tANI_U8 baPolicy; |
| 550 | |
| 551 | // BA buffer size - (0..127) max size MSDU's |
| 552 | tANI_U16 baBufferSize; |
| 553 | |
| 554 | // BA timeout in TU's |
| 555 | // 0 means no timeout will occur |
| 556 | tANI_U16 baTimeout; |
| 557 | |
| 558 | } tLimMlmAddBAInd, *tpLimMlmAddBAInd; |
| 559 | |
| 560 | typedef struct sLimMlmAddBARsp |
| 561 | { |
| 562 | |
| 563 | // ADDBA recipient |
| 564 | tSirMacAddr peerMacAddr; |
| 565 | |
| 566 | // ADDBA Action Frame dialog token |
| 567 | tANI_U8 baDialogToken; |
| 568 | |
| 569 | // ADDBA requested for TID |
| 570 | tANI_U8 baTID; |
| 571 | |
| 572 | // BA status code |
| 573 | tSirMacStatusCodes addBAResultCode; |
| 574 | |
| 575 | // BA policy |
| 576 | // 0 - Delayed BA (Not supported) |
| 577 | // 1 - Immediate BA |
| 578 | tANI_U8 baPolicy; |
| 579 | |
| 580 | // BA buffer size - (0..127) max size MSDU's |
| 581 | tANI_U16 baBufferSize; |
| 582 | |
| 583 | // BA timeout in TU's |
| 584 | // 0 means no timeout will occur |
| 585 | tANI_U16 baTimeout; |
| 586 | |
| 587 | //reserved for alignment |
| 588 | tANI_U8 rsvd[2]; |
| 589 | |
| 590 | /* PE session id*/ |
| 591 | tANI_U8 sessionId; |
| 592 | |
| 593 | } tLimMlmAddBARsp, *tpLimMlmAddBARsp; |
| 594 | |
| 595 | // |
| 596 | // NOTE - Overloading DELBA IND and DELBA CNF |
| 597 | // to use the same data structure as DELBA REQ |
| 598 | // as the parameters do not vary too much. |
| 599 | // |
| 600 | typedef struct sLimMlmDelBAReq |
| 601 | { |
| 602 | |
| 603 | // ADDBA recipient |
| 604 | tSirMacAddr peerMacAddr; |
| 605 | |
| 606 | // DELBA direction |
| 607 | // 1 - Originator |
| 608 | // 0 - Recipient |
| 609 | tANI_U8 baDirection; |
| 610 | |
| 611 | // DELBA requested for TID |
| 612 | tANI_U8 baTID; |
| 613 | |
| 614 | // DELBA reason code |
| 615 | tSirMacReasonCodes delBAReasonCode; |
| 616 | |
| 617 | tANI_U8 sessionId; |
| 618 | |
| 619 | } tLimMlmDelBAReq, *tpLimMlmDelBAReq, tLimMlmDelBAInd, *tpLimMlmDelBAInd, tLimMlmDelBACnf, *tpLimMlmDelBACnf; |
| 620 | |
| 621 | // Function templates |
| 622 | |
| 623 | tANI_BOOLEAN limProcessSmeReqMessages(tpAniSirGlobal, tpSirMsgQ); |
| 624 | void limProcessMlmReqMessages(tpAniSirGlobal, tpSirMsgQ); |
| 625 | void limProcessMlmRspMessages(tpAniSirGlobal, tANI_U32, tANI_U32 *); |
| 626 | void limProcessLmmMessages(tpAniSirGlobal, tANI_U32, tANI_U32 *); |
| 627 | void limProcessSmeDelBssRsp( tpAniSirGlobal , tANI_U32,tpPESession); |
| 628 | |
| 629 | void limGetRandomBssid(tpAniSirGlobal pMac ,tANI_U8 *data); |
| 630 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 631 | // Function to handle HT and HT IE CFG parameter intializations |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 632 | void handleHTCapabilityandHTInfo(struct sAniSirGlobal *pMac, tpPESession psessionEntry); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 633 | |
| 634 | // Function to handle CFG parameter updates |
| 635 | void limHandleCFGparamUpdate(tpAniSirGlobal, tANI_U32); |
| 636 | |
| 637 | // Function to apply CFG parameters before join/reassoc/start BSS |
| 638 | void limApplyConfiguration(tpAniSirGlobal,tpPESession); |
| 639 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 640 | void limSetCfgProtection(tpAniSirGlobal pMac, tpPESession pesessionEntry); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 641 | |
| 642 | |
| 643 | // Function to Initialize MLM state machine on STA |
| 644 | void limInitMlm(tpAniSirGlobal); |
| 645 | |
| 646 | // Function to cleanup MLM state machine |
| 647 | void limCleanupMlm(tpAniSirGlobal); |
| 648 | |
| 649 | // Function to cleanup LMM state machine |
| 650 | void limCleanupLmm(tpAniSirGlobal); |
| 651 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 652 | // Management frame handling functions |
| 653 | void limProcessBeaconFrame(tpAniSirGlobal, tANI_U8 *,tpPESession); |
| 654 | void limProcessBeaconFrameNoSession(tpAniSirGlobal, tANI_U8 *); |
| 655 | void limProcessProbeReqFrame(tpAniSirGlobal, tANI_U8 *, tpPESession); |
| 656 | void limProcessProbeRspFrame(tpAniSirGlobal, tANI_U8 *, tpPESession); |
| 657 | void limProcessProbeRspFrameNoSession(tpAniSirGlobal, tANI_U8 *); |
| 658 | void limProcessProbeReqFrame_multiple_BSS(tpAniSirGlobal, tANI_U8 *,tpPESession); |
| 659 | |
| 660 | |
| 661 | // Process Auth frame when we have a session in progress. |
| 662 | void limProcessAuthFrame(tpAniSirGlobal, tANI_U8 *,tpPESession); |
| 663 | #ifdef WLAN_FEATURE_VOWIFI_11R |
Srikant Kuppa | a3ed0a3 | 2013-02-20 07:24:43 -0800 | [diff] [blame] | 664 | tSirRetStatus limProcessAuthFrameNoSession(tpAniSirGlobal pMac, tANI_U8 *, void *body); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 665 | #endif |
| 666 | |
| 667 | void limProcessAssocReqFrame(tpAniSirGlobal, tANI_U8 *, tANI_U8, tpPESession); |
| 668 | void limSendMlmAssocInd(tpAniSirGlobal pMac, tpDphHashNode pStaDs, tpPESession psessionEntry); |
| 669 | |
| 670 | |
| 671 | void limProcessAssocRspFrame(tpAniSirGlobal, tANI_U8 *, tANI_U8,tpPESession); |
| 672 | void limProcessDisassocFrame(tpAniSirGlobal, tANI_U8 *,tpPESession); |
| 673 | void limProcessDeauthFrame(tpAniSirGlobal, tANI_U8 *,tpPESession); |
| 674 | void limProcessActionFrame(tpAniSirGlobal, tANI_U8 *,tpPESession); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 675 | void limProcessActionFrameNoSession(tpAniSirGlobal pMac, tANI_U8 *pRxMetaInfo); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 676 | |
| 677 | |
| 678 | tSirRetStatus limPopulateMacHeader(tpAniSirGlobal, tANI_U8*, tANI_U8, tANI_U8, tSirMacAddr,tSirMacAddr); |
| 679 | tSirRetStatus limSendProbeReqMgmtFrame(tpAniSirGlobal, tSirMacSSid *, tSirMacAddr, tANI_U8, tSirMacAddr, tANI_U32, tANI_U32, tANI_U8 *); |
| 680 | void limSendProbeRspMgmtFrame(tpAniSirGlobal, tSirMacAddr, tpAniSSID, short, tANI_U8, tpPESession, tANI_U8); |
Sushant Kaushik | 9e92387 | 2015-04-02 17:09:31 +0530 | [diff] [blame] | 681 | void limSendAuthMgmtFrame(tpAniSirGlobal, tSirMacAuthFrameBody *, tSirMacAddr, |
| 682 | tANI_U8, tpPESession , tAniBool); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 683 | void limSendAssocReqMgmtFrame(tpAniSirGlobal, tLimMlmAssocReq *,tpPESession); |
| 684 | void limSendReassocReqMgmtFrame(tpAniSirGlobal, tLimMlmReassocReq *,tpPESession); |
| 685 | #ifdef WLAN_FEATURE_VOWIFI_11R |
| 686 | void limSendReassocReqWithFTIEsMgmtFrame(tpAniSirGlobal pMac, |
| 687 | tLimMlmReassocReq *pMlmReassocReq,tpPESession psessionEntry); |
| 688 | #endif |
| 689 | void limSendDeltsReqActionFrame(tpAniSirGlobal pMac, tSirMacAddr peer, |
| 690 | tANI_U8 wmmTspecPresent, tSirMacTSInfo *pTsinfo, |
| 691 | tSirMacTspecIE *pTspecIe, tpPESession psessionEntry); |
| 692 | void limSendAddtsReqActionFrame(tpAniSirGlobal pMac, tSirMacAddr peerMacAddr, |
| 693 | tSirAddtsReqInfo *addts,tpPESession); |
| 694 | void limSendAddtsRspActionFrame(tpAniSirGlobal pMac, tSirMacAddr peerMacAddr, |
| 695 | tANI_U16 statusCode, tSirAddtsReqInfo *addts, tSirMacScheduleIE *pSchedule,tpPESession); |
| 696 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 697 | void limSendAssocRspMgmtFrame(tpAniSirGlobal, tANI_U16, tANI_U16, tSirMacAddr, tANI_U8, tpDphHashNode pSta,tpPESession); |
| 698 | |
| 699 | void limSendNullDataFrame(tpAniSirGlobal, tpDphHashNode); |
Madan Mohan Koyyalamudi | 521ff19 | 2012-11-15 17:13:08 -0800 | [diff] [blame] | 700 | void limSendDisassocMgmtFrame(tpAniSirGlobal, tANI_U16, tSirMacAddr, tpPESession, tANI_BOOLEAN waitForAck); |
| 701 | void limSendDeauthMgmtFrame(tpAniSirGlobal, tANI_U16, tSirMacAddr, tpPESession, tANI_BOOLEAN waitForAck); |
Padma, Santhosh Kumar | 05600d3 | 2015-07-24 13:00:57 +0530 | [diff] [blame] | 702 | void limSendSmeDisassocDeauthNtf( tpAniSirGlobal pMac, |
| 703 | eHalStatus status, tANI_U32 *pCtx ); |
| 704 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 705 | |
| 706 | void limContinueChannelScan(tpAniSirGlobal); |
| 707 | tSirResultCodes limMlmAddBss(tpAniSirGlobal, tLimMlmStartReq *,tpPESession psessionEntry); |
| 708 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 709 | tSirRetStatus limSendChannelSwitchMgmtFrame(tpAniSirGlobal, tSirMacAddr, tANI_U8, tANI_U8, tANI_U8, tpPESession); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 710 | |
Mohit Khanna | 4a70d26 | 2012-09-11 16:30:12 -0700 | [diff] [blame] | 711 | #ifdef WLAN_FEATURE_11AC |
| 712 | tSirRetStatus limSendVHTOpmodeNotificationFrame(tpAniSirGlobal pMac,tSirMacAddr peer,tANI_U8 nMode, tpPESession psessionEntry ); |
Madan Mohan Koyyalamudi | c6226de | 2012-09-18 16:33:31 -0700 | [diff] [blame] | 713 | 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] | 714 | #endif |
| 715 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 716 | #if defined WLAN_FEATURE_VOWIFI |
| 717 | tSirRetStatus limSendNeighborReportRequestFrame(tpAniSirGlobal, tpSirMacNeighborReportReq, tSirMacAddr, tpPESession); |
| 718 | tSirRetStatus limSendLinkReportActionFrame(tpAniSirGlobal, tpSirMacLinkReport, tSirMacAddr, tpPESession ); |
| 719 | tSirRetStatus limSendRadioMeasureReportActionFrame(tpAniSirGlobal, tANI_U8, tANI_U8, tpSirMacRadioMeasureReport, tSirMacAddr, tpPESession); |
| 720 | #endif |
| 721 | |
Varun Reddy Yeturu | 5d5e2c6 | 2014-02-27 13:31:29 -0800 | [diff] [blame] | 722 | #if defined(FEATURE_WLAN_ESE) && !defined(FEATURE_WLAN_ESE_UPLOAD) |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 723 | void limProcessIappFrame(tpAniSirGlobal, tANI_U8 *,tpPESession); |
| 724 | #endif |
| 725 | |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 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, |
Ganesh Kondabattini | ff98702 | 2015-08-11 19:43:44 +0530 | [diff] [blame] | 738 | tANI_U32 smeSessionId, |
Gopichand Nakkala | b977a97 | 2013-02-18 19:15:09 -0800 | [diff] [blame] | 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) |
Konamki, Sreelakshmi | 2bfb8b0 | 2015-07-29 11:41:24 +0530 | [diff] [blame] | 915 | { |
| 916 | MTRACE(macTrace(pMac, TRACE_CODE_TX_SME_MSG, NO_SESSION, msg.type)); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 917 | limProcessSmeReqMessages(pMac, &msg); |
Konamki, Sreelakshmi | 2bfb8b0 | 2015-07-29 11:41:24 +0530 | [diff] [blame] | 918 | } |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 919 | else |
| 920 | limProcessMlmRspMessages(pMac, msgType, pMsgBuf); |
| 921 | } /*** end limPostSmeMessage() ***/ |
| 922 | |
| 923 | /** |
| 924 | * limPostMlmMessage() |
| 925 | * |
| 926 | *FUNCTION: |
| 927 | * This function is called by limProcessSmeMessages(). In this |
| 928 | * function SME invokes MLME primitives. |
| 929 | * |
| 930 | *PARAMS: |
| 931 | * |
| 932 | *LOGIC: |
| 933 | * Initially SME makes an MLM function call to invoke MLM primitive. |
| 934 | * In future this can be enhanced to 'post' messages to MLM. |
| 935 | * |
| 936 | *ASSUMPTIONS: |
| 937 | * NA |
| 938 | * |
| 939 | *NOTE: |
| 940 | * NA |
| 941 | * |
| 942 | * @param pMac Pointer to Global MAC structure |
| 943 | * @param msgType Indicates the MLM primitive message type |
| 944 | * @param *pMsgBuf A pointer to the MLM message buffer |
| 945 | * |
| 946 | * @return None |
| 947 | */ |
| 948 | static inline void |
| 949 | limPostMlmMessage(tpAniSirGlobal pMac, tANI_U32 msgType, tANI_U32 *pMsgBuf) |
| 950 | { |
| 951 | |
| 952 | tSirMsgQ msg; |
| 953 | if(pMsgBuf == NULL) |
| 954 | { |
Kiran Kumar Lokere | 5be73a6 | 2013-04-01 18:40:00 -0700 | [diff] [blame] | 955 | limLog(pMac, LOGE,FL("Buffer is Pointing to NULL")); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 956 | return; |
| 957 | } |
| 958 | msg.type = (tANI_U16) msgType; |
| 959 | msg.bodyptr = pMsgBuf; |
| 960 | msg.bodyval = 0; |
Konamki, Sreelakshmi | 2bfb8b0 | 2015-07-29 11:41:24 +0530 | [diff] [blame] | 961 | MTRACE(macTraceMsgRx(pMac, NO_SESSION, msg.type)); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 962 | limProcessMlmReqMessages(pMac, &msg); |
| 963 | } /*** end limPostMlmMessage() ***/ |
| 964 | |
| 965 | |
| 966 | |
| 967 | /** |
| 968 | * limGetCurrentScanChannel() |
| 969 | * |
| 970 | *FUNCTION: |
| 971 | * This function is called in various places to get current channel |
| 972 | * number being scanned. |
| 973 | * |
| 974 | *PARAMS: |
| 975 | * |
| 976 | *LOGIC: |
| 977 | * |
| 978 | *ASSUMPTIONS: |
| 979 | * NA |
| 980 | * |
| 981 | *NOTE: |
| 982 | * NA |
| 983 | * |
| 984 | * @param pMac Pointer to Global MAC structure |
| 985 | * @return Channel number |
| 986 | */ |
| 987 | static inline tANI_U8 |
| 988 | limGetCurrentScanChannel(tpAniSirGlobal pMac) |
| 989 | { |
| 990 | tANI_U8 *pChanNum = pMac->lim.gpLimMlmScanReq->channelList.channelNumber; |
| 991 | |
| 992 | return (*(pChanNum + pMac->lim.gLimCurrentScanChannelId)); |
| 993 | } /*** end limGetCurrentScanChannel() ***/ |
| 994 | |
| 995 | |
| 996 | |
| 997 | /** |
| 998 | * limGetIElenFromBssDescription() |
| 999 | * |
| 1000 | *FUNCTION: |
| 1001 | * This function is called in various places to get IE length |
| 1002 | * from tSirBssDescription structure |
| 1003 | * number being scanned. |
| 1004 | * |
| 1005 | *PARAMS: |
| 1006 | * |
| 1007 | *LOGIC: |
| 1008 | * |
| 1009 | *ASSUMPTIONS: |
| 1010 | * NA |
| 1011 | * |
| 1012 | *NOTE: |
| 1013 | * NA |
| 1014 | * |
| 1015 | * @param pBssDescr |
| 1016 | * @return Total IE length |
| 1017 | */ |
| 1018 | |
| 1019 | static inline tANI_U16 |
| 1020 | limGetIElenFromBssDescription(tpSirBssDescription pBssDescr) |
| 1021 | { |
| 1022 | if (!pBssDescr) |
| 1023 | return 0; |
| 1024 | |
| 1025 | return ((tANI_U16) (pBssDescr->length + sizeof(tANI_U16) + |
| 1026 | sizeof(tANI_U32) - sizeof(tSirBssDescription))); |
| 1027 | } /*** end limGetIElenFromBssDescription() ***/ |
| 1028 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1029 | /** |
| 1030 | * limSendBeaconInd() |
| 1031 | * |
| 1032 | *FUNCTION: |
| 1033 | * This function is called to send the beacon indication |
| 1034 | * number being scanned. |
| 1035 | * |
| 1036 | *PARAMS: |
| 1037 | * |
| 1038 | *LOGIC: |
| 1039 | * |
| 1040 | *ASSUMPTIONS: |
| 1041 | */ |
| 1042 | |
| 1043 | void |
| 1044 | limSendBeaconInd(tpAniSirGlobal pMac, tpPESession psessionEntry); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1045 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1046 | |
| 1047 | void limGetWPSPBCSessions(tpAniSirGlobal pMac, tANI_U8 *addr, tANI_U8 *uuid_e, eWPSPBCOverlap *overlap, tpPESession psessionEntry); |
| 1048 | void limWPSPBCTimeout(tpAniSirGlobal pMac, tpPESession psessionEntry); |
| 1049 | void limWPSPBCClose(tpAniSirGlobal pMac, tpPESession psessionEntry); |
| 1050 | void limRemovePBCSessions(tpAniSirGlobal pMac, tSirMacAddr pRemoveMac,tpPESession psessionEntry); |
| 1051 | |
| 1052 | |
| 1053 | tSirRetStatus |
| 1054 | limIsSmeGetWPSPBCSessionsReqValid(tpAniSirGlobal pMac, tSirSmeGetWPSPBCSessionsReq *pGetWPSPBCSessionsReq, tANI_U8 *pBuf); |
| 1055 | |
| 1056 | #define LIM_WPS_OVERLAP_TIMER_MS 10000 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1057 | |
| 1058 | void |
| 1059 | limSuspendLink(tpAniSirGlobal pMac, tSirLinkTrafficCheck trafficCheck, SUSPEND_RESUME_LINK_CALLBACK callback, tANI_U32 *data); |
| 1060 | void |
| 1061 | limResumeLink(tpAniSirGlobal pMac, SUSPEND_RESUME_LINK_CALLBACK callback, tANI_U32 *data); |
| 1062 | |
| 1063 | void |
| 1064 | limChangeChannelWithCallback(tpAniSirGlobal pMac, tANI_U8 newChannel, |
| 1065 | CHANGE_CHANNEL_CALLBACK callback, tANI_U32 *cbdata, tpPESession psessionEntry); |
| 1066 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1067 | void limSendSmeMgmtFrameInd( |
Rashmi Ramanna | 0d0adec | 2014-02-05 20:35:37 +0530 | [diff] [blame] | 1068 | tpAniSirGlobal pMac, tANI_U16 sessionId, |
| 1069 | tANI_U8 *pRxPacketInfo, |
| 1070 | tpPESession psessionEntry, tANI_S8 rxRssi); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1071 | void limProcessRemainOnChnTimeout(tpAniSirGlobal pMac); |
Gopichand Nakkala | 4261ea5 | 2012-12-31 16:43:00 -0800 | [diff] [blame] | 1072 | void limProcessInsertSingleShotNOATimeout(tpAniSirGlobal pMac); |
Gopichand Nakkala | d492d20 | 2013-05-10 02:50:47 +0530 | [diff] [blame] | 1073 | void limConvertActiveChannelToPassiveChannel(tpAniSirGlobal pMac); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1074 | void limSendP2PActionFrame(tpAniSirGlobal pMac, tpSirMsgQ pMsg); |
| 1075 | void limAbortRemainOnChan(tpAniSirGlobal pMac); |
| 1076 | tSirRetStatus __limProcessSmeNoAUpdate(tpAniSirGlobal pMac, tANI_U32 *pMsgBuf); |
Viral Modi | d440e68 | 2013-03-06 02:25:31 -0800 | [diff] [blame] | 1077 | void limProcessRegdDefdSmeReqAfterNOAStart(tpAniSirGlobal pMac); |
Madan Mohan Koyyalamudi | 521ff19 | 2012-11-15 17:13:08 -0800 | [diff] [blame] | 1078 | void limProcessDisassocAckTimeout(tpAniSirGlobal pMac); |
| 1079 | void limProcessDeauthAckTimeout(tpAniSirGlobal pMac); |
| 1080 | eHalStatus limSendDisassocCnf(tpAniSirGlobal pMac); |
| 1081 | eHalStatus limSendDeauthCnf(tpAniSirGlobal pMac); |
Dhanashri Atre | 4a6e3ea | 2012-12-12 14:10:33 -0800 | [diff] [blame] | 1082 | |
| 1083 | #ifdef WLAN_FEATURE_VOWIFI_11R |
| 1084 | typedef struct sSetLinkCbackParams |
| 1085 | { |
| 1086 | void * cbackDataPtr; |
| 1087 | } tSetLinkCbackParams; |
| 1088 | #endif |
Gopichand Nakkala | 2c231c8 | 2013-06-11 17:49:16 +0530 | [diff] [blame] | 1089 | |
| 1090 | void limProcessRxScanEvent(tpAniSirGlobal mac, void *buf); |
Sudhir Sattayappa Kohalli | abf751c | 2013-06-30 15:37:18 -0700 | [diff] [blame] | 1091 | |
| 1092 | int limProcessRemainOnChnlReq(tpAniSirGlobal pMac, tANI_U32 *pMsg); |
| 1093 | void limRemainOnChnRsp(tpAniSirGlobal pMac, eHalStatus status, tANI_U32 *data); |
Siddharth Bhal | 4f3187c | 2014-10-09 21:38:08 +0530 | [diff] [blame] | 1094 | void limProcessMlmSpoofMacAddrRsp(tpAniSirGlobal pMac, tSirRetStatus rspStatus); |
Pradeep Reddy POTTETI | 3150589 | 2015-04-16 16:47:54 +0530 | [diff] [blame] | 1095 | tSirRetStatus limProcessSmeSetTdls2040BSSCoexReq(tpAniSirGlobal pMac, |
| 1096 | tANI_U32 *pMsgBuf); |
Masti, Narayanraddi | 1fb32a9 | 2015-06-29 13:14:06 +0530 | [diff] [blame] | 1097 | tSirRetStatus limProcessSmeDelAllTdlsPeers(tpAniSirGlobal pMac, |
| 1098 | tANI_U32 *pMsgBuf); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1099 | #endif /* __LIM_TYPES_H */ |
| 1100 | |