diff --git a/subsys/bluetooth/controller/hci_driver.c b/subsys/bluetooth/controller/hci_driver.c index db88f5970cc..aa36e962d43 100644 --- a/subsys/bluetooth/controller/hci_driver.c +++ b/subsys/bluetooth/controller/hci_driver.c @@ -261,9 +261,18 @@ BUILD_ASSERT(!IS_ENABLED(CONFIG_BT_PERIPHERAL) || #endif #if defined(CONFIG_BT_CTLR_SDC_CS_COUNT) +#if defined(SDC_MEM_CS_DEPRECATED) +#define SDC_MEM_CS_POOL \ + SDC_MEM_CS( \ + CONFIG_BT_CTLR_SDC_CS_COUNT, \ + CONFIG_BT_CTLR_SDC_CS_MAX_ANTENNA_PATHS, \ + IS_ENABLED(CONFIG_BT_CTLR_SDC_CS_STEP_MODE3)) + \ + SDC_MEM_CS_SETUP_PHASE_LINKS(SDC_CENTRAL_COUNT + PERIPHERAL_COUNT) +#else #define SDC_MEM_CS_POOL \ SDC_MEM_CS(CONFIG_BT_CTLR_SDC_CS_COUNT) + \ SDC_MEM_CS_SETUP_PHASE_LINKS(SDC_CENTRAL_COUNT + PERIPHERAL_COUNT) +#endif #else #define SDC_MEM_CS_POOL 0 #endif