You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
854 B
28 lines
854 B
--- a/ath10k-4.19/htt.h
|
|
+++ b/ath10k-4.19/htt.h
|
|
@@ -237,7 +237,11 @@ enum htt_rx_ring_flags {
|
|
};
|
|
|
|
#define HTT_RX_RING_SIZE_MIN 128
|
|
+#ifndef CONFIG_ATH10K_SMALLBUFFERS
|
|
#define HTT_RX_RING_SIZE_MAX 2048
|
|
+#else
|
|
+#define HTT_RX_RING_SIZE_MAX 512
|
|
+#endif
|
|
#define HTT_RX_RING_SIZE HTT_RX_RING_SIZE_MAX
|
|
#define HTT_RX_RING_FILL_LEVEL (((HTT_RX_RING_SIZE) / 2) - 1)
|
|
#define HTT_RX_RING_FILL_LEVEL_DUAL_MAC (HTT_RX_RING_SIZE - 1)
|
|
--- a/ath10k-5.2/htt.h
|
|
+++ b/ath10k-5.2/htt.h
|
|
@@ -225,7 +225,11 @@ enum htt_rx_ring_flags {
|
|
};
|
|
|
|
#define HTT_RX_RING_SIZE_MIN 128
|
|
+#ifndef CONFIG_ATH10K_SMALLBUFFERS
|
|
#define HTT_RX_RING_SIZE_MAX 2048
|
|
+#else
|
|
+#define HTT_RX_RING_SIZE_MAX 512
|
|
+#endif
|
|
#define HTT_RX_RING_SIZE HTT_RX_RING_SIZE_MAX
|
|
#define HTT_RX_RING_FILL_LEVEL (((HTT_RX_RING_SIZE) / 2) - 1)
|
|
#define HTT_RX_RING_FILL_LEVEL_DUAL_MAC (HTT_RX_RING_SIZE - 1)
|
|
|