qcacld-3.0: Add ini to enable FISA LRU eviction

Add ini to enable FISA LRU eviction.

Change-Id: I9930ec260bcab5ba8c8f1e594dbfde35965dff2e
CRs-Fixed: 3160269
This commit is contained in:
sandhu
2022-03-25 11:53:54 -07:00
committed by Madan Koyyalamudi
parent 36e0e2ab54
commit 051bc651bc
3 changed files with 7 additions and 1 deletions

View File

@@ -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,

View File

@@ -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 */

View File

@@ -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),