1 /** 2 * @file mlan_meas.h 3 * 4 * @brief Interface for the measurement module implemented in mlan_meas.c 5 * 6 * Driver interface functions and type declarations for the measurement module 7 * implemented in mlan_meas.c 8 * 9 * @sa mlan_meas.c 10 * 11 * Copyright (C) 2008-2017, Marvell International Ltd. 12 * 13 * This software file (the "File") is distributed by Marvell International 14 * Ltd. under the terms of the GNU General Public License Version 2, June 1991 15 * (the "License"). You may use, redistribute and/or modify this File in 16 * accordance with the terms and conditions of the License, a copy of which 17 * is available by writing to the Free Software Foundation, Inc., 18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 19 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 20 * 21 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 22 * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE 23 * ARE EXPRESSLY DISCLAIMED. The License provides additional details about 24 * this warranty disclaimer. 25 * 26 */ 27 28 /************************************************************* 29 Change Log: 30 03/25/2009: initial version 31 ************************************************************/ 32 33 #ifndef _MLAN_MEAS_H_ 34 #define _MLAN_MEAS_H_ 35 36 #include "mlan_fw.h" 37 38 /* Send a given measurement request to the firmware, report back the result */ 39 extern int 40 41 wlan_meas_util_send_req(mlan_private *pmpriv, 42 HostCmd_DS_MEASUREMENT_REQUEST *pmeas_req, 43 t_u32 wait_for_resp_timeout, pmlan_ioctl_req pioctl_req, 44 HostCmd_DS_MEASUREMENT_REPORT *pmeas_rpt); 45 46 /* Setup a measurement command before it is sent to the firmware */ 47 extern int wlan_meas_cmd_process(mlan_private *pmpriv, 48 HostCmd_DS_COMMAND *pcmd_ptr, 49 const t_void *pinfo_buf); 50 51 /* Handle a given measurement command response from the firmware */ 52 extern int wlan_meas_cmdresp_process(mlan_private *pmpriv, 53 const HostCmd_DS_COMMAND *resp); 54 55 #endif /* _MLAN_MEAS_H_ */ 56