From 25c0ece748451b1ad239a03ac32d51a0bbc1dc38 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 7f5a6df6bed..87db8fd8175 100644 --- a/components/bt/host/bluedroid/common/include/common/bt_target.h +++ b/components/bt/host/bluedroid/common/include/common/bt_target.h @@ -2029,7 +2029,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. */