Browse Source

qcacmn: WMI service ready convergence changes

Converge on common WMI event handling for (ext)service ready
such that common PSOC object can be populated after common parsing.
Legacy (ext)service ready handlers continue to co-exist to support
legacy modules. Legacy service ready handlers can be removed once
legacy modules are also componentized and start using new object
model of PSOC, PDEV, VDEV and PEER.

To support multiple SoCs register for various psoc objects via legacy
callback registration routine during psoc probe and populate common
psoc object once WMI (ext)service ready event is parsed.

CRs-Fixed: 1110768
Change-Id: I966b8f7c775a19ac6e51ad5217a2dd0287acfada
Rajeev Kumar 8 years ago
parent
commit
5d8497b415
2 changed files with 3 additions and 2 deletions
  1. 2 1
      wmi_unified_api.h
  2. 1 1
      wmi_unified_priv.h

+ 2 - 1
wmi_unified_api.h

@@ -1107,7 +1107,8 @@ QDF_STATUS wmi_unified_init_cmd_send(void *wmi_hdl,
 
 bool wmi_service_enabled(void *wmi_hdl, uint32_t service_id);
 
-QDF_STATUS wmi_save_service_bitmap(void *wmi_hdl, void *evt_buf);
+QDF_STATUS wmi_save_service_bitmap(void *wmi_hdl, void *evt_buf,
+				   void *bitmap_buf);
 
 QDF_STATUS wmi_save_fw_version(void *wmi_hdl, void *evt_buf);
 

+ 1 - 1
wmi_unified_priv.h

@@ -904,7 +904,7 @@ QDF_STATUS (*send_lteu_config_cmd)(wmi_unified_t wmi_handle,
 QDF_STATUS (*send_set_ps_mode_cmd)(wmi_unified_t wmi_handle,
 		       struct set_ps_mode_params *param);
 void (*save_service_bitmap)(wmi_unified_t wmi_handle,
-		void *evt_buf);
+		void *evt_buf,  void *bitmap_buf);
 bool (*is_service_enabled)(wmi_unified_t wmi_handle,
 	uint32_t service_id);
 QDF_STATUS (*get_target_cap_from_service_ready)(wmi_unified_t wmi_handle,