mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
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:
parent
6828d58ce9
commit
97d14e4122
1 changed files with 5 additions and 5 deletions
|
|
@ -91,7 +91,7 @@ target_if_tdls_update_fw_state(struct wlan_objmgr_psoc *psoc,
|
|||
else
|
||||
tdls_state = WMI_TDLS_DISABLE;
|
||||
|
||||
status = wmi_unified_update_fw_tdls_state_cmd(psoc->tgt_if_handle,
|
||||
status = wmi_unified_update_fw_tdls_state_cmd(GET_WMI_HDL_FROM_PSOC(psoc),
|
||||
param, tdls_state);
|
||||
|
||||
target_if_debug("vdev_id %d", param->vdev_id);
|
||||
|
|
@ -111,7 +111,7 @@ target_if_tdls_set_offchan_mode(struct wlan_objmgr_psoc *psoc,
|
|||
{
|
||||
QDF_STATUS status;
|
||||
|
||||
status = wmi_unified_set_tdls_offchan_mode_cmd(psoc->tgt_if_handle,
|
||||
status = wmi_unified_set_tdls_offchan_mode_cmd(GET_WMI_HDL_FROM_PSOC(psoc),
|
||||
params);
|
||||
|
||||
return status;
|
||||
|
|
@ -131,7 +131,7 @@ target_if_tdls_set_uapsd(struct wlan_objmgr_psoc *psoc,
|
|||
params->vdevid);
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
ret = wmi_unified_set_sta_uapsd_auto_trig_cmd(psoc->tgt_if_handle,
|
||||
ret = wmi_unified_set_sta_uapsd_auto_trig_cmd(GET_WMI_HDL_FROM_PSOC(psoc),
|
||||
params);
|
||||
|
||||
if (QDF_IS_STATUS_ERROR(ret))
|
||||
|
|
@ -144,7 +144,7 @@ QDF_STATUS
|
|||
target_if_tdls_register_event_handler(struct wlan_objmgr_psoc *psoc,
|
||||
void *arg)
|
||||
{
|
||||
return wmi_unified_register_event(psoc->tgt_if_handle,
|
||||
return wmi_unified_register_event(GET_WMI_HDL_FROM_PSOC(psoc),
|
||||
wmi_tdls_peer_event_id,
|
||||
target_if_tdls_event_handler);
|
||||
}
|
||||
|
|
@ -153,7 +153,7 @@ QDF_STATUS
|
|||
target_if_tdls_unregister_event_handler(struct wlan_objmgr_psoc *psoc,
|
||||
void *arg)
|
||||
{
|
||||
return wmi_unified_unregister_event(psoc->tgt_if_handle,
|
||||
return wmi_unified_unregister_event(GET_WMI_HDL_FROM_PSOC(psoc),
|
||||
wmi_tdls_peer_event_id);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue