From 73a2ba3894c662699e285cf2c43df49f54a13b1c Mon Sep 17 00:00:00 2001 From: francescomani Date: Wed, 11 Jun 2025 10:22:23 +0200 Subject: [PATCH] assertion to avoid using analog beamforming in split scenario --- openair2/GNB_APP/gnb_config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/openair2/GNB_APP/gnb_config.c b/openair2/GNB_APP/gnb_config.c index 44ea5648bf..e9d0099340 100644 --- a/openair2/GNB_APP/gnb_config.c +++ b/openair2/GNB_APP/gnb_config.c @@ -1692,6 +1692,7 @@ void RCconfig_nr_macrlc(configmodule_interface_t *cfg) } bool ab = *MacRLC_ParamList.paramarray[j][MACRLC_ANALOG_BEAMFORMING_IDX].u8ptr; if (ab) { + AssertFatal(NFAPI_MODE == NFAPI_MONOLITHIC, "Analog beamforming only supported for monolithic scenario\n"); NR_beam_info_t *beam_info = &RC.nrmac[j]->beam_info; int beams_per_period = *MacRLC_ParamList.paramarray[j][MACRLC_ANALOG_BEAMS_PERIOD_IDX].u8ptr; beam_info->beam_allocation = malloc16(beams_per_period * sizeof(int *));