From 3fa6b7e59ec803172a633f290cb5722e6cc4a207 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Sat, 26 Apr 2025 12:45:54 +0200 Subject: [PATCH] Check that there is more than zero PRACH FD occasion FHI 7.2 does not have a field for the number of RACH Occasions. It seems this needs to be manually configured, and M plane has field num-prach-re to set the number of frequency domain PRACH occasions. --- executables/nr-ru.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/executables/nr-ru.c b/executables/nr-ru.c index 279b6f5142..7d96eb6772 100644 --- a/executables/nr-ru.c +++ b/executables/nr-ru.c @@ -881,7 +881,7 @@ static void fill_split7_2_config(split7_config_t *split7, const nfapi_nr_config_ DevAssert(prach_config->prach_ConfigurationIndex.tl.tag == NFAPI_NR_CONFIG_PRACH_CONFIG_INDEX_TAG); split7->prach_index = prach_config->prach_ConfigurationIndex.value; - AssertFatal(prach_config->num_prach_fd_occasions.value == 1, "cannot handle more than one PRACH occasion\n"); + AssertFatal(prach_config->num_prach_fd_occasions.value >= 1, "must have at least one PRACH occasion\n"); split7->prach_freq_start = prach_config->num_prach_fd_occasions_list[0].k1.value; DevAssert(cell_config->frame_duplex_type.tl.tag == NFAPI_NR_CONFIG_FRAME_DUPLEX_TYPE_TAG);