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
此提交包含在:
@@ -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)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
新增問題並參考
封鎖使用者