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
2017-02-12 02:12:17 -08:00
提交者 qcabuildsw
父節點 fd3473792a
當前提交 7790147799
共有 3 個檔案被更改,包括 28 行新增7 行删除

查看文件

@@ -5405,10 +5405,12 @@ static QDF_STATUS send_ext_resource_config_non_tlv(wmi_unified_t wmi_handle,
* save_service_bitmap_non_tlv() - save service bitmap
* @wmi_handle: wmi handle
* @param evt_buf: pointer to event buffer
* @param bitmap_buf: bitmap buffer for converged legacy support
*
* Return: None
*/
static void save_service_bitmap_non_tlv(wmi_unified_t wmi_handle, void *evt_buf)
static void save_service_bitmap_non_tlv(wmi_unified_t wmi_handle,
void *evt_buf, void *bitmap_buf)
{
wmi_service_ready_event *ev;
@@ -5416,6 +5418,10 @@ static void save_service_bitmap_non_tlv(wmi_unified_t wmi_handle, void *evt_buf)
qdf_mem_copy(wmi_handle->wmi_service_bitmap, ev->wmi_service_bitmap,
(WMI_SERVICE_BM_SIZE * sizeof(uint32_t)));
if (bitmap_buf)
qdf_mem_copy(bitmap_buf, ev->wmi_service_bitmap,
(WMI_SERVICE_BM_SIZE * sizeof(uint32_t)));
}
/**