assertion to avoid using analog beamforming in split scenario
This commit is contained in:
@@ -1692,6 +1692,7 @@ void RCconfig_nr_macrlc(configmodule_interface_t *cfg)
|
|||||||
}
|
}
|
||||||
bool ab = *MacRLC_ParamList.paramarray[j][MACRLC_ANALOG_BEAMFORMING_IDX].u8ptr;
|
bool ab = *MacRLC_ParamList.paramarray[j][MACRLC_ANALOG_BEAMFORMING_IDX].u8ptr;
|
||||||
if (ab) {
|
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;
|
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;
|
int beams_per_period = *MacRLC_ParamList.paramarray[j][MACRLC_ANALOG_BEAMS_PERIOD_IDX].u8ptr;
|
||||||
beam_info->beam_allocation = malloc16(beams_per_period * sizeof(int *));
|
beam_info->beam_allocation = malloc16(beams_per_period * sizeof(int *));
|
||||||
|
|||||||
Reference in New Issue
Block a user