From 655fb7204f086a73e80e053f72d0b40e9ef0b75d Mon Sep 17 00:00:00 2001 From: Carlo Galiotto Date: Wed, 5 Jan 2022 17:06:58 +0100 Subject: [PATCH] rrc-nr: set CSI config for SA only Signed-off-by: Carlo Galiotto --- srsgnb/src/stack/rrc/cell_asn1_config.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srsgnb/src/stack/rrc/cell_asn1_config.cc b/srsgnb/src/stack/rrc/cell_asn1_config.cc index 5acd6d346..1c5b056ab 100644 --- a/srsgnb/src/stack/rrc/cell_asn1_config.cc +++ b/srsgnb/src/stack/rrc/cell_asn1_config.cc @@ -937,7 +937,11 @@ int fill_master_cell_cfg_from_enb_cfg(const rrc_nr_cfg_t& cfg, uint32_t cc, asn1 out.sp_cell_cfg.recfg_with_sync_present = false; /* Check if setting true is enough */ - out.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg_present = true; // Note: not supported + if (cfg.is_standalone) { + out.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg_present = true; // Note: not supported + } else { + out.sp_cell_cfg.sp_cell_cfg_ded.csi_meas_cfg_present = false; // Note: not supported in NSA + } return SRSRAN_SUCCESS; }