From 1336f6265342848f97360ea5fc79754c324c8305 Mon Sep 17 00:00:00 2001 From: Jin Cheng Date: Tue, 21 Jul 2026 19:29:08 +0800 Subject: [PATCH] change(bt/bluedroid): increased port low watermark of RFCOMM When PORT_RX_BUF_LOW_WM is too low, RFCOMM replenishes credits only after receiving a relatively large number of packets, which may cause the peer to exhaust its credits and enter a stop-and-wait state. Increase the low watermark to replenish credits more promptly and reduce the likelihood of the peer stalling while waiting for additional credits. --- components/bt/host/bluedroid/common/include/common/bt_target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/host/bluedroid/common/include/common/bt_target.h b/components/bt/host/bluedroid/common/include/common/bt_target.h index c938e48f1e0..27fea7f2c0a 100644 --- a/components/bt/host/bluedroid/common/include/common/bt_target.h +++ b/components/bt/host/bluedroid/common/include/common/bt_target.h @@ -2133,7 +2133,7 @@ /* The port receive queue low watermark level, in number of buffers. */ #ifndef PORT_RX_BUF_LOW_WM -#define PORT_RX_BUF_LOW_WM 4 +#define PORT_RX_BUF_LOW_WM 6 #endif /* The port receive queue high watermark level, in number of buffers. */