From 29beb1eb3e5416daa94e48351c420ba86d25b158 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sat, 4 Mar 2023 15:07:16 -0800 Subject: [PATCH] qcacld-3.0: Remove struct hdd_config::enable_fisa_lru_deletion The following patch added logic to HDD to read the value of the CFG_DP_RX_FISA_LRU_DEL_ENABLE configuration item and store it in struct hdd_config: qcacld-3.0: Add ini to enable FISA LRU eviction Change-Id I9930ec260bcab5ba8c8f1e594dbfde35965dff2e However, the datapath maintains this configuration item on its own, and the copy maintained by HDD is not used, so remove that logic. Change-Id: I970195cf199c33802db5f84eeea4f622306703cd CRs-Fixed: 3424797 --- core/hdd/inc/wlan_hdd_cfg.h | 3 +-- core/hdd/src/wlan_hdd_tx_rx.c | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index 2d4c8d105a..d9c801e6bf 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -1,6 +1,6 @@ /* * Copyright (c) 2012-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 @@ -195,7 +195,6 @@ struct hdd_config { bool config_sar_safety_sleep_index; #endif bool get_roam_chan_from_fw; - bool enable_fisa_lru_deletion; uint8_t nb_commands_interval; #ifdef FEATURE_CLUB_LL_STATS_AND_GET_STATION diff --git a/core/hdd/src/wlan_hdd_tx_rx.c b/core/hdd/src/wlan_hdd_tx_rx.c index bcd028f3ef..85b05325b9 100644 --- a/core/hdd/src/wlan_hdd_tx_rx.c +++ b/core/hdd/src/wlan_hdd_tx_rx.c @@ -1449,8 +1449,6 @@ void hdd_dp_cfg_update(struct wlan_objmgr_psoc *psoc, config->napi_cpu_affinity_mask = cfg_get(psoc, CFG_DP_NAPI_CE_CPU_MASK); - config->enable_fisa_lru_deletion = - cfg_get(psoc, CFG_DP_RX_FISA_LRU_DEL_ENABLE); config->cfg_wmi_credit_cnt = cfg_get(psoc, CFG_DP_HTC_WMI_CREDIT_CNT); hdd_ini_tx_flow_control(config, psoc);