1 /* 2 * Copyright (c) 2020, The Linux Foundation. All rights reserved. 3 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 */ 17 18 /** 19 * DOC: wlan_wfa_tgt_if_tx_api.h 20 * 21 * This file contains connection manager tx ops related functions 22 */ 23 24 #ifndef WFA_TGT_IF_TX_API_H__ 25 #define WFA_TGT_IF_TX_API_H__ 26 27 #include "wlan_wfa_config_public_struct.h" 28 29 /** 30 * wlan_send_wfatest_cmd() - Send WFA test command to firmware 31 * @vdev: VDEV pointer 32 * @wmi_wfatest: wfa test command pointer 33 * 34 * Return: QDF_STATUS 35 */ 36 QDF_STATUS 37 wlan_send_wfatest_cmd(struct wlan_objmgr_vdev *vdev, 38 struct set_wfatest_params *wmi_wfatest); 39 40 /** 41 * wlan_wfa_get_test_feature_flags() - Check if the given WFA test flag is set 42 * @psoc: psoc pointer 43 * @feature: wfa test feature bit to be checked 44 * 45 * Return: True if the specific feature is configured 46 */ 47 bool wlan_wfa_get_test_feature_flags(struct wlan_objmgr_psoc *psoc, 48 enum wlan_wfa_test_feature_flags feature); 49 #endif /* WFA_TGT_IF_TX_API_H__ */ 50