rrc-nr: set CSI config for SA only

Signed-off-by: Carlo Galiotto <carlo@srs.io>
This commit is contained in:
Carlo Galiotto 2022-01-05 17:06:58 +01:00 committed by carlo-gal
parent d7e4018adf
commit 655fb7204f
1 changed files with 5 additions and 1 deletions

View File

@ -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;
}