From f91c41dcc9be40dfecac1a8d332ed6a9903b7d31 Mon Sep 17 00:00:00 2001 From: Francisco Date: Tue, 23 Nov 2021 21:48:02 +0000 Subject: [PATCH] nr,gnb,rrc: remove csi for SA mode --- srsgnb/src/stack/rrc/rrc_nr.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srsgnb/src/stack/rrc/rrc_nr.cc b/srsgnb/src/stack/rrc/rrc_nr.cc index 8a1fd7a58..5a8bbc4fb 100644 --- a/srsgnb/src/stack/rrc/rrc_nr.cc +++ b/srsgnb/src/stack/rrc/rrc_nr.cc @@ -286,6 +286,9 @@ void rrc_nr::config_mac() valid_cfg = srsran::make_duplex_cfg_from_serv_cell(base_sp_cell_cfg.recfg_with_sync.sp_cell_cfg_common, &cell.duplex); srsran_assert(valid_cfg, "Invalid NR cell configuration."); + } else { + cell.bwps[0].pdsch.p_zp_csi_rs_set = {}; + bzero(cell.bwps[0].pdsch.nzp_csi_rs_sets, sizeof(cell.bwps[0].pdsch.nzp_csi_rs_sets)); } // Set SIB1 and SI messages