blob: 4bf89770fc8220b9025c6906f016327458150310 [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Jeff Johnson32d95a32012-09-10 13:15:23 -07002 * Copyright (c) 2012, The Linux Foundation. All rights reserved.
Jeff Johnson295189b2012-06-20 16:38:30 -07003 *
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 *
24 * Airgo Networks, Inc proprietary. All rights reserved.
25 * limSendMessages.h: Provides functions to send messages or Indications to HAL.
26 * Author: Sunit Bhatia
27 * Date: 09/21/2006
28 * History:-
29 * Date Modified by Modification Information
30 *
31 * --------------------------------------------------------------------------
32 *
33 */
34#ifndef __LIM_SEND_MESSAGES_H
35#define __LIM_SEND_MESSAGES_H
36
Jeff Johnson295189b2012-06-20 16:38:30 -070037#include "aniGlobal.h"
38#include "limTypes.h"
39#include "halMsgApi.h"
40#include "sirParams.h"
Jeff Johnson295189b2012-06-20 16:38:30 -070041tSirRetStatus limSendCFParams(tpAniSirGlobal pMac, tANI_U8 bssIdx, tANI_U8 cfpCount, tANI_U8 cfpPeriod);
42tSirRetStatus limSendBeaconParams(tpAniSirGlobal pMac,
43 tpUpdateBeaconParams pUpdatedBcnParams,
44 tpPESession psessionEntry );
Jeff Johnson295189b2012-06-20 16:38:30 -070045//tSirRetStatus limSendBeaconParams(tpAniSirGlobal pMac, tpUpdateBeaconParams pUpdatedBcnParams);
Mohit Khanna4a70d262012-09-11 16:30:12 -070046#ifdef WLAN_FEATURE_11AC
47tSirRetStatus limSendModeUpdate(tpAniSirGlobal pMac,
48 tUpdateVHTOpMode *tempParam,
49 tpPESession psessionEntry );
50#endif
Jeff Johnson295189b2012-06-20 16:38:30 -070051#if defined WLAN_FEATURE_VOWIFI
52tSirRetStatus limSendSwitchChnlParams(tpAniSirGlobal pMac, tANI_U8 chnlNumber,
Jeff Johnsone7245742012-09-05 17:12:55 -070053 ePhyChanBondState secondaryChnlOffset,
Jeff Johnson295189b2012-06-20 16:38:30 -070054 tPowerdBm maxTxPower,tANI_U8 peSessionId);
55#else
56tSirRetStatus limSendSwitchChnlParams(tpAniSirGlobal pMac, tANI_U8 chnlNumber,
Jeff Johnsone7245742012-09-05 17:12:55 -070057 ePhyChanBondState secondaryChnlOffset,
Jeff Johnson295189b2012-06-20 16:38:30 -070058 tANI_U8 localPwrConstraint,tANI_U8 peSessionId);
59#endif
60tSirRetStatus limSendEdcaParams(tpAniSirGlobal pMac, tSirMacEdcaParamRecord *pUpdatedEdcaParams, tANI_U16 bssIdx, tANI_BOOLEAN highPerformance);
61tSirRetStatus limSetLinkState(tpAniSirGlobal pMac, tSirLinkState state, tSirMacAddr bssId,
62 tSirMacAddr selfMac, tpSetLinkStateCallback callback,
63 void *callbackArg);
64#ifdef WLAN_FEATURE_VOWIFI_11R
65extern tSirRetStatus limSetLinkStateFT(tpAniSirGlobal pMac, tSirLinkState
66state,tSirMacAddr bssId, tSirMacAddr selfMacAddr, int ft, tpPESession psessionEntry);
67#endif
68tSirRetStatus limSendSetTxPowerReq(tpAniSirGlobal pMac, tpSirSetTxPowerReq pTxPowerReq);
69tSirRetStatus limSendGetTxPowerReq(tpAniSirGlobal pMac, tpSirGetTxPowerReq pTxPowerReq);
Jeff Johnson295189b2012-06-20 16:38:30 -070070void limSetActiveEdcaParams(tpAniSirGlobal pMac, tSirMacEdcaParamRecord *plocalEdcaParams, tpPESession psessionEntry);
Jeff Johnson295189b2012-06-20 16:38:30 -070071#define CAPABILITY_FILTER_MASK 0x73CF
72#define ERP_FILTER_MASK 0xF8
73#define EDCA_FILTER_MASK 0xF0
74#define QOS_FILTER_MASK 0xF0
75#define HT_BYTE0_FILTER_MASK 0x0
76#define HT_BYTE2_FILTER_MASK 0xEB
77#define HT_BYTE5_FILTER_MASK 0xFD
78#define DS_PARAM_CHANNEL_MASK 0x0
79
Jeff Johnson295189b2012-06-20 16:38:30 -070080tSirRetStatus limSendBeaconFilterInfo(tpAniSirGlobal pMac);
81
Jeff Johnson295189b2012-06-20 16:38:30 -070082#endif