mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
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:
@@ -2068,7 +2068,7 @@
|
|||||||
|
|
||||||
/* The port receive queue low watermark level, in number of buffers. */
|
/* The port receive queue low watermark level, in number of buffers. */
|
||||||
#ifndef PORT_RX_BUF_LOW_WM
|
#ifndef PORT_RX_BUF_LOW_WM
|
||||||
#define PORT_RX_BUF_LOW_WM 4
|
#define PORT_RX_BUF_LOW_WM 6
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The port receive queue high watermark level, in number of buffers. */
|
/* The port receive queue high watermark level, in number of buffers. */
|
||||||
|
|||||||
Reference in New Issue
Block a user