qcacmn: Add wmi wrapper function to get target pdev id from host
Add wmi wrapper function to convert host pdev id to target pdev id. Change-Id: I3824a7556bf0b740d069602e9ee5a572c427c49c CRs-Fixed: 2316715
This commit is contained in:

committed by
nshrivas

parent
7d3120478e
commit
b91325ca5f
@@ -7539,3 +7539,19 @@ wmi_unified_send_obss_spatial_reuse_set_cmd(void *wmi_hdl,
|
|||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
QDF_STATUS wmi_convert_pdev_id_host_to_target(void *wmi_hdl,
|
||||||
|
uint32_t host_pdev_id,
|
||||||
|
uint32_t *target_pdev_id)
|
||||||
|
{
|
||||||
|
wmi_unified_t wmi_handle = (wmi_unified_t)wmi_hdl;
|
||||||
|
|
||||||
|
if (wmi_handle->ops->convert_pdev_id_host_to_target) {
|
||||||
|
*target_pdev_id =
|
||||||
|
wmi_handle->ops->convert_pdev_id_host_to_target(
|
||||||
|
host_pdev_id);
|
||||||
|
return QDF_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
return QDF_STATUS_E_FAILURE;
|
||||||
|
}
|
||||||
|
@@ -71,5 +71,5 @@ QDF_STATUS wmi_extract_wlan_radar_event_info(void *wmi_hdl,
|
|||||||
|
|
||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
qdf_export_symbol(wmi_extract_dfs_radar_detection_event);
|
qdf_export_symbol(wmi_extract_dfs_radar_detection_event);
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user