diff --git a/core/dp/txrx3.0/dp_rx_fst.c b/core/dp/txrx3.0/dp_rx_fst.c index b0a88dcbee..70195a1e48 100644 --- a/core/dp/txrx3.0/dp_rx_fst.c +++ b/core/dp/txrx3.0/dp_rx_fst.c @@ -1,6 +1,6 @@ /* * Copyright (c) 2021, The Linux Foundation. All rights reserved. - * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-2022 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 above @@ -345,6 +345,8 @@ QDF_STATUS dp_rx_fst_attach(struct dp_soc *soc, struct dp_pdev *pdev) fst->soc_hdl = soc; soc->rx_fst = fst; soc->fisa_enable = true; + soc->fisa_lru_del_enable = wlan_cfg_is_rx_fisa_lru_del_enabled(cfg); + qdf_atomic_init(&soc->skip_fisa_param.skip_fisa); QDF_TRACE(QDF_MODULE_ID_ANY, QDF_TRACE_LEVEL_ERROR, diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index ea24c3036c..61a66293f8 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -260,6 +260,7 @@ struct hdd_config { #endif bool get_roam_chan_from_fw; uint32_t fisa_enable; + bool enable_fisa_lru_deletion; #ifdef WLAN_FEATURE_PERIODIC_STA_STATS /* Periodicity of logging */ diff --git a/core/hdd/src/wlan_hdd_tx_rx.c b/core/hdd/src/wlan_hdd_tx_rx.c index 28947253e7..1ac5d7e741 100644 --- a/core/hdd/src/wlan_hdd_tx_rx.c +++ b/core/hdd/src/wlan_hdd_tx_rx.c @@ -3949,6 +3949,9 @@ void hdd_dp_cfg_update(struct wlan_objmgr_psoc *psoc, config->rx_thread_affinity_mask = cfg_get(psoc, CFG_DP_RX_THREAD_CPU_MASK); config->fisa_enable = cfg_get(psoc, CFG_DP_RX_FISA_ENABLE); + config->enable_fisa_lru_deletion = + cfg_get(psoc, CFG_DP_RX_FISA_LRU_DEL_ENABLE); + if (cfg_len < CFG_DP_RPS_RX_QUEUE_CPU_MAP_LIST_LEN) { qdf_str_lcopy(config->cpu_map_list, cfg_get(psoc, CFG_DP_RPS_RX_QUEUE_CPU_MAP_LIST),