1 /* 2 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for 5 * any purpose with or without fee is hereby granted, provided that the 6 * above copyright notice and this permission notice appear in all 7 * copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 10 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 11 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 12 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 13 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 14 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 15 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16 * PERFORMANCE OF THIS SOFTWARE. 17 */ 18 /** 19 * DOC: wlan_twt_tgt_if_tx_api.h 20 * 21 * API declarations to send WMI command using Tx Ops 22 */ 23 #ifndef _WLAN_TWT_TGT_IF_TX_API_H_ 24 #define _WLAN_TWT_TGT_IF_TX_API_H_ 25 26 /** 27 * tgt_twt_enable_req_send() - API to send TWT enable request command 28 * @psoc: pointer to global psoc object 29 * @req: pointer to twt_enable_param 30 * 31 * Return: QDF_STATUS - Success or Failure 32 */ 33 QDF_STATUS 34 tgt_twt_enable_req_send(struct wlan_objmgr_psoc *psoc, 35 struct twt_enable_param *req); 36 37 /** 38 * tgt_twt_disable_req_send() - API to send TWT disable request command 39 * @psoc: pointer to global psoc object 40 * @req: pointer to twt_disable_param 41 * 42 * Return: QDF_STATUS - Success or Failure 43 */ 44 QDF_STATUS 45 tgt_twt_disable_req_send(struct wlan_objmgr_psoc *psoc, 46 struct twt_disable_param *req); 47 #endif 48