@@ -133,9 +133,18 @@ extern "C" {
133133/** @brief Default ISO TX PDU buffer per stream count. */
134134#define SDC_DEFAULT_ISO_TX_PDU_BUFFER_PER_STREAM_COUNT 0
135135
136- /** @brief Default maximum number of concurrent connections supporting CS procedure */
136+ /** @brief Default maximum number of concurrent connections supporting Channel Sounding procedure */
137137#define SDC_DEFAULT_CS_COUNT 0
138138
139+ /** @brief Default maximum number of antenna paths supported in Channel Sounding. */
140+ #define SDC_DEFAULT_CS_MAX_ANTENNA_PATHS_SUPPORTED 1
141+
142+ /** @brief Default number of antennas supported by the local device in Channel Sounding. */
143+ #define SDC_DEFAULT_CS_NUM_ANTENNAS_SUPPORTED 1
144+
145+ /** @brief Default optional support for Channel Sounding step mode-3. */
146+ #define SDC_DEFAULT_CS_STEP_MODE3_SUPPORTED false
147+
139148/** @brief Size of build revision array in bytes. */
140149#define SDC_BUILD_REVISION_SIZE 20
141150
@@ -414,6 +423,8 @@ enum sdc_cfg_type
414423 SDC_CFG_TYPE_ISO_BUFFER_CFG ,
415424 /** See @ref sdc_cfg_t::cs_count. */
416425 SDC_CFG_TYPE_CS_COUNT ,
426+ /** See @ref sdc_cfg_t::cs_cfg. */
427+ SDC_CFG_TYPE_CS_CFG ,
417428};
418429
419430
@@ -529,6 +540,27 @@ typedef struct
529540} sdc_cfg_iso_buffer_cfg_t ;
530541
531542
543+ typedef struct
544+ {
545+ /** Configures the maximum number of antenna paths supported in Channel Sounding.
546+ * Valid range [1, 4].
547+ *
548+ * Default: @ref SDC_DEFAULT_CS_MAX_ANTENNA_PATHS_SUPPORTED.
549+ */
550+ uint8_t max_antenna_paths_supported ;
551+ /** Configures the number of antennas supported by the local device in Channel Sounding.
552+ * Valid range [1, @ref max_antenna_paths_supported].
553+ *
554+ * Default: @ref SDC_DEFAULT_CS_NUM_ANTENNAS_SUPPORTED.
555+ */
556+ uint8_t num_antennas_supported ;
557+ /** Configures support of optional step mode-3 in Channel Sounding.
558+ *
559+ * Default: @ref SDC_DEFAULT_CS_STEP_MODE3_SUPPORTED.
560+ */
561+ bool step_mode3_supported ;
562+ } sdc_cfg_cs_cfg_t ;
563+
532564/** @brief SoftDevice Controller configuration. */
533565typedef union
534566{
@@ -662,6 +694,11 @@ typedef union
662694 * Default: @ref SDC_DEFAULT_CS_COUNT.
663695 */
664696 sdc_cfg_role_count_t cs_count ;
697+ /** Configures the capabilities enabled in the Channel Sounding feature.
698+ *
699+ * Default: See @ref sdc_cfg_cs_cfg_t.
700+ */
701+ sdc_cfg_cs_cfg_t cs_cfg ;
665702} sdc_cfg_t ;
666703
667704
0 commit comments