aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/libcommon/source/pseudo_talloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/libcommon/source/pseudo_talloc.c')
-rw-r--r--firmware/libcommon/source/pseudo_talloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/libcommon/source/pseudo_talloc.c b/firmware/libcommon/source/pseudo_talloc.c
index 7c452b3..3407a59 100644
--- a/firmware/libcommon/source/pseudo_talloc.c
+++ b/firmware/libcommon/source/pseudo_talloc.c
@@ -22,7 +22,9 @@
#include "utils.h"
#include <osmocom/core/utils.h>
-#define NUM_RCTX_SMALL 10
+/* TODO: this number should dynamically scale. We need at least one per IN/IRQ endpoint,
+ * as well as at least 3 for every OUT endpoint. Plus some more depending on the application */
+#define NUM_RCTX_SMALL 20
#define RCTX_SIZE_SMALL 348
static uint8_t msgb_data[NUM_RCTX_SMALL][RCTX_SIZE_SMALL] __attribute__((aligned(sizeof(long))));