Skip to content

Commit e8debac

Browse files
committed
du: add CSI-RS period validation according to the bandwidth
1 parent 841c365 commit e8debac

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

apps/units/flexible_o_du/o_du_high/du_high/du_high_config_validator.cpp

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,21 @@ static bool validate_pdsch_cell_unit_config(const du_high_unit_pdsch_config& con
317317
return true;
318318
}
319319

320+
/// Validates the given CSI cell application configuration. Returns true on success, otherwise false.
321+
static bool validate_csi_cell_unit_config(const du_high_unit_csi_config& config, unsigned cell_bw_crbs)
322+
{
323+
// CSI RS period limitation due to TS 38.214 Section 5.1.6.1.1:
324+
// "- the UE is not expected to be configured with the periodicity of 2 μ × 10 slots if the bandwidth of CSI-RS
325+
// resource is larger than 52 resource blocks."
326+
if ((config.csi_rs_period_msec == 10) && (cell_bw_crbs > 52)) {
327+
fmt::print("Invalid CSI-RS period. UEs are not expected to be configured with CSI-RS period of 10ms when the "
328+
"bandwidth exceeds 52 resource blocks.\n");
329+
return false;
330+
}
331+
332+
return true;
333+
}
334+
320335
/// Validates the given PUSCH cell application configuration. Returns true on success, otherwise false.
321336
static bool validate_pusch_cell_unit_config(const du_high_unit_pusch_config& config,
322337
unsigned cell_crbs,
@@ -1164,6 +1179,10 @@ static bool validate_base_cell_unit_config(const du_high_unit_base_cell_config&
11641179
return false;
11651180
}
11661181

1182+
if (!validate_csi_cell_unit_config(config.csi_cfg, nof_crbs)) {
1183+
return false;
1184+
}
1185+
11671186
if (!validate_pdcch_unit_config(config)) {
11681187
return false;
11691188
}

0 commit comments

Comments
 (0)