blob: 3180b1aa642d793da309773e142f289af2c6c2b2 [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Kiet Lamaa8e15a2014-02-11 23:30:06 -08002 * Copyright (c) 2012-2013 Qualcomm Atheros, Inc.
3 * All Rights Reserved.
4 * Qualcomm Atheros Confidential and Proprietary.
Gopichand Nakkala92f07d82013-01-08 21:16:34 -08005 */
6/*
Jeff Johnson295189b2012-06-20 16:38:30 -07007 *
8 * Airgo Networks, Inc proprietary. All rights reserved.
9 * limSendMessages.h: Provides functions to send messages or Indications to HAL.
10 * Author: Sunit Bhatia
11 * Date: 09/21/2006
12 * History:-
13 * Date Modified by Modification Information
14 *
15 * --------------------------------------------------------------------------
16 *
17 */
18#ifndef __LIM_SEND_MESSAGES_H
19#define __LIM_SEND_MESSAGES_H
20
Jeff Johnson295189b2012-06-20 16:38:30 -070021#include "aniGlobal.h"
22#include "limTypes.h"
23#include "halMsgApi.h"
24#include "sirParams.h"
Jeff Johnson295189b2012-06-20 16:38:30 -070025tSirRetStatus limSendCFParams(tpAniSirGlobal pMac, tANI_U8 bssIdx, tANI_U8 cfpCount, tANI_U8 cfpPeriod);
26tSirRetStatus limSendBeaconParams(tpAniSirGlobal pMac,
27 tpUpdateBeaconParams pUpdatedBcnParams,
28 tpPESession psessionEntry );
Jeff Johnson295189b2012-06-20 16:38:30 -070029//tSirRetStatus limSendBeaconParams(tpAniSirGlobal pMac, tpUpdateBeaconParams pUpdatedBcnParams);
Mohit Khanna4a70d262012-09-11 16:30:12 -070030tSirRetStatus limSendModeUpdate(tpAniSirGlobal pMac,
31 tUpdateVHTOpMode *tempParam,
32 tpPESession psessionEntry );
Madan Mohan Koyyalamudic6226de2012-09-18 16:33:31 -070033
Sandeep Puligilla60342762014-01-30 21:05:37 +053034#ifdef WLAN_FEATURE_11AC
Madan Mohan Koyyalamudic6226de2012-09-18 16:33:31 -070035tANI_U32 limGetCenterChannel(tpAniSirGlobal pMac,
36 tANI_U8 primarychanNum,
37 ePhyChanBondState secondaryChanOffset,
38 tANI_U8 chanWidth);
Mohit Khanna4a70d262012-09-11 16:30:12 -070039#endif
Jeff Johnson295189b2012-06-20 16:38:30 -070040#if defined WLAN_FEATURE_VOWIFI
41tSirRetStatus limSendSwitchChnlParams(tpAniSirGlobal pMac, tANI_U8 chnlNumber,
Jeff Johnsone7245742012-09-05 17:12:55 -070042 ePhyChanBondState secondaryChnlOffset,
Jeff Johnson295189b2012-06-20 16:38:30 -070043 tPowerdBm maxTxPower,tANI_U8 peSessionId);
44#else
45tSirRetStatus limSendSwitchChnlParams(tpAniSirGlobal pMac, tANI_U8 chnlNumber,
Jeff Johnsone7245742012-09-05 17:12:55 -070046 ePhyChanBondState secondaryChnlOffset,
Jeff Johnson295189b2012-06-20 16:38:30 -070047 tANI_U8 localPwrConstraint,tANI_U8 peSessionId);
48#endif
49tSirRetStatus limSendEdcaParams(tpAniSirGlobal pMac, tSirMacEdcaParamRecord *pUpdatedEdcaParams, tANI_U16 bssIdx, tANI_BOOLEAN highPerformance);
50tSirRetStatus limSetLinkState(tpAniSirGlobal pMac, tSirLinkState state, tSirMacAddr bssId,
51 tSirMacAddr selfMac, tpSetLinkStateCallback callback,
52 void *callbackArg);
53#ifdef WLAN_FEATURE_VOWIFI_11R
54extern tSirRetStatus limSetLinkStateFT(tpAniSirGlobal pMac, tSirLinkState
55state,tSirMacAddr bssId, tSirMacAddr selfMacAddr, int ft, tpPESession psessionEntry);
56#endif
schang86c22c42013-03-13 18:41:24 -070057tSirRetStatus limSendSetTxPowerReq(tpAniSirGlobal pMac, tANI_U32 *pTxPowerReq);
Jeff Johnson295189b2012-06-20 16:38:30 -070058tSirRetStatus limSendGetTxPowerReq(tpAniSirGlobal pMac, tpSirGetTxPowerReq pTxPowerReq);
Jeff Johnson295189b2012-06-20 16:38:30 -070059void limSetActiveEdcaParams(tpAniSirGlobal pMac, tSirMacEdcaParamRecord *plocalEdcaParams, tpPESession psessionEntry);
Sandeep Puligilla11d49a62014-01-30 12:05:16 +053060tSirRetStatus limSendHT40OBSSScanInd(tpAniSirGlobal pMac,
61 tpPESession psessionEntry);
62tSirRetStatus limSendHT40OBSSStopScanInd(tpAniSirGlobal pMac,
63 tpPESession psessionEntry);
64
Jeff Johnson295189b2012-06-20 16:38:30 -070065#define CAPABILITY_FILTER_MASK 0x73CF
66#define ERP_FILTER_MASK 0xF8
67#define EDCA_FILTER_MASK 0xF0
68#define QOS_FILTER_MASK 0xF0
69#define HT_BYTE0_FILTER_MASK 0x0
Sandeep Puligilla60342762014-01-30 21:05:37 +053070#define HT_BYTE1_FILTER_MASK 0x07
Jeff Johnson295189b2012-06-20 16:38:30 -070071#define HT_BYTE2_FILTER_MASK 0xEB
72#define HT_BYTE5_FILTER_MASK 0xFD
73#define DS_PARAM_CHANNEL_MASK 0x0
Kiran Kumar Lokere6e455332013-06-21 19:31:12 -070074#define VHTOP_CHWIDTH_MASK 0xFC
Jeff Johnson295189b2012-06-20 16:38:30 -070075
Madan Mohan Koyyalamudia84edda2012-10-15 14:58:25 -070076tSirRetStatus limSendBeaconFilterInfo(tpAniSirGlobal pMac, tpPESession psessionEntry);
Jeff Johnson295189b2012-06-20 16:38:30 -070077
Mohit Khanna698ba2a2012-12-04 15:08:18 -080078#ifdef FEATURE_WLAN_TDLS_INTERNAL
79tSirRetStatus limSendTdlsLinkEstablish(tpAniSirGlobal pMac, tANI_U8 bIsPeerResponder, tANI_U8 linkIdenOffset, \
80 tANI_U8 ptiBufStatusOffset, tANI_U8 ptiFrameLen, tANI_U8 *ptiFrame, tANI_U8 *extCapability);
81tSirRetStatus limSendTdlsLinkTeardown(tpAniSirGlobal pMac, tANI_U16 staId);
82#endif
Chet Lanctot186b5732013-03-18 10:26:30 -070083#ifdef WLAN_FEATURE_11W
84tSirRetStatus limSendExcludeUnencryptInd(tpAniSirGlobal pMac,
85 tANI_BOOLEAN excludeUnenc,
86 tpPESession psessionEntry );
87#endif
Jeff Johnson295189b2012-06-20 16:38:30 -070088#endif