qcacmn: Set stop_th and start_th for QCA_LL_PDEV_TX_FLOW_CONTROL
Use same stop_th and start_th as QCA_LL_TX_FLOW_CONTROL_V2 for QCA_LL_PDEV_TX_FLOW_CONTROL which allows pausing/unpausing netif queues to avoid frame drop in driver. Change-Id: Ifa649e31a41d1bf89eadc8cc7e9520f0e27b9fe4 CRs-Fixed: 2466999
This commit is contained in:
@@ -286,10 +286,12 @@ struct txrx_pdev_cfg_param_t {
|
|||||||
bool enable_rxthread;
|
bool enable_rxthread;
|
||||||
/* CE classification enabled through INI */
|
/* CE classification enabled through INI */
|
||||||
bool ce_classify_enabled;
|
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 */
|
/* Threshold to stop queue in percentage */
|
||||||
uint32_t tx_flow_stop_queue_th;
|
uint32_t tx_flow_stop_queue_th;
|
||||||
/* Start queue offset in percentage */
|
/* Start queue offset in percentage */
|
||||||
uint32_t tx_flow_start_queue_offset;
|
uint32_t tx_flow_start_queue_offset;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef QCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK
|
#ifdef QCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK
|
||||||
/* enable the tcp delay ack feature in the driver */
|
/* enable the tcp delay ack feature in the driver */
|
||||||
|
@@ -39,7 +39,8 @@
|
|||||||
#define WLAN_CFG_NUM_TCL_DATA_RINGS_MAX 3
|
#define WLAN_CFG_NUM_TCL_DATA_RINGS_MAX 3
|
||||||
|
|
||||||
#ifdef CONFIG_MCL
|
#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_START_QUEUE_OFFSET 10
|
||||||
#define WLAN_CFG_TX_FLOW_STOP_QUEUE_TH 15
|
#define WLAN_CFG_TX_FLOW_STOP_QUEUE_TH 15
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user