blob: 17f2da2484a7f9b48f5d1c2a6e8899d2024e73a9 [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
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 *
24 * Airgo Networks, Inc proprietary. All rights reserved.
25 * This file limPropExtsUtils.h contains the definitions
26 * used by all LIM modules to support proprietary features.
27 * Author: Chandra Modumudi
28 * Date: 12/11/02
29 * History:-
30 * Date Modified by Modification Information
31 * --------------------------------------------------------------------
32 *
33 */
34
35#ifndef __LIM_PROP_EXTS_UTILS_H
36#define __LIM_PROP_EXTS_UTILS_H
37
38
39// Function templates
40void limQuietBss(tpAniSirGlobal, tANI_U32);
41void limCleanupMeasData(tpAniSirGlobal);
42void limDeleteMeasTimers(tpAniSirGlobal);
43void limStopMeasTimers(tpAniSirGlobal pMac);
44void limCleanupMeasResources(tpAniSirGlobal);
45void limRestorePreLearnState(tpAniSirGlobal);
46void limCollectMeasurementData(tpAniSirGlobal,
47 tANI_U32 *, tpSchBeaconStruct);
48void limCollectRSSI(tpAniSirGlobal);
49void limDeleteCurrentBssWdsNode(tpAniSirGlobal);
50tANI_U32 limComputeAvg(tpAniSirGlobal, tANI_U32, tANI_U32);
51
52#if (WNI_POLARIS_FW_PACKAGE == ADVANCED) && defined(ANI_PRODUCT_TYPE_AP)
53// Timer Handlers
54void limMeasurementTimerHandler(VOID*, tANI_U32);
55#endif
56
57/// Function to extract AP's HCF capability from IE fields
58void limExtractApCapability(tpAniSirGlobal, tANI_U8 *, tANI_U16, tANI_U8 *, tANI_U16 *, tANI_U8 *, tPowerdBm*);
59
60#if (WNI_POLARIS_FW_PACKAGE == ADVANCED) && defined(ANI_PRODUCT_TYPE_AP)
61/// Function to extract current Learn channel
62tANI_U8 limGetCurrentLearnChannel(tpAniSirGlobal);
63// Determine if a newly discovered BSS is TITAN-compatible
64void handleNonTitanBss( tpAniSirGlobal, tSirNeighborBssWdsInfo );
65#endif
66ePhyChanBondState limGetPhyCBState( tpAniSirGlobal );
67tStaRateMode limGetStaPeerType( tpAniSirGlobal, tpDphHashNode ,tpPESession);
68void setupCBState( tpAniSirGlobal, tAniCBSecondaryMode );
69
70tANI_U8 limGetCurrentCBSecChannel( tpAniSirGlobal,tpPESession );
71
72#endif /* __LIM_PROP_EXTS_UTILS_H */
73