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:
Andrzej Kaczmarek
2022-10-05 10:20:35 +02:00
parent 7b97e1d5c6
commit 25f84900bb
+2 -1
View File
@@ -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)