diff --git a/hal/wifi3.0/be/hal_be_tx.h b/hal/wifi3.0/be/hal_be_tx.h index da1353b632..a5ca4145c7 100644 --- a/hal/wifi3.0/be/hal_be_tx.h +++ b/hal/wifi3.0/be/hal_be_tx.h @@ -1,6 +1,6 @@ /* * Copyright (c) 2016-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. 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 @@ -899,18 +899,20 @@ hal_tx_populate_ppe_vp_entry(hal_soc_handle_t hal_soc_hdl, * hal_ppeds_cfg_ast_override_map_reg - Set ppe index mapping table value * @hal_soc: HAL SoC context * @reg_idx: index into the table - * @ppeds_astoveride_map: HAL PPE INDEX MAPPING config + * @overide_map: HAL PPE INDEX MAPPING config * * Return: void */ static inline void hal_ppeds_cfg_ast_override_map_reg(hal_soc_handle_t hal_soc_hdl, - uint8_t reg_idx, union hal_tx_ppe_idx_map_config *ppeds_astoveride_map) + uint8_t reg_idx, union hal_tx_ppe_idx_map_config *overide_map) { struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; - hal_soc->ops->hal_ppeds_cfg_ast_override_map_reg(hal_soc_hdl, reg_idx, - ppeds_astoveride_map); + if (hal_soc->ops->hal_ppeds_cfg_ast_override_map_reg) + hal_soc->ops->hal_ppeds_cfg_ast_override_map_reg(hal_soc_hdl, + reg_idx, + overide_map); } /** diff --git a/hal/wifi3.0/qca5332/hal_5332.c b/hal/wifi3.0/qca5332/hal_5332.c index 901587e039..e53bd51d93 100644 --- a/hal/wifi3.0/qca5332/hal_5332.c +++ b/hal/wifi3.0/qca5332/hal_5332.c @@ -1354,6 +1354,7 @@ static void hal_hw_txrx_ops_attach_qca5332(struct hal_soc *hal_soc) hal_soc->ops->hal_tx_dump_ppe_vp_entry = NULL; hal_soc->ops->hal_tx_get_num_ppe_vp_tbl_entries = NULL; hal_soc->ops->hal_tx_enable_pri2tid_map = NULL; + hal_soc->ops->hal_ppeds_cfg_ast_override_map_reg = NULL; hal_soc->ops->hal_tx_config_rbm_mapping_be = hal_tx_config_rbm_mapping_be_5332;