/* * Copyright (c) 2017-2018 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ /* * DOC: contains scan api */ #ifndef _WLAN_SCAN_API_H_ #define _WLAN_SCAN_API_H_ #include #include #include #include "../../core/src/wlan_scan_main.h" /** * wlan_scan_cfg_set_active_dwelltime() - API to set scan active dwelltime * @psoc: pointer to psoc object * @dwell_time: scan active dwell time * * Return: none */ void wlan_scan_cfg_set_active_dwelltime(struct wlan_objmgr_psoc *psoc, uint32_t dwell_time); /** * wlan_scan_cfg_get_active_dwelltime() - API to get active dwelltime * @psoc: pointer to psoc object * @dwell_time: scan active dwelltime * * Return: scan active dwell time */ void wlan_scan_cfg_get_active_dwelltime(struct wlan_objmgr_psoc *psoc, uint32_t *dwell_time); /** * wlan_scan_cfg_set_passive_dwelltime() - API to set scan passive dwelltime * @psoc: pointer to psoc object * @dwell_time: scan passive dwell time * * Return: none */ void wlan_scan_cfg_set_passive_dwelltime(struct wlan_objmgr_psoc *psoc, uint32_t dwell_time); /** * wlan_scan_cfg_get_passive_dwelltime() - API to get passive dwelltime * @psoc: pointer to psoc object * @dwell_time: scan passive dwelltime * * Return: scan passive dwell time */ void wlan_scan_cfg_get_passive_dwelltime(struct wlan_objmgr_psoc *psoc, uint32_t *dwell_time); #endif