xref: /wlan-driver/qcacld-3.0/components/umac/mlme/wfa_config/dispatcher/inc/wlan_wfa_ucfg_api.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1 /*
2  * Copyright (c) 2020, The Linux Foundation. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for any
5  * purpose with or without fee is hereby granted, provided that the above
6  * copyright notice and this permission notice appear in all copies.
7  *
8  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15  */
16 
17 /*
18  * DOC: wlan_wfa_ucfg_api.h
19  *
20  * Implementation for the Common WFA test config interfaces.
21  */
22 
23 #ifndef WLAN_WFA_CONFIG_API_H__
24 #define WLAN_WFA_CONFIG_API_H__
25 
26 #include "wlan_mlme_dbg.h"
27 #include "wlan_mlme_api.h"
28 #include "wlan_wfa_tgt_if_tx_api.h"
29 
30 /**
31  * ucfg_send_wfatest_cmd() - Send WFA test command to firmware
32  * @vdev: Pointer to vdev
33  * @wmi_wfatest: Pointer to WFA test config params
34  *
35  * Return:  QDF_STATUS
36  */
37 static inline
ucfg_send_wfatest_cmd(struct wlan_objmgr_vdev * vdev,struct set_wfatest_params * wmi_wfatest)38 QDF_STATUS ucfg_send_wfatest_cmd(struct wlan_objmgr_vdev *vdev,
39 				 struct set_wfatest_params *wmi_wfatest)
40 {
41 	return wlan_send_wfatest_cmd(vdev, wmi_wfatest);
42 }
43 #endif  /* WLAN_WFA_CONFIG_API_H__ */
44