|
@@ -57,7 +57,11 @@
|
|
#define WLAN_CFG_MAC_PER_TARGET 2
|
|
#define WLAN_CFG_MAC_PER_TARGET 2
|
|
#ifdef IPA_OFFLOAD
|
|
#ifdef IPA_OFFLOAD
|
|
/* Size of TCL TX Ring */
|
|
/* 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
|
|
#define WLAN_CFG_TX_RING_SIZE 1024
|
|
|
|
+#endif
|
|
#define WLAN_CFG_PER_PDEV_TX_RING 0
|
|
#define WLAN_CFG_PER_PDEV_TX_RING 0
|
|
#define WLAN_CFG_IPA_UC_TX_BUF_SIZE 2048
|
|
#define WLAN_CFG_IPA_UC_TX_BUF_SIZE 2048
|
|
#define WLAN_CFG_IPA_UC_TX_PARTITION_BASE 3000
|
|
#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_TX_PARTITION_BASE 0
|
|
#define WLAN_CFG_IPA_UC_RX_IND_RING_COUNT 0
|
|
#define WLAN_CFG_IPA_UC_RX_IND_RING_COUNT 0
|
|
#endif
|
|
#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
|
|
#define WLAN_CFG_TX_COMP_RING_SIZE 1024
|
|
|
|
|
|
/* Tx Descriptor and Tx Extension Descriptor pool sizes */
|
|
/* Tx Descriptor and Tx Extension Descriptor pool sizes */
|
|
#define WLAN_CFG_NUM_TX_DESC 1024
|
|
#define WLAN_CFG_NUM_TX_DESC 1024
|
|
#define WLAN_CFG_NUM_TX_EXT_DESC 1024
|
|
#define WLAN_CFG_NUM_TX_EXT_DESC 1024
|
|
|
|
+#endif
|
|
|
|
|
|
/* Interrupt Mitigation - Batch threshold in terms of number of frames */
|
|
/* Interrupt Mitigation - Batch threshold in terms of number of frames */
|
|
#define WLAN_CFG_INT_BATCH_THRESHOLD_TX 1
|
|
#define WLAN_CFG_INT_BATCH_THRESHOLD_TX 1
|