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
此提交包含在:
hangtian
2019-06-07 11:04:02 +08:00
提交者 nshrivas
父節點 f8ddbe1707
當前提交 04f0ad4935
共有 2 個檔案被更改,包括 4 行新增1 行删除

查看文件

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