1 /* 2 * Copyright (c) 2019 The Linux Foundation. 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: Implement API's specific to interop issues ap component. 20 */ 21 22 #ifndef _WMI_UNIFIED_INTEROP_ISSUES_AP_API_H_ 23 #define _WMI_UNIFIED_INTEROP_ISSUES_AP_API_H_ 24 25 #include <wmi_unified_param.h> 26 #include <wlan_interop_issues_ap_public_structs.h> 27 28 /** 29 * wmi_extract_interop_issues_ap_ev_param() - extract info from event 30 * @wmi_handle: wmi handle 31 * @evt_buf: event buffer 32 * @param: pointer to interop issues ap event structure 33 * 34 * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure 35 */ 36 QDF_STATUS 37 wmi_extract_interop_issues_ap_ev_param(wmi_unified_t wmi_handle, void *evt_buf, 38 struct wlan_interop_issues_ap_event *param); 39 /** 40 * wmi_unified_set_rap_ps_cmd() - set interop issues ap for ps in fw 41 * @wmi_handle: wmi handle 42 * @rap: interop issues ap info 43 * 44 * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure 45 */ 46 QDF_STATUS wmi_unified_set_rap_ps_cmd(wmi_unified_t wmi_handle, 47 struct wlan_interop_issues_ap_info *rap); 48 #endif 49