diff --git a/configs/default_defconfig b/configs/default_defconfig index 9241cb22642b..5734ae865839 100644 --- a/configs/default_defconfig +++ b/configs/default_defconfig @@ -93,6 +93,7 @@ ifeq ($(CONFIG_ARCH_QCS405), y) CONFIG_WLAN_SYNC_TSF_PLUS := y CONFIG_WLAN_SYNC_TSF_PLUS_NOIRQ := y CONFIG_RX_PERFORMANCE := y + CONFIG_TGT_NUM_MSDU_DESC := 900 endif CONFIG_WLAN_FEATURE_MBSSID := y #Flag to enable Legacy Fast Roaming2(LFR2) diff --git a/configs/qcs40x.snoc.perf_defconfig b/configs/qcs40x.snoc.perf_defconfig index 0229172188e0..b7f84ed14603 100644 --- a/configs/qcs40x.snoc.perf_defconfig +++ b/configs/qcs40x.snoc.perf_defconfig @@ -63,6 +63,7 @@ CONFIG_DESC_DUP_DETECT_DEBUG := n CONFIG_DEBUG_RX_RING_BUFFER := n CONFIG_RX_PERFORMANCE := y CONFIG_QCS403_MEM_OPTIMIZE := y +CONFIG_TGT_NUM_MSDU_DESC := 900 ifeq ($(CONFIG_INET_LRO), y) CONFIG_WLAN_LRO := y diff --git a/core/dp/ol/inc/ol_cfg.h b/core/dp/ol/inc/ol_cfg.h index 79ef27051b5e..b58dbd8bcb9c 100644 --- a/core/dp/ol/inc/ol_cfg.h +++ b/core/dp/ol/inc/ol_cfg.h @@ -49,12 +49,6 @@ enum wlan_frm_fmt { #define MAX_THROUGHPUT 800 #endif -#ifdef QCA_LL_TX_FLOW_CONTROL_V2 -#define TARGET_TX_CREDIT CFG_TGT_NUM_MSDU_DESC -#else -#define TARGET_TX_CREDIT 900 -#endif - /* Throttle period Different level Duty Cycle values*/ #define THROTTLE_DUTY_CYCLE_LEVEL0 (0) #define THROTTLE_DUTY_CYCLE_LEVEL1 (50) diff --git a/core/dp/txrx/ol_cfg.c b/core/dp/txrx/ol_cfg.c index 2c8fa0dfda29..bcadadcd6deb 100644 --- a/core/dp/txrx/ol_cfg.c +++ b/core/dp/txrx/ol_cfg.c @@ -143,7 +143,7 @@ struct cdp_cfg *ol_pdev_cfg_attach(qdf_device_t osdev, void *pcfg_param) cfg_ctx->max_thruput_mbps = MAX_THROUGHPUT; cfg_ctx->max_nbuf_frags = 1; cfg_ctx->vow_config = vow_config; - cfg_ctx->target_tx_credit = TARGET_TX_CREDIT; + cfg_ctx->target_tx_credit = CFG_TGT_NUM_MSDU_DESC; cfg_ctx->throttle_period_ms = 40; cfg_ctx->dutycycle_level[0] = THROTTLE_DUTY_CYCLE_LEVEL0; cfg_ctx->dutycycle_level[1] = THROTTLE_DUTY_CYCLE_LEVEL1;