From 32e49ada39f7f68318ef4459fc8bcc71c5db7aea Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Tue, 5 Jan 2021 09:36:58 -0800 Subject: [PATCH] [posix] increase message buffer pool to 256 (#6037) --- src/posix/platform/openthread-core-posix-config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/posix/platform/openthread-core-posix-config.h b/src/posix/platform/openthread-core-posix-config.h index 55c11da83..5933d6798 100644 --- a/src/posix/platform/openthread-core-posix-config.h +++ b/src/posix/platform/openthread-core-posix-config.h @@ -34,6 +34,16 @@ #ifndef OPENTHREAD_CORE_POSIX_CONFIG_H_ #define OPENTHREAD_CORE_POSIX_CONFIG_H_ +/** + * @def OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS + * + * The number of message buffers in the buffer pool. + * + */ +#ifndef OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS +#define OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS 256 +#endif + /** * @def OPENTHREAD_CONFIG_LOG_PLATFORM *