From 5577219af4ca9f55e585b1f6f3c93a2acbcbef40 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Sat, 12 Dec 2020 17:03:06 -0800 Subject: [PATCH] [ncp] increase size of NCP UART buffers to avoid dropped frames (#6043) --- src/ncp/ncp_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ncp/ncp_config.h b/src/ncp/ncp_config.h index cc584c189..b93cb6f5c 100644 --- a/src/ncp/ncp_config.h +++ b/src/ncp/ncp_config.h @@ -66,7 +66,7 @@ * */ #ifndef OPENTHREAD_CONFIG_NCP_TX_BUFFER_SIZE -#define OPENTHREAD_CONFIG_NCP_TX_BUFFER_SIZE 512 +#define OPENTHREAD_CONFIG_NCP_TX_BUFFER_SIZE 2048 #endif /** @@ -76,7 +76,7 @@ * */ #ifndef OPENTHREAD_CONFIG_NCP_UART_TX_CHUNK_SIZE -#define OPENTHREAD_CONFIG_NCP_UART_TX_CHUNK_SIZE 128 +#define OPENTHREAD_CONFIG_NCP_UART_TX_CHUNK_SIZE 2048 #endif /**