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:
Vivek
2017-06-04 23:12:00 +05:30
committed by snandini
부모 d9ac9a2abe
커밋 57522058e9
9개의 변경된 파일82개의 추가작업 그리고 40개의 파일을 삭제

파일 보기

@@ -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));