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:
hangtian 2019-06-07 11:04:02 +08:00 • committed by nshrivas
commit 04f0ad4935
2 changed files with 4 additions and 1 deletions

View file

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