1 /* 2 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. 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 #include "qdf_status.h" 18 #include "wlan_ll_sap_public_structs.h" 19 #include "wmi_unified_param.h" 20 21 #ifdef WLAN_FEATURE_LL_LT_SAP 22 /** 23 * audio_transport_switch_resp_tlv() - AUdio transport switch response tlv 24 * @wmi_hdl: WMI handle 25 * @req_type: Bearer switch request type 26 * @status: Bearer switch status 27 * 28 * Return: QDF_STATUS 29 */ 30 QDF_STATUS 31 audio_transport_switch_resp_tlv(wmi_unified_t wmi_hdl, 32 enum bearer_switch_req_type req_type, 33 enum bearer_switch_status status); 34 35 /** 36 * extract_audio_transport_switch_req_event_tlv() - AUdio transport switch 37 * request tlv 38 * @wmi_handle: WMI handle 39 * @event: Event received from the FW 40 * @len: Length of the event 41 * @req_type: Bearer switch request type 42 * 43 * Return: QDF_STATUS 44 */ 45 QDF_STATUS 46 extract_audio_transport_switch_req_event_tlv( 47 wmi_unified_t wmi_handle, 48 uint8_t *event, uint32_t len, 49 enum bearer_switch_req_type *req_type); 50 51 #endif 52