blob: 5f6f6cf14ae53f310eb37bdf877a73c91fb3de0d [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -08002 * Copyright (c) 2012-2014 The Linux Foundation. All rights reserved.
Kiet Lam842dad02014-02-18 18:44:02 -08003 *
4 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
5 *
6 *
7 * Permission to use, copy, modify, and/or distribute this software for
8 * any purpose with or without fee is hereby granted, provided that the
9 * above copyright notice and this permission notice appear in all
10 * copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
13 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
14 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
15 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
16 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
17 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 * PERFORMANCE OF THIS SOFTWARE.
Kiet Lamaa8e15a2014-02-11 23:30:06 -080020 */
Kiet Lam842dad02014-02-18 18:44:02 -080021
Jeff Johnson295189b2012-06-20 16:38:30 -070022/*
Kiet Lam842dad02014-02-18 18:44:02 -080023 * This file was originally distributed by Qualcomm Atheros, Inc.
24 * under proprietary terms before Copyright ownership was assigned
25 * to the Linux Foundation.
26 */
27
28/*
Jeff Johnson295189b2012-06-20 16:38:30 -070029 * This file limSendSmeRspMessages.h contains the definitions for
30 * sending SME response/notification messages to applications above
31 * MAC software.
32 * Author: Chandra Modumudi
33 * Date: 02/11/02
34 * History:-
35 * Date Modified by Modification Information
36 * --------------------------------------------------------------------
Jeff Johnson62c27982013-02-27 17:53:55 -080037 *
Jeff Johnson295189b2012-06-20 16:38:30 -070038 */
39#ifndef __LIM_SEND_SME_RSP_H
40#define __LIM_SEND_SME_RSP_H
41
42#include "sirCommon.h"
43#include "sirApi.h"
44#include "sirMacProtDef.h"
45
46
47// Functions for sending responses to Host
48void limSendSmeRsp(tpAniSirGlobal, tANI_U16, tSirResultCodes, tANI_U8 , tANI_U16);
49void limSendSmeStartBssRsp(tpAniSirGlobal, tANI_U16, tSirResultCodes,tpPESession,tANI_U8,tANI_U16);
50void limSendSmeScanRsp(tpAniSirGlobal, tANI_U16, tSirResultCodes,tANI_U8, tANI_U16);
Varun Reddy Yeturud0a3f252013-04-15 21:58:13 -070051#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
52void limSendSmeLfrScanRsp(tpAniSirGlobal, tANI_U16, tSirResultCodes,tANI_U8, tANI_U16);
53#endif
Jeff Johnson295189b2012-06-20 16:38:30 -070054void limPostSmeScanRspMessage(tpAniSirGlobal, tANI_U16, tSirResultCodes,tANI_U8,tANI_U16);
55void limSendSmeAuthRsp(tpAniSirGlobal, tSirResultCodes,
56 tSirMacAddr, tAniAuthType, tANI_U16,tpPESession,tANI_U8,tANI_U16);
57
58void limSendSmeJoinReassocRsp(tpAniSirGlobal, tANI_U16, tSirResultCodes, tANI_U16,tpPESession,tANI_U8,tANI_U16);
59void limSendSmeDisassocNtf(tpAniSirGlobal, tSirMacAddr, tSirResultCodes, tANI_U16, tANI_U16,tANI_U8,tANI_U16,tpPESession);
60void limSendSmeDeauthNtf(tpAniSirGlobal, tSirMacAddr, tSirResultCodes, tANI_U16, tANI_U16, tANI_U8, tANI_U16);
61void limSendSmeDisassocInd(tpAniSirGlobal, tpDphHashNode,tpPESession);
62void limSendSmeDeauthInd(tpAniSirGlobal, tpDphHashNode, tpPESession psessionEntry);
Varun Reddy Yeturud0a3f252013-04-15 21:58:13 -070063#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
64void limSendSmeCandidateFoundInd(tpAniSirGlobal, tANI_U8);
65#endif
Jeff Johnson295189b2012-06-20 16:38:30 -070066
67void limSendSmeWmStatusChangeNtf(tpAniSirGlobal, tSirSmeStatusChangeCode, tANI_U32 *, tANI_U16, tANI_U8);
68void limSendSmeSetContextRsp(tpAniSirGlobal,
69 tSirMacAddr, tANI_U16, tSirResultCodes,tpPESession,tANI_U8,tANI_U16);
70void limSendSmePromiscuousModeRsp(tpAniSirGlobal pMac);
71void limSendSmeNeighborBssInd(tpAniSirGlobal,
72 tLimScanResultNode *);
Jeff Johnson295189b2012-06-20 16:38:30 -070073void limHandleDeleteBssRsp(tpAniSirGlobal pMac,tpSirMsgQ MsgQ);
74
75#ifdef WLAN_FEATURE_VOWIFI_11R
76void
77limSendSmeAggrQosRsp(tpAniSirGlobal pMac, tpSirAggrQosRsp aggrQosRsp,
78 tANI_U8 smesessionId);
79#endif /*WLAN_FEATURE_VOWIFI_11R*/
80
81
82void limSendSmeAddtsRsp(tpAniSirGlobal pMac, tANI_U8 rspReqd, tANI_U32 status, tpPESession psessionEntry, tSirMacTspecIE tspec, tANI_U8 smesessionId, tANI_U16 smetransactionId);
83void limSendSmeAddtsInd(tpAniSirGlobal pMac, tpSirAddtsReqInfo addts);
84void limSendSmeDeltsRsp(tpAniSirGlobal pMac, tpSirDeltsReq delts, tANI_U32 status,tpPESession psessionEntry,tANI_U8 smessionId,tANI_U16 smetransactionId);
85void limSendSmeDeltsInd(tpAniSirGlobal pMac, tpSirDeltsReqInfo delts, tANI_U16 aid,tpPESession);
86void limSendSmeStatsRsp(tpAniSirGlobal pMac, tANI_U16 msgtype, void * stats);
87
88void limSendSmePEStatisticsRsp(tpAniSirGlobal pMac, tANI_U16 msgtype, void * stats);
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -080089#if defined WLAN_FEATURE_VOWIFI_11R || defined FEATURE_WLAN_ESE || defined(FEATURE_WLAN_LFR)
Srinivas Girigowdad34cedb2013-01-25 13:33:11 -080090void limSendSmePEGetRoamRssiRsp(tpAniSirGlobal pMac, tANI_U16 msgtype, void * stats);
91#endif
Varun Reddy Yeturu5d5e2c62014-02-27 13:31:29 -080092#ifdef FEATURE_WLAN_ESE_UPLOAD
93void limSendSmePEEseTsmRsp(tpAniSirGlobal pMac, tAniGetTsmStatsRsp *pStats);
Srinivas Girigowda5cecb202013-10-08 09:13:25 -070094#endif
Jeff Johnson295189b2012-06-20 16:38:30 -070095void limSendSmeRemoveKeyRsp(tpAniSirGlobal pMac, tSirMacAddr peerMacAddr, tSirResultCodes resultCode,tpPESession,tANI_U8,tANI_U16);
96
97
98void limSendSmeGetTxPowerRsp(tpAniSirGlobal pMac, tANI_U32 power, tANI_U32 status);
99void limSendSmeGetNoiseRsp(tpAniSirGlobal pMac, tSirMacNoise noise);
100void limSendSmeIBSSPeerInd(tpAniSirGlobal pMac,tSirMacAddr peerMacAddr,tANI_U16 staIndex,tANI_U8 ucastIdx,tANI_U8 bcastIdx,
101 tANI_U8 *beacon,tANI_U16 beaconLen, tANI_U16 msgType, tANI_U8 sessionId);
102void limSendExitBmpsInd(tpAniSirGlobal pMac, tExitBmpsReason reasonCode);
103
Jeff Johnsone7245742012-09-05 17:12:55 -0700104#ifdef FEATURE_OEM_DATA_SUPPORT
105void limSendSmeOemDataRsp(tpAniSirGlobal pMac, tANI_U32* pMsgBuf, tSirResultCodes resultCode);
106#endif
Jeff Johnson295189b2012-06-20 16:38:30 -0700107
108void limSendSmePreChannelSwitchInd(tpAniSirGlobal pMac);
109void limSendSmePostChannelSwitchInd(tpAniSirGlobal pMac);
110void limSendSmeMaxAssocExceededNtf(tpAniSirGlobal pMac, tSirMacAddr peerMacAddr, tANI_U8 smesessionId);
Mohit Khanna698ba2a2012-12-04 15:08:18 -0800111#ifdef FEATURE_WLAN_TDLS
112void limSendSmeTdlsDisRsp(tpAniSirGlobal pMac, tSirResultCodes statusCode, tANI_U16 msgType);
113void limSendSmeTdlsLinkStartRsp(tpAniSirGlobal pMac, tSirResultCodes statusCode, tSirMacAddr peerMac, tANI_U16 msgType);
114void limSendSmeTdlsTeardownRsp(tpAniSirGlobal pMac, tSirResultCodes statusCode, tSirMacAddr peerMac, tANI_U16 msgType);
Gopichand Nakkala79ff85d2013-05-27 17:05:29 +0530115void limSendSmeTdlsLinkEstablishReqRsp(tpAniSirGlobal pMac,
116 tANI_U8 sessionId, tSirMacAddr peerMac, tDphHashNode *pStaDs,
117 tANI_U8 status);
Atul Mittal60bd4292014-08-14 12:19:27 +0530118void limSendSmeTdlsChanSwitchReqRsp(tpAniSirGlobal pMac,
119 tANI_U8 sessionId, tSirMacAddr peerMac, tDphHashNode *pStaDs,
120 tANI_U8 status);
Mohit Khanna698ba2a2012-12-04 15:08:18 -0800121#endif
Jeff Johnson295189b2012-06-20 16:38:30 -0700122
123#endif /* __LIM_SEND_SME_RSP_H */
124