mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-11 03:30:05 +00:00
nimble/transport: Enable extra buffer on app when using IPC
If IPC transport is used on app core and we do not have host, we should enable an extra buffer for command to make sure controller-to-host flow control can be handled. This does not need to be handled on controller side since it needs to have that feature enabled anyway.
This commit is contained in:
@@ -34,7 +34,8 @@
|
||||
#define OMP_FLAG_FROM_MASK (0x03)
|
||||
|
||||
#if MYNEWT_VAL(BLE_HS_FLOW_CTRL) || \
|
||||
MYNEWT_VAL(BLE_LL_CFG_FEAT_CTRL_TO_HOST_FLOW_CONTROL)
|
||||
MYNEWT_VAL(BLE_LL_CFG_FEAT_CTRL_TO_HOST_FLOW_CONTROL) || \
|
||||
(!MYNEWT_VAL(BLE_HOST) && BLE_TRANSPORT_IPC_ON_HS)
|
||||
#define POOL_CMD_COUNT (2)
|
||||
#else
|
||||
#define POOL_CMD_COUNT (1)
|
||||
|
||||
Reference in New Issue
Block a user