Bladeren bron

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
Himanshu Agarwal 7 jaren geleden
bovenliggende
commit
3f5d65a1ab
2 gewijzigde bestanden met toevoegingen van 10 en 0 verwijderingen
  1. 6 0
      wmi_unified_api.h
  2. 4 0
      wmi_unified_priv.h

+ 6 - 0
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

+ 4 - 0
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