blob: a648a78ddbfd103d440d4c517bd57b861b99b013 [file] [log] [blame]
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08001/*
2 * Copyright (c) 2011-2014 The Linux Foundation. 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 * 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/*
29 *
30 * This file lim_prop_exts_utils.h contains the definitions
31 * used by all LIM modules to support proprietary features.
32 * Author: Chandra Modumudi
33 * Date: 12/11/02
34 * History:-
35 * Date Modified by Modification Information
36 * --------------------------------------------------------------------
37 *
38 */
39
40#ifndef __LIM_PROP_EXTS_UTILS_H
41#define __LIM_PROP_EXTS_UTILS_H
42
43/* Function templates */
44void limQuietBss(tpAniSirGlobal, uint32_t);
45void lim_cleanupMeasData(tpAniSirGlobal);
46void limDeleteMeasTimers(tpAniSirGlobal);
47void limStopMeasTimers(tpAniSirGlobal pMac);
48void lim_cleanupMeasResources(tpAniSirGlobal);
49void limRestorePreLearnState(tpAniSirGlobal);
50void limCollectMeasurementData(tpAniSirGlobal, uint32_t *, tpSchBeaconStruct);
51void limCollectRSSI(tpAniSirGlobal);
52void limDeleteCurrentBssWdsNode(tpAniSirGlobal);
53uint32_t limComputeAvg(tpAniSirGlobal, uint32_t, uint32_t);
54
55/* / Function to extract AP's HCF capability from IE fields */
56void lim_extract_ap_capability(tpAniSirGlobal, uint8_t *, uint16_t, uint8_t *,
57 uint16_t *, uint8_t *, tPowerdBm *, tpPESession);
58
59tStaRateMode lim_get_sta_peer_type(tpAniSirGlobal, tpDphHashNode, tpPESession);
60#ifdef WLAN_FEATURE_11AC
61ePhyChanBondState lim_get_htcb_state(ePhyChanBondState aniCBMode);
62#endif
63
64#endif /* __LIM_PROP_EXTS_UTILS_H */