blob: 701168b6cf23cfd98b966e30e945cbf9f5e5df63 [file] [log] [blame]
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08001/*
Jeff Johnson348973e2018-11-22 16:51:12 -08002 * Copyright (c) 2012, 2014-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 * This file lim_scan_result_utils.h contains the utility definitions
21 * LIM uses for maintaining and accessing scan results on STA.
22 * Author: Chandra Modumudi
23 * Date: 02/13/02
24 * History:-
25 * Date Modified by Modification Information
26 * --------------------------------------------------------------------
27 */
28#ifndef __LIM_SCAN_UTILS_H
29#define __LIM_SCAN_UTILS_H
30
31#include "parser_api.h"
32#include "lim_types.h"
33
34/* Scan result hash related functions */
35uint8_t lim_scan_hash_function(tSirMacAddr);
Jeff Johnson9320c1e2018-12-02 13:09:20 -080036void lim_restore_pre_scan_state(struct mac_context *);
37void lim_copy_scan_result(struct mac_context *, uint8_t *);
38void lim_collect_bss_description(struct mac_context *mac,
Deepak Dhamdhere641bf322016-01-06 15:19:03 -080039 tSirBssDescription *pBssDescr,
40 tpSirProbeRespBeacon pBPR,
41 uint8_t *pRxPacketInfo, uint8_t fScanning);
Prakash Dhavali7090c5f2015-11-02 17:55:19 -080042#endif /* __LIM_SCAN_UTILS_H */