assertion to avoid using analog beamforming in split scenario

This commit is contained in:
francescomani
2025-06-11 10:22:23 +02:00
parent ded3187734
commit 73a2ba3894
+1
View File
@@ -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 *));