diff --git a/dp/inc/cdp_txrx_mob_def.h b/dp/inc/cdp_txrx_mob_def.h index a997e48f8c..a4d752db35 100644 --- a/dp/inc/cdp_txrx_mob_def.h +++ b/dp/inc/cdp_txrx_mob_def.h @@ -286,10 +286,12 @@ struct txrx_pdev_cfg_param_t { bool enable_rxthread; /* CE classification enabled through INI */ bool ce_classify_enabled; +#if defined(QCA_LL_TX_FLOW_CONTROL_V2) || defined(QCA_LL_PDEV_TX_FLOW_CONTROL) /* Threshold to stop queue in percentage */ uint32_t tx_flow_stop_queue_th; /* Start queue offset in percentage */ uint32_t tx_flow_start_queue_offset; +#endif #ifdef QCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK /* enable the tcp delay ack feature in the driver */ diff --git a/wlan_cfg/cfg_dp.h b/wlan_cfg/cfg_dp.h index 6116da993e..452e67f01a 100644 --- a/wlan_cfg/cfg_dp.h +++ b/wlan_cfg/cfg_dp.h @@ -39,7 +39,8 @@ #define WLAN_CFG_NUM_TCL_DATA_RINGS_MAX 3 #ifdef CONFIG_MCL -#ifdef QCA_LL_TX_FLOW_CONTROL_V2 +#if defined(QCA_LL_TX_FLOW_CONTROL_V2) || \ + defined(QCA_LL_PDEV_TX_FLOW_CONTROL) #define WLAN_CFG_TX_FLOW_START_QUEUE_OFFSET 10 #define WLAN_CFG_TX_FLOW_STOP_QUEUE_TH 15 #else