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 2008-2024 NXP
12  *
13  *  SPDX-License-Identifier: BSD-3-Clause
14  *
15  */
16 
17 /*************************************************************
18 Change Log:
19     03/25/2009: initial version
20 ************************************************************/
21 
22 #ifndef _MLAN_MEAS_H_
23 #define _MLAN_MEAS_H_
24 
25 #include "mlan_fw.h"
26 
27 /* Send a given measurement request to the firmware, report back the result */
28 extern int wlan_meas_util_send_req(mlan_private *pmpriv,
29                                    HostCmd_DS_MEASUREMENT_REQUEST *pmeas_req,
30                                    t_u32 wait_for_resp_timeout,
31                                    pmlan_ioctl_req pioctl_req,
32                                    HostCmd_DS_MEASUREMENT_REPORT *pmeas_rpt);
33 
34 /* Setup a measurement command before it is sent to the firmware */
35 extern int wlan_meas_cmd_process(mlan_private *pmpriv, HostCmd_DS_COMMAND *pcmd_ptr, const t_void *pinfo_buf);
36 
37 /* Handle a given measurement command response from the firmware */
38 extern int wlan_meas_cmdresp_process(mlan_private *pmpriv, const HostCmd_DS_COMMAND *resp);
39 
40 #endif /* _MLAN_MEAS_H_ */
41