xref: /wlan-dirver/qca-wifi-host-cmn/target_if/iot_sim/target_if_iot_sim.h (revision 6d768494e5ce14eb1603a695c86739d12ecc6ec2)
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 #ifndef _TARGET_IF_IOT_SIM_H_
18 #define _TARGET_IOT_SIM_H_
19 
20 #include <wlan_objmgr_cmn.h>
21 #include <wlan_objmgr_pdev_obj.h>
22 
23 #ifdef WLAN_IOT_SIM_SUPPORT
24 #include <wlan_iot_sim_utils_api.h>
25 #include <wlan_iot_sim_public_structs.h>
26 
27 /**
28  * target_if_iot_sim_register_tx_ops() - Register IOT Sim target_if Tx Ops
29  * @tx_ops: Tx Ops
30  *
31  * Return: void
32  */
33 void target_if_iot_sim_register_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops);
34 
35 QDF_STATUS
36 target_if_iot_sim_send_cmd(struct wlan_objmgr_pdev *pdev,
37 			   struct simulation_test_params *param);
38 
39 #endif
40 #endif
41