mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user