qcacmn: Add target information details to target_iflayer
Add a new target_psoc_info structure in the target if layer with the following members wmi_handle target_type target_version target_revision Also update the psoc data member tgt_if_handle to point to target_psoc_info instead of pointing to WMI handle directly. Updated all calls to psoc_get_tgt_if_handle to target_if_get_wmi_handle which inturn calls psoc_get_tgt_if_handle and getting the tgt_if_handle returns the WMI handle CRs-Fixed: 2048277 Change-Id: Icb02d5f3c09f7f9bb7eff4d814ef3ce90ddb84bd
This commit is contained in:
@@ -87,7 +87,7 @@ int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
wmi_handle = psoc->tgt_if_handle;
|
||||
wmi_handle = GET_WMI_HDL_FROM_PSOC(psoc);
|
||||
|
||||
service_param = qdf_mem_malloc(sizeof(*service_param));
|
||||
if (!service_param) {
|
||||
@@ -282,7 +282,7 @@ int init_deinit_service_ext_ready_event_handler(ol_scn_t scn_handle,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
wmi_handle = psoc->tgt_if_handle;
|
||||
wmi_handle = GET_WMI_HDL_FROM_PSOC(psoc);
|
||||
|
||||
service_param =
|
||||
qdf_mem_malloc(sizeof(*service_param));
|
||||
|
Reference in New Issue
Block a user