Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1 | /* |
Srinivas Girigowda | d65dc5a | 2016-01-14 17:08:26 -0800 | [diff] [blame] | 2 | * Copyright (c) 2011-2012, 2014, 2016 The Linux Foundation. All rights reserved. |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 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_ibss_peer_mgmt.h contains prototypes for |
| 31 | * the utility functions LIM uses to maintain peers in IBSS. |
| 32 | * Author: Chandra Modumudi |
| 33 | * Date: 03/12/04 |
| 34 | * History:- |
| 35 | * Date Modified by Modification Information |
| 36 | * -------------------------------------------------------------------- |
| 37 | */ |
| 38 | |
| 39 | #include "sir_common.h" |
| 40 | #include "lim_utils.h" |
| 41 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 42 | void lim_ibss_init(tpAniSirGlobal); |
| 43 | void lim_ibss_delete(tpAniSirGlobal, tpPESession psessionEntry); |
| 44 | tSirRetStatus lim_ibss_coalesce(tpAniSirGlobal, tpSirMacMgmtHdr, |
| 45 | tpSchBeaconStruct, uint8_t *, uint32_t, uint16_t, |
| 46 | tpPESession); |
| 47 | tSirRetStatus lim_ibss_sta_add(tpAniSirGlobal, void *, tpPESession); |
| 48 | tSirRetStatus lim_ibss_add_sta_rsp(tpAniSirGlobal, void *, tpPESession); |
| 49 | tLimIbssPeerNode *lim_ibss_peer_find(tpAniSirGlobal pMac, tSirMacAddr macAddr); |
| 50 | void lim_ibss_del_bss_rsp(tpAniSirGlobal, void *, tpPESession); |
| 51 | void lim_ibss_del_bss_rsp_when_coalescing(tpAniSirGlobal, void *, tpPESession); |
| 52 | void lim_ibss_add_bss_rsp_when_coalescing(tpAniSirGlobal pMac, void *msg, |
| 53 | tpPESession pSessionEntry); |
| 54 | void lim_ibss_decide_protection_on_delete(tpAniSirGlobal pMac, tpDphHashNode pStaDs, |
| 55 | tpUpdateBeaconParams pBeaconParams, |
| 56 | tpPESession pSessionEntry); |
| 57 | void lim_ibss_heart_beat_handle(tpAniSirGlobal pMac, tpPESession psessionEntry); |
| 58 | void lim_process_ibss_peer_inactivity(tpAniSirGlobal pMac, void *buf); |