forked from Openwrt-EcoNet/openwrt
This new version fixes some memory leak and NULL pointer issues. Upstreamed patches: [1] 010-api_update.patch [2] 201-wifi-ath10k-add-LED-and-GPIO-controlling-support-for.patch The new 003 patch was introduced to fix the build error on old LTS kernel. The patch 004 was used to fix the issue of IPQ4019 radio not being able to start. Tested on QCA9882 and IPQ4019. [1]bca8bc0399
[2]8e1debd824
Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18368 Signed-off-by: Robert Marko <robimarko@gmail.com>
15 lines
428 B
Diff
15 lines
428 B
Diff
--- a/ath10k-6.14/htt.h
|
|
+++ b/ath10k-6.14/htt.h
|
|
@@ -238,7 +238,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)
|