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.
This commit is contained in:
Jin Cheng
2026-07-21 19:29:08 +08:00
parent 996fa1637a
commit 7f6c3cbe9c

View File

@@ -2115,7 +2115,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. */