/* * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ /** * DOC: wlan_twt_tgt_if_tx_api.h * * API declarations to send WMI command using Tx Ops */ #ifndef _WLAN_TWT_TGT_IF_TX_API_H_ #define _WLAN_TWT_TGT_IF_TX_API_H_ /** * tgt_twt_enable_req_send() - API to send TWT enable request command * @psoc: pointer to global psoc object * @req: pointer to twt_enable_param * * Return: QDF_STATUS - Success or Failure */ QDF_STATUS tgt_twt_enable_req_send(struct wlan_objmgr_psoc *psoc, struct twt_enable_param *req); /** * tgt_twt_disable_req_send() - API to send TWT disable request command * @psoc: pointer to global psoc object * @req: pointer to twt_disable_param * * Return: QDF_STATUS - Success or Failure */ QDF_STATUS tgt_twt_disable_req_send(struct wlan_objmgr_psoc *psoc, struct twt_disable_param *req); #endif