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
This commit is contained in:
Himanshu Agarwal
2018-01-24 22:24:17 +05:30
committed by snandini
parent 679a710ac8
commit 3f5d65a1ab
2 changed files with 10 additions and 0 deletions

View File

@@ -2091,6 +2091,12 @@ QDF_STATUS wmi_unified_extract_obss_detection_info(void *wmi_hdl,
struct wmi_obss_detect_info struct wmi_obss_detect_info
*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 #ifdef WLAN_SUPPORT_FILS
/** /**
* wmi_unified_fils_vdev_config_send_cmd() - send FILS config cmd to fw * wmi_unified_fils_vdev_config_send_cmd() - send FILS config cmd to fw

View File

@@ -239,6 +239,10 @@ QDF_STATUS (*send_peer_create_cmd)(wmi_unified_t wmi,
#ifdef WLAN_SUPPORT_GREEN_AP #ifdef WLAN_SUPPORT_GREEN_AP
QDF_STATUS (*send_green_ap_ps_cmd)(wmi_unified_t wmi_handle, QDF_STATUS (*send_green_ap_ps_cmd)(wmi_unified_t wmi_handle,
uint32_t value, uint8_t pdev_id); 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 #endif
QDF_STATUS QDF_STATUS