Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1 | /* |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame^] | 2 | * Copyright (c) 2012, The Linux Foundation. All rights reserved. |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [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 | * Airgo Networks, Inc proprietary. All rights reserved. |
| 24 | * This file limScanResultUtils.h contains the utility definitions |
| 25 | * LIM uses for maintaining and accessing scan results on STA. |
| 26 | * Author: Chandra Modumudi |
| 27 | * Date: 02/13/02 |
| 28 | * History:- |
| 29 | * Date Modified by Modification Information |
| 30 | * -------------------------------------------------------------------- |
| 31 | */ |
| 32 | #ifndef __LIM_SCAN_UTILS_H |
| 33 | #define __LIM_SCAN_UTILS_H |
| 34 | |
| 35 | #include "parserApi.h" |
| 36 | #include "limTypes.h" |
| 37 | |
| 38 | // Scan result hash related functions |
| 39 | tANI_U8 limScanHashFunction(tSirMacAddr); |
| 40 | void limInitHashTable(tpAniSirGlobal); |
| 41 | eHalStatus |
| 42 | limLookupNaddHashEntry(tpAniSirGlobal, tLimScanResultNode *, tANI_U8); |
| 43 | void limDeleteHashEntry(tLimScanResultNode *); |
| 44 | void limDeleteCachedScanResults(tpAniSirGlobal); |
| 45 | void limRestorePreScanState(tpAniSirGlobal); |
| 46 | void limCopyScanResult(tpAniSirGlobal, tANI_U8 *); |
| 47 | void limReInitScanResults(tpAniSirGlobal); |
| 48 | tANI_U32 limDeactivateMinChannelTimerDuringScan(tpAniSirGlobal); |
| 49 | void limCheckAndAddBssDescription(tpAniSirGlobal, tpSirProbeRespBeacon, tANI_U8 *, tANI_BOOLEAN, tANI_U8); |
| 50 | #if defined WLAN_FEATURE_VOWIFI |
| 51 | void limCollectBssDescription(tpAniSirGlobal, |
| 52 | tSirBssDescription *, |
| 53 | tpSirProbeRespBeacon, |
| 54 | tANI_U8 *, |
| 55 | tANI_U8); |
| 56 | #else |
| 57 | void limCollectBssDescription(tpAniSirGlobal, |
| 58 | tSirBssDescription *, |
| 59 | tpSirProbeRespBeacon, |
| 60 | tANI_U8 *); |
| 61 | #endif |
| 62 | |
| 63 | #endif /* __LIM_SCAN_UTILS_H */ |