diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2019-11-09 17:06:06 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-02-24 23:25:28 +0100 |
commit | 930fc09803f1e75958d573bc55452b8ea61137be (patch) | |
tree | a6e432286b0dacec6a8ac54ac1e9b7ba67ead204 /package/kernel/ath10k-ct/patches/960-0010-ath10k-limit-htt-rx-ring-size.patch | |
parent | d97b6204a20c54c0d2fdda9b616c91aae5ad36b6 (diff) | |
download | upstream-930fc09803f1e75958d573bc55452b8ea61137be.tar.gz upstream-930fc09803f1e75958d573bc55452b8ea61137be.tar.bz2 upstream-930fc09803f1e75958d573bc55452b8ea61137be.zip |
ath10k-ct: Use ath10k-ct version 5.4
This makes ath10k-ct use the version based on kernel 5.4 by default.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/ath10k-ct/patches/960-0010-ath10k-limit-htt-rx-ring-size.patch')
-rw-r--r-- | package/kernel/ath10k-ct/patches/960-0010-ath10k-limit-htt-rx-ring-size.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kernel/ath10k-ct/patches/960-0010-ath10k-limit-htt-rx-ring-size.patch b/package/kernel/ath10k-ct/patches/960-0010-ath10k-limit-htt-rx-ring-size.patch index a3a939440a..70f4fb0546 100644 --- a/package/kernel/ath10k-ct/patches/960-0010-ath10k-limit-htt-rx-ring-size.patch +++ b/package/kernel/ath10k-ct/patches/960-0010-ath10k-limit-htt-rx-ring-size.patch @@ -26,3 +26,17 @@ #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.4/htt.h ++++ b/ath10k-5.4/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) |