Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1 | /* |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 2 | * Copyright (c) 2011-2014, 2016, 2018 The Linux Foundation. All rights reserved. |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3 | * |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4 | * 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 Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 20 | * |
| 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 Johnson | 9320c1e | 2018-12-02 13:09:20 -0800 | [diff] [blame^] | 35 | void limQuietBss(struct mac_context *, uint32_t); |
| 36 | void lim_cleanupMeasData(struct mac_context *); |
| 37 | void limDeleteMeasTimers(struct mac_context *); |
| 38 | void limStopMeasTimers(struct mac_context *mac); |
| 39 | void lim_cleanupMeasResources(struct mac_context *); |
| 40 | void limRestorePreLearnState(struct mac_context *); |
| 41 | void limCollectMeasurementData(struct mac_context *, uint32_t *, tpSchBeaconStruct); |
| 42 | void limCollectRSSI(struct mac_context *); |
| 43 | void limDeleteCurrentBssWdsNode(struct mac_context *); |
| 44 | uint32_t limComputeAvg(struct mac_context *, uint32_t, uint32_t); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 45 | |
| 46 | /* / Function to extract AP's HCF capability from IE fields */ |
Jeff Johnson | 9320c1e | 2018-12-02 13:09:20 -0800 | [diff] [blame^] | 47 | void lim_extract_ap_capability(struct mac_context *, uint8_t *, uint16_t, uint8_t *, |
Jeff Johnson | 32ce2ff | 2018-11-18 22:08:58 -0800 | [diff] [blame] | 48 | uint16_t *, uint8_t *, int8_t *, struct pe_session *); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 49 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 50 | ePhyChanBondState lim_get_htcb_state(ePhyChanBondState aniCBMode); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 51 | |
| 52 | #endif /* __LIM_PROP_EXTS_UTILS_H */ |