From 3f5d65a1abaaa4d1817a52d3287be1d66bc77b94 Mon Sep 17 00:00:00 2001 From: Himanshu Agarwal Date: Wed, 24 Jan 2018 22:24:17 +0530 Subject: [PATCH] qcacmn: Remove dependency on WMA layer for green AP component Remove dependency on WMA layer for green AP component by registering green AP events through target_if layer. Change-Id: I8fe9079c6ba6b23cd5f1d98a7d1b333fde31f19b CRs-Fixed: 2178143 --- wmi_unified_api.h | 6 ++++++ wmi_unified_priv.h | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/wmi_unified_api.h b/wmi_unified_api.h index e46e30a82c..508a4a0225 100644 --- a/wmi_unified_api.h +++ b/wmi_unified_api.h @@ -2091,6 +2091,12 @@ QDF_STATUS wmi_unified_extract_obss_detection_info(void *wmi_hdl, struct wmi_obss_detect_info *info); +#ifdef WLAN_SUPPORT_GREEN_AP +QDF_STATUS wmi_extract_green_ap_egap_status_info( + void *wmi_hdl, uint8_t *evt_buf, + struct wlan_green_ap_egap_status_info *egap_status_info_params); +#endif + #ifdef WLAN_SUPPORT_FILS /** * wmi_unified_fils_vdev_config_send_cmd() - send FILS config cmd to fw diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h index 50f80e4aa6..d50ed382c0 100644 --- a/wmi_unified_priv.h +++ b/wmi_unified_priv.h @@ -239,6 +239,10 @@ QDF_STATUS (*send_peer_create_cmd)(wmi_unified_t wmi, #ifdef WLAN_SUPPORT_GREEN_AP QDF_STATUS (*send_green_ap_ps_cmd)(wmi_unified_t wmi_handle, uint32_t value, uint8_t pdev_id); + +QDF_STATUS (*extract_green_ap_egap_status_info)( + uint8_t *evt_buf, + struct wlan_green_ap_egap_status_info *egap_status_info_params); #endif QDF_STATUS