diff --git a/target_if/dcs/src/target_if_dcs.c b/target_if/dcs/src/target_if_dcs.c index 16a4274423..35d2dbddc0 100644 --- a/target_if/dcs/src/target_if_dcs.c +++ b/target_if/dcs/src/target_if_dcs.c @@ -139,14 +139,14 @@ target_if_dcs_unregister_event_handler(struct wlan_objmgr_psoc *psoc) * target_if_dcs_cmd_send() - Send WMI command for dcs requests * @psoc: psoc pointer * @pdev_id: pdev_id - * @is_target_pdev_id: pdev_id is target pdev_id or not + * @is_host_pdev_id: pdev_id is host pdev_id or not * @dcs_enable: dcs enable or not * * Return: QDF_STATUS_SUCCESS on success, QDF_STATUS_E_** on error */ static QDF_STATUS target_if_dcs_cmd_send(struct wlan_objmgr_psoc *psoc, uint32_t pdev_id, - bool is_target_pdev_id, uint32_t dcs_enable) + bool is_host_pdev_id, uint32_t dcs_enable) { QDF_STATUS ret; struct wmi_unified *wmi_handle; @@ -163,7 +163,7 @@ target_if_dcs_cmd_send(struct wlan_objmgr_psoc *psoc, uint32_t pdev_id, } ret = wmi_send_dcs_pdev_param(wmi_handle, pdev_id, - is_target_pdev_id, dcs_enable); + is_host_pdev_id, dcs_enable); if (QDF_IS_STATUS_ERROR(ret)) target_if_err("wmi dcs cmd send failed, ret: %d", ret); diff --git a/umac/dcs/core/src/wlan_dcs.c b/umac/dcs/core/src/wlan_dcs.c index 7f485a3ee9..9e7f7a8321 100644 --- a/umac/dcs/core/src/wlan_dcs.c +++ b/umac/dcs/core/src/wlan_dcs.c @@ -104,7 +104,7 @@ QDF_STATUS wlan_dcs_detach(struct wlan_objmgr_psoc *psoc) QDF_STATUS wlan_dcs_cmd_send(struct wlan_objmgr_psoc *psoc, uint32_t pdev_id, - bool is_target_pdev_id) + bool is_host_pdev_id) { struct wlan_target_if_dcs_tx_ops *dcs_tx_ops; struct dcs_pdev_priv_obj *dcs_pdev_priv; @@ -129,7 +129,7 @@ QDF_STATUS wlan_dcs_cmd_send(struct wlan_objmgr_psoc *psoc, dcs_info("dcs_enable: %u, pdev_id: %u", dcs_enable, pdev_id); return dcs_tx_ops->dcs_cmd_send(psoc, pdev_id, - is_target_pdev_id, + is_host_pdev_id, dcs_enable); } @@ -140,7 +140,7 @@ QDF_STATUS wlan_dcs_cmd_send(struct wlan_objmgr_psoc *psoc, * wlan_dcs_disable_cmd_send() - send dcs disable command to target_if layer * @psoc: psoc pointer * @pdev_id: pdev_id - * @is_target_pdev_id: pdev_id is target id or not + * @is_host_pdev_id: pdev_id is host id or not * * The function gets called to send dcs disable command to FW * @@ -148,7 +148,7 @@ QDF_STATUS wlan_dcs_cmd_send(struct wlan_objmgr_psoc *psoc, */ static QDF_STATUS wlan_dcs_disable_cmd_send(struct wlan_objmgr_psoc *psoc, uint32_t pdev_id, - bool is_target_pdev_id) + bool is_host_pdev_id) { struct wlan_target_if_dcs_tx_ops *dcs_tx_ops; struct dcs_pdev_priv_obj *dcs_pdev_priv; @@ -169,7 +169,7 @@ static QDF_STATUS wlan_dcs_disable_cmd_send(struct wlan_objmgr_psoc *psoc, dcs_info("dcs_enable: %u, pdev_id: %u", 0, pdev_id); return dcs_tx_ops->dcs_cmd_send(psoc, pdev_id, - is_target_pdev_id, + is_host_pdev_id, 0); } diff --git a/umac/dcs/core/src/wlan_dcs.h b/umac/dcs/core/src/wlan_dcs.h index 5ac343dbf8..b082ec557f 100644 --- a/umac/dcs/core/src/wlan_dcs.h +++ b/umac/dcs/core/src/wlan_dcs.h @@ -191,7 +191,7 @@ QDF_STATUS wlan_dcs_detach(struct wlan_objmgr_psoc *psoc); * wlan_dcs_cmd_send() - Send dcs command to target_if layer * @psoc: psoc pointer * @pdev_id: pdev_id - * @is_target_pdev_id: pdev_id is target id or not + * @is_host_pdev_id: pdev_id is host id or not * * The function gets called to send dcs command to FW * @@ -199,7 +199,7 @@ QDF_STATUS wlan_dcs_detach(struct wlan_objmgr_psoc *psoc); */ QDF_STATUS wlan_dcs_cmd_send(struct wlan_objmgr_psoc *psoc, uint32_t pdev_id, - bool is_target_pdev_id); + bool is_host_pdev_id); /** * wlan_dcs_process() - dcs process main entry diff --git a/umac/dcs/dispatcher/inc/wlan_dcs_ucfg_api.h b/umac/dcs/dispatcher/inc/wlan_dcs_ucfg_api.h index 8fdbbb6434..b74763f87d 100644 --- a/umac/dcs/dispatcher/inc/wlan_dcs_ucfg_api.h +++ b/umac/dcs/dispatcher/inc/wlan_dcs_ucfg_api.h @@ -66,7 +66,7 @@ void ucfg_dcs_register_cb( * ucfg_wlan_dcs_cmd(): API to send dcs command * @psoc: pointer to psoc object * @pdev_id: pdev_id - * @is_target_pdev_id: pdev_id is target id or not + * @is_host_pdev_id: pdev_id is host id or not * * This function gets called to send dcs command * @@ -75,7 +75,7 @@ void ucfg_dcs_register_cb( QDF_STATUS ucfg_wlan_dcs_cmd(struct wlan_objmgr_psoc *psoc, uint32_t pdev_id, - bool is_target_pdev_id); + bool is_host_pdev_id); /** * ucfg_config_dcs_enable() - API to config dcs enable diff --git a/umac/dcs/dispatcher/src/wlan_dcs_ucfg_api.c b/umac/dcs/dispatcher/src/wlan_dcs_ucfg_api.c index 0c44f6fa9b..50857bb0cc 100644 --- a/umac/dcs/dispatcher/src/wlan_dcs_ucfg_api.c +++ b/umac/dcs/dispatcher/src/wlan_dcs_ucfg_api.c @@ -44,9 +44,9 @@ void ucfg_dcs_register_cb( QDF_STATUS ucfg_wlan_dcs_cmd(struct wlan_objmgr_psoc *psoc, uint32_t pdev_id, - bool is_target_pdev_id) + bool is_host_pdev_id) { - return wlan_dcs_cmd_send(psoc, pdev_id, is_target_pdev_id); + return wlan_dcs_cmd_send(psoc, pdev_id, is_host_pdev_id); } void ucfg_config_dcs_enable(struct wlan_objmgr_psoc *psoc, diff --git a/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h b/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h index af44617b28..24882415fb 100644 --- a/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h +++ b/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h @@ -132,7 +132,7 @@ struct wlan_target_if_dcs_tx_ops { QDF_STATUS (*dcs_detach)(struct wlan_objmgr_psoc *psoc); QDF_STATUS (*dcs_cmd_send)(struct wlan_objmgr_psoc *psoc, uint32_t pdev_id, - bool is_target_pdev_id, + bool is_host_pdev_id, uint32_t dcs_enable); }; diff --git a/wmi/inc/wmi_unified_dcs_api.h b/wmi/inc/wmi_unified_dcs_api.h index 89a7894052..057689475d 100644 --- a/wmi/inc/wmi_unified_dcs_api.h +++ b/wmi/inc/wmi_unified_dcs_api.h @@ -61,7 +61,7 @@ QDF_STATUS wmi_extract_dcs_im_tgt_stats( * wmi_send_dcs_pdev_param() - send dcs pdev param * @wmi_handle: wmi handle * @pdev_idx: pdev id - * @is_target_pdev_id: target pdev_id or not + * @is_host_pdev_id: host pdev_id or not * @dcs_enable: value of dcs enable * * This functions gets called to send dcs pdev param @@ -70,6 +70,6 @@ QDF_STATUS wmi_extract_dcs_im_tgt_stats( */ QDF_STATUS wmi_send_dcs_pdev_param(wmi_unified_t wmi_handle, uint32_t pdev_idx, - bool is_target_pdev_id, + bool is_host_pdev_id, uint32_t dcs_enable); #endif /* _WMI_UNIFIED_DCS_API_H_ */ diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index dbbd65127d..a673c267e3 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -878,12 +878,12 @@ struct suspend_params { * struct pdev_params - pdev set cmd parameter * @param_id: parameter id * @param_value: parameter value - * @is_target_pdev_id: indicate whether pdev_id is target pdev_id or not + * @is_host_pdev_id: indicate whether pdev_id is host pdev_id or not */ struct pdev_params { uint32_t param_id; uint32_t param_value; - bool is_target_pdev_id; + bool is_host_pdev_id; }; /** diff --git a/wmi/src/wmi_unified_dcs_api.c b/wmi/src/wmi_unified_dcs_api.c index e4c83cc0ec..012c073d0b 100644 --- a/wmi/src/wmi_unified_dcs_api.c +++ b/wmi/src/wmi_unified_dcs_api.c @@ -52,13 +52,13 @@ QDF_STATUS wmi_extract_dcs_im_tgt_stats( #ifdef ENABLE_HOST_TO_TARGET_CONVERSION QDF_STATUS wmi_send_dcs_pdev_param(wmi_unified_t wmi_handle, uint32_t pdev_idx, - bool is_target_pdev_id, + bool is_host_pdev_id, uint32_t dcs_enable) { struct pdev_params pparam; qdf_mem_zero(&pparam, sizeof(pparam)); - pparam.is_target_pdev_id = is_target_pdev_id; + pparam.is_host_pdev_id = is_host_pdev_id; pparam.param_id = wmi_pdev_param_dcs; pparam.param_value = dcs_enable; @@ -67,13 +67,13 @@ QDF_STATUS wmi_send_dcs_pdev_param(wmi_unified_t wmi_handle, #else QDF_STATUS wmi_send_dcs_pdev_param(wmi_unified_t wmi_handle, uint32_t pdev_idx, - bool is_target_pdev_id, + bool is_host_pdev_id, uint32_t dcs_enable) { struct pdev_params pparam; qdf_mem_zero(&pparam, sizeof(pparam)); - pparam.is_target_pdev_id = is_target_pdev_id; + pparam.is_host_pdev_id = is_host_pdev_id; pparam.param_id = WMI_PDEV_PARAM_DCS; pparam.param_value = dcs_enable; diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 3174c6cdce..f936f7ea6a 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -1628,7 +1628,7 @@ send_pdev_param_cmd_tlv(wmi_unified_t wmi_handle, WMITLV_TAG_STRUC_wmi_pdev_set_param_cmd_fixed_param, WMITLV_GET_STRUCT_TLVLEN (wmi_pdev_set_param_cmd_fixed_param)); - if (param->is_target_pdev_id) + if (param->is_host_pdev_id) cmd->pdev_id = wmi_handle->ops->convert_host_pdev_id_to_target( wmi_handle, mac_id);