diff --git a/wmi/src/wmi_unified_cfr_tlv.c b/wmi/src/wmi_unified_cfr_tlv.c index fe953cafda64..7efd2d08b449 100644 --- a/wmi/src/wmi_unified_cfr_tlv.c +++ b/wmi/src/wmi_unified_cfr_tlv.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -155,7 +155,7 @@ static QDF_STATUS send_cfr_rcc_cmd_tlv(wmi_unified_t wmi_handle, WMITLV_TAG_STRUC_wmi_cfr_capture_filter_cmd_fixed_param, WMITLV_GET_STRUCT_TLVLEN (wmi_cfr_capture_filter_cmd_fixed_param)); - cmd->pdev_id = ops->convert_pdev_id_host_to_target(wmi_handle, + cmd->pdev_id = ops->convert_host_pdev_id_to_target(wmi_handle, rcc->pdev_id); WMI_CFR_CAPTURE_INTERVAL_SET(cmd->capture_interval, rcc->capture_interval); diff --git a/wmi/src/wmi_unified_dbr_tlv.c b/wmi/src/wmi_unified_dbr_tlv.c index cce484202f67..a478c64c4e5b 100644 --- a/wmi/src/wmi_unified_dbr_tlv.c +++ b/wmi/src/wmi_unified_dbr_tlv.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2020 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -50,7 +50,7 @@ static QDF_STATUS send_dbr_cfg_cmd_tlv(wmi_unified_t wmi_handle, WMITLV_TAG_STRUC_wmi_dma_ring_cfg_req_fixed_param, WMITLV_GET_STRUCT_TLVLEN(wmi_dma_ring_cfg_req_fixed_param)); - cmd->pdev_id = wmi_handle->ops->convert_pdev_id_host_to_target( + cmd->pdev_id = wmi_handle->ops->convert_host_pdev_id_to_target( wmi_handle, cfg->pdev_id); cmd->mod_id = cfg->mod_id; @@ -100,7 +100,7 @@ static QDF_STATUS extract_scaling_params_service_ready_ext_tlv( spectral_bin_scaling_params = ¶m_buf->wmi_bin_scaling_params[idx]; - param->pdev_id = wmi_handle->ops->convert_pdev_id_target_to_host( + param->pdev_id = wmi_handle->ops->convert_target_pdev_id_to_host( wmi_handle, spectral_bin_scaling_params->pdev_id); param->low_level_offset = spectral_bin_scaling_params->low_level_offset; @@ -128,7 +128,7 @@ static QDF_STATUS extract_dbr_buf_release_fixed_tlv(wmi_unified_t wmi_handle, if (!ev) return QDF_STATUS_E_INVAL; - param->pdev_id = wmi_handle->ops->convert_pdev_id_target_to_host( + param->pdev_id = wmi_handle->ops->convert_target_pdev_id_to_host( wmi_handle, ev->pdev_id); param->mod_id = ev->mod_id;