Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2012, Code Aurora Forum. All rights reserved. |
| 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 | /* |
| 23 | * Airgo Networks, Inc proprietary. All rights reserved. |
| 24 | * This file limSendSmeRspMessages.h contains the definitions for |
| 25 | * sending SME response/notification messages to applications above |
| 26 | * MAC software. |
| 27 | * Author: Chandra Modumudi |
| 28 | * Date: 02/11/02 |
| 29 | * History:- |
| 30 | * Date Modified by Modification Information |
| 31 | * -------------------------------------------------------------------- |
| 32 | * |
| 33 | */ |
| 34 | #ifndef __LIM_SEND_SME_RSP_H |
| 35 | #define __LIM_SEND_SME_RSP_H |
| 36 | |
| 37 | #include "sirCommon.h" |
| 38 | #include "sirApi.h" |
| 39 | #include "sirMacProtDef.h" |
| 40 | |
| 41 | |
| 42 | // Functions for sending responses to Host |
| 43 | void limSendSmeRsp(tpAniSirGlobal, tANI_U16, tSirResultCodes, tANI_U8 , tANI_U16); |
| 44 | void limSendSmeStartBssRsp(tpAniSirGlobal, tANI_U16, tSirResultCodes,tpPESession,tANI_U8,tANI_U16); |
| 45 | void limSendSmeScanRsp(tpAniSirGlobal, tANI_U16, tSirResultCodes,tANI_U8, tANI_U16); |
| 46 | void limPostSmeScanRspMessage(tpAniSirGlobal, tANI_U16, tSirResultCodes,tANI_U8,tANI_U16); |
| 47 | void limSendSmeAuthRsp(tpAniSirGlobal, tSirResultCodes, |
| 48 | tSirMacAddr, tAniAuthType, tANI_U16,tpPESession,tANI_U8,tANI_U16); |
| 49 | |
| 50 | void limSendSmeJoinReassocRsp(tpAniSirGlobal, tANI_U16, tSirResultCodes, tANI_U16,tpPESession,tANI_U8,tANI_U16); |
| 51 | void limSendSmeDisassocNtf(tpAniSirGlobal, tSirMacAddr, tSirResultCodes, tANI_U16, tANI_U16,tANI_U8,tANI_U16,tpPESession); |
| 52 | void limSendSmeDeauthNtf(tpAniSirGlobal, tSirMacAddr, tSirResultCodes, tANI_U16, tANI_U16, tANI_U8, tANI_U16); |
| 53 | void limSendSmeDisassocInd(tpAniSirGlobal, tpDphHashNode,tpPESession); |
| 54 | void limSendSmeDeauthInd(tpAniSirGlobal, tpDphHashNode, tpPESession psessionEntry); |
| 55 | |
| 56 | |
| 57 | |
| 58 | void limSendSmeWmStatusChangeNtf(tpAniSirGlobal, tSirSmeStatusChangeCode, tANI_U32 *, tANI_U16, tANI_U8); |
| 59 | void limSendSmeSetContextRsp(tpAniSirGlobal, |
| 60 | tSirMacAddr, tANI_U16, tSirResultCodes,tpPESession,tANI_U8,tANI_U16); |
| 61 | void limSendSmePromiscuousModeRsp(tpAniSirGlobal pMac); |
| 62 | void limSendSmeNeighborBssInd(tpAniSirGlobal, |
| 63 | tLimScanResultNode *); |
| 64 | #if (WNI_POLARIS_FW_PRODUCT == AP) && (WNI_POLARIS_FW_PACKAGE == ADVANCED) |
| 65 | void limSendSmeMeasurementInd(tpAniSirGlobal); |
| 66 | #endif |
| 67 | void limHandleDeleteBssRsp(tpAniSirGlobal pMac,tpSirMsgQ MsgQ); |
| 68 | |
| 69 | #ifdef WLAN_FEATURE_VOWIFI_11R |
| 70 | void |
| 71 | limSendSmeAggrQosRsp(tpAniSirGlobal pMac, tpSirAggrQosRsp aggrQosRsp, |
| 72 | tANI_U8 smesessionId); |
| 73 | #endif /*WLAN_FEATURE_VOWIFI_11R*/ |
| 74 | |
| 75 | |
| 76 | void limSendSmeAddtsRsp(tpAniSirGlobal pMac, tANI_U8 rspReqd, tANI_U32 status, tpPESession psessionEntry, tSirMacTspecIE tspec, tANI_U8 smesessionId, tANI_U16 smetransactionId); |
| 77 | void limSendSmeAddtsInd(tpAniSirGlobal pMac, tpSirAddtsReqInfo addts); |
| 78 | void limSendSmeDeltsRsp(tpAniSirGlobal pMac, tpSirDeltsReq delts, tANI_U32 status,tpPESession psessionEntry,tANI_U8 smessionId,tANI_U16 smetransactionId); |
| 79 | void limSendSmeDeltsInd(tpAniSirGlobal pMac, tpSirDeltsReqInfo delts, tANI_U16 aid,tpPESession); |
| 80 | void limSendSmeStatsRsp(tpAniSirGlobal pMac, tANI_U16 msgtype, void * stats); |
| 81 | |
| 82 | void limSendSmePEStatisticsRsp(tpAniSirGlobal pMac, tANI_U16 msgtype, void * stats); |
| 83 | void limSendSmeRemoveKeyRsp(tpAniSirGlobal pMac, tSirMacAddr peerMacAddr, tSirResultCodes resultCode,tpPESession,tANI_U8,tANI_U16); |
| 84 | |
| 85 | |
| 86 | void limSendSmeGetTxPowerRsp(tpAniSirGlobal pMac, tANI_U32 power, tANI_U32 status); |
| 87 | void limSendSmeGetNoiseRsp(tpAniSirGlobal pMac, tSirMacNoise noise); |
| 88 | void limSendSmeIBSSPeerInd(tpAniSirGlobal pMac,tSirMacAddr peerMacAddr,tANI_U16 staIndex,tANI_U8 ucastIdx,tANI_U8 bcastIdx, |
| 89 | tANI_U8 *beacon,tANI_U16 beaconLen, tANI_U16 msgType, tANI_U8 sessionId); |
| 90 | void limSendExitBmpsInd(tpAniSirGlobal pMac, tExitBmpsReason reasonCode); |
| 91 | |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame^] | 92 | #ifdef FEATURE_OEM_DATA_SUPPORT |
| 93 | void limSendSmeOemDataRsp(tpAniSirGlobal pMac, tANI_U32* pMsgBuf, tSirResultCodes resultCode); |
| 94 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 95 | |
| 96 | void limSendSmePreChannelSwitchInd(tpAniSirGlobal pMac); |
| 97 | void limSendSmePostChannelSwitchInd(tpAniSirGlobal pMac); |
| 98 | void limSendSmeMaxAssocExceededNtf(tpAniSirGlobal pMac, tSirMacAddr peerMacAddr, tANI_U8 smesessionId); |
| 99 | |
| 100 | #endif /* __LIM_SEND_SME_RSP_H */ |
| 101 | |