Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1 | /* |
Kiet Lam | aa8e15a | 2014-02-11 23:30:06 -0800 | [diff] [blame^] | 2 | * Copyright (c) 2012-2013 Qualcomm Atheros, Inc. |
| 3 | * All Rights Reserved. |
| 4 | * Qualcomm Atheros Confidential and Proprietary. |
Gopichand Nakkala | 92f07d8 | 2013-01-08 21:16:34 -0800 | [diff] [blame] | 5 | */ |
| 6 | /* |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 7 | * |
| 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 Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 21 | #include "aniGlobal.h" |
| 22 | #include "limTypes.h" |
| 23 | #include "halMsgApi.h" |
| 24 | #include "sirParams.h" |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 25 | tSirRetStatus limSendCFParams(tpAniSirGlobal pMac, tANI_U8 bssIdx, tANI_U8 cfpCount, tANI_U8 cfpPeriod); |
| 26 | tSirRetStatus limSendBeaconParams(tpAniSirGlobal pMac, |
| 27 | tpUpdateBeaconParams pUpdatedBcnParams, |
| 28 | tpPESession psessionEntry ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 29 | //tSirRetStatus limSendBeaconParams(tpAniSirGlobal pMac, tpUpdateBeaconParams pUpdatedBcnParams); |
Mohit Khanna | 4a70d26 | 2012-09-11 16:30:12 -0700 | [diff] [blame] | 30 | tSirRetStatus limSendModeUpdate(tpAniSirGlobal pMac, |
| 31 | tUpdateVHTOpMode *tempParam, |
| 32 | tpPESession psessionEntry ); |
Madan Mohan Koyyalamudi | c6226de | 2012-09-18 16:33:31 -0700 | [diff] [blame] | 33 | |
Sandeep Puligilla | 6034276 | 2014-01-30 21:05:37 +0530 | [diff] [blame] | 34 | #ifdef WLAN_FEATURE_11AC |
Madan Mohan Koyyalamudi | c6226de | 2012-09-18 16:33:31 -0700 | [diff] [blame] | 35 | tANI_U32 limGetCenterChannel(tpAniSirGlobal pMac, |
| 36 | tANI_U8 primarychanNum, |
| 37 | ePhyChanBondState secondaryChanOffset, |
| 38 | tANI_U8 chanWidth); |
Mohit Khanna | 4a70d26 | 2012-09-11 16:30:12 -0700 | [diff] [blame] | 39 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 40 | #if defined WLAN_FEATURE_VOWIFI |
| 41 | tSirRetStatus limSendSwitchChnlParams(tpAniSirGlobal pMac, tANI_U8 chnlNumber, |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 42 | ePhyChanBondState secondaryChnlOffset, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 43 | tPowerdBm maxTxPower,tANI_U8 peSessionId); |
| 44 | #else |
| 45 | tSirRetStatus limSendSwitchChnlParams(tpAniSirGlobal pMac, tANI_U8 chnlNumber, |
Jeff Johnson | e724574 | 2012-09-05 17:12:55 -0700 | [diff] [blame] | 46 | ePhyChanBondState secondaryChnlOffset, |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 47 | tANI_U8 localPwrConstraint,tANI_U8 peSessionId); |
| 48 | #endif |
| 49 | tSirRetStatus limSendEdcaParams(tpAniSirGlobal pMac, tSirMacEdcaParamRecord *pUpdatedEdcaParams, tANI_U16 bssIdx, tANI_BOOLEAN highPerformance); |
| 50 | tSirRetStatus limSetLinkState(tpAniSirGlobal pMac, tSirLinkState state, tSirMacAddr bssId, |
| 51 | tSirMacAddr selfMac, tpSetLinkStateCallback callback, |
| 52 | void *callbackArg); |
| 53 | #ifdef WLAN_FEATURE_VOWIFI_11R |
| 54 | extern tSirRetStatus limSetLinkStateFT(tpAniSirGlobal pMac, tSirLinkState |
| 55 | state,tSirMacAddr bssId, tSirMacAddr selfMacAddr, int ft, tpPESession psessionEntry); |
| 56 | #endif |
schang | 86c22c4 | 2013-03-13 18:41:24 -0700 | [diff] [blame] | 57 | tSirRetStatus limSendSetTxPowerReq(tpAniSirGlobal pMac, tANI_U32 *pTxPowerReq); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 58 | tSirRetStatus limSendGetTxPowerReq(tpAniSirGlobal pMac, tpSirGetTxPowerReq pTxPowerReq); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 59 | void limSetActiveEdcaParams(tpAniSirGlobal pMac, tSirMacEdcaParamRecord *plocalEdcaParams, tpPESession psessionEntry); |
Sandeep Puligilla | 11d49a6 | 2014-01-30 12:05:16 +0530 | [diff] [blame] | 60 | tSirRetStatus limSendHT40OBSSScanInd(tpAniSirGlobal pMac, |
| 61 | tpPESession psessionEntry); |
| 62 | tSirRetStatus limSendHT40OBSSStopScanInd(tpAniSirGlobal pMac, |
| 63 | tpPESession psessionEntry); |
| 64 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 65 | #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 Puligilla | 6034276 | 2014-01-30 21:05:37 +0530 | [diff] [blame] | 70 | #define HT_BYTE1_FILTER_MASK 0x07 |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 71 | #define HT_BYTE2_FILTER_MASK 0xEB |
| 72 | #define HT_BYTE5_FILTER_MASK 0xFD |
| 73 | #define DS_PARAM_CHANNEL_MASK 0x0 |
Kiran Kumar Lokere | 6e45533 | 2013-06-21 19:31:12 -0700 | [diff] [blame] | 74 | #define VHTOP_CHWIDTH_MASK 0xFC |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 75 | |
Madan Mohan Koyyalamudi | a84edda | 2012-10-15 14:58:25 -0700 | [diff] [blame] | 76 | tSirRetStatus limSendBeaconFilterInfo(tpAniSirGlobal pMac, tpPESession psessionEntry); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 77 | |
Mohit Khanna | 698ba2a | 2012-12-04 15:08:18 -0800 | [diff] [blame] | 78 | #ifdef FEATURE_WLAN_TDLS_INTERNAL |
| 79 | tSirRetStatus limSendTdlsLinkEstablish(tpAniSirGlobal pMac, tANI_U8 bIsPeerResponder, tANI_U8 linkIdenOffset, \ |
| 80 | tANI_U8 ptiBufStatusOffset, tANI_U8 ptiFrameLen, tANI_U8 *ptiFrame, tANI_U8 *extCapability); |
| 81 | tSirRetStatus limSendTdlsLinkTeardown(tpAniSirGlobal pMac, tANI_U16 staId); |
| 82 | #endif |
Chet Lanctot | 186b573 | 2013-03-18 10:26:30 -0700 | [diff] [blame] | 83 | #ifdef WLAN_FEATURE_11W |
| 84 | tSirRetStatus limSendExcludeUnencryptInd(tpAniSirGlobal pMac, |
| 85 | tANI_BOOLEAN excludeUnenc, |
| 86 | tpPESession psessionEntry ); |
| 87 | #endif |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 88 | #endif |