blob: 03ad03824aee7f8164d138adf0d72930dbe791a1 [file] [log] [blame]
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08001/*
Jeff Johnson348973e2018-11-22 16:51:12 -08002 * Copyright (c) 2011-2014, 2016, 2018 The Linux Foundation. All rights reserved.
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08003 *
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08004 * Permission to use, copy, modify, and/or distribute this software for
5 * any purpose with or without fee is hereby granted, provided that the
6 * above copyright notice and this permission notice appear in all
7 * copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16 * PERFORMANCE OF THIS SOFTWARE.
17 */
18
19/*
Prakash Dhavali7090c5f2015-11-02 17:55:19 -080020 *
21 * This file lim_prop_exts_utils.h contains the definitions
22 * used by all LIM modules to support proprietary features.
23 * Author: Chandra Modumudi
24 * Date: 12/11/02
25 * History:-
26 * Date Modified by Modification Information
27 * --------------------------------------------------------------------
28 *
29 */
30
31#ifndef __LIM_PROP_EXTS_UTILS_H
32#define __LIM_PROP_EXTS_UTILS_H
33
34/* Function templates */
Jeff Johnson9320c1e2018-12-02 13:09:20 -080035void limQuietBss(struct mac_context *, uint32_t);
36void lim_cleanupMeasData(struct mac_context *);
37void limDeleteMeasTimers(struct mac_context *);
38void limStopMeasTimers(struct mac_context *mac);
39void lim_cleanupMeasResources(struct mac_context *);
40void limRestorePreLearnState(struct mac_context *);
41void limCollectMeasurementData(struct mac_context *, uint32_t *, tpSchBeaconStruct);
42void limCollectRSSI(struct mac_context *);
43void limDeleteCurrentBssWdsNode(struct mac_context *);
44uint32_t limComputeAvg(struct mac_context *, uint32_t, uint32_t);
Prakash Dhavali7090c5f2015-11-02 17:55:19 -080045
46/* / Function to extract AP's HCF capability from IE fields */
Jeff Johnson9320c1e2018-12-02 13:09:20 -080047void lim_extract_ap_capability(struct mac_context *, uint8_t *, uint16_t, uint8_t *,
Jeff Johnson32ce2ff2018-11-18 22:08:58 -080048 uint16_t *, uint8_t *, int8_t *, struct pe_session *);
Prakash Dhavali7090c5f2015-11-02 17:55:19 -080049
Prakash Dhavali7090c5f2015-11-02 17:55:19 -080050ePhyChanBondState lim_get_htcb_state(ePhyChanBondState aniCBMode);
Prakash Dhavali7090c5f2015-11-02 17:55:19 -080051
52#endif /* __LIM_PROP_EXTS_UTILS_H */