Răsfoiți Sursa

qcacmn: Increase Tx HW and SW to 2K and 4K for qca6490

Increase Tx HW and SW to 2K and 4K for qca6490.
This parameter change is based on the tuning exercise of 1Tx:8Rx device
tests in NaN scenario. This is helping Tx device to burst to multiple
Rx peers, there by improving the TPUT.

Change-Id: I28e1eafb78612c68fe172a640b1386ac88e051a2
CRs-Fixed: 2657056
Manjunathappa Prakash 5 ani în urmă
părinte
comite
28b4573d27
1 a modificat fișierele cu 13 adăugiri și 0 ștergeri
  1. 13 0
      wlan_cfg/cfg_dp.h

+ 13 - 0
wlan_cfg/cfg_dp.h

@@ -57,7 +57,11 @@
 #define WLAN_CFG_MAC_PER_TARGET 2
 #ifdef IPA_OFFLOAD
 /* Size of TCL TX Ring */
+#if defined(TX_TO_NPEERS_INC_TX_DESCS)
+#define WLAN_CFG_TX_RING_SIZE 2048
+#else
 #define WLAN_CFG_TX_RING_SIZE 1024
+#endif
 #define WLAN_CFG_PER_PDEV_TX_RING 0
 #define WLAN_CFG_IPA_UC_TX_BUF_SIZE 2048
 #define WLAN_CFG_IPA_UC_TX_PARTITION_BASE 3000
@@ -69,11 +73,20 @@
 #define WLAN_CFG_IPA_UC_TX_PARTITION_BASE 0
 #define WLAN_CFG_IPA_UC_RX_IND_RING_COUNT 0
 #endif
+
+#if defined(TX_TO_NPEERS_INC_TX_DESCS)
+#define WLAN_CFG_TX_COMP_RING_SIZE 4096
+
+/* Tx Descriptor and Tx Extension Descriptor pool sizes */
+#define WLAN_CFG_NUM_TX_DESC  4096
+#define WLAN_CFG_NUM_TX_EXT_DESC 4096
+#else
 #define WLAN_CFG_TX_COMP_RING_SIZE 1024
 
 /* Tx Descriptor and Tx Extension Descriptor pool sizes */
 #define WLAN_CFG_NUM_TX_DESC  1024
 #define WLAN_CFG_NUM_TX_EXT_DESC 1024
+#endif
 
 /* Interrupt Mitigation - Batch threshold in terms of number of frames */
 #define WLAN_CFG_INT_BATCH_THRESHOLD_TX 1