fix analog beamforming fapi structure generation
This commit is contained in:
@@ -708,7 +708,7 @@ static void config_common(gNB_MAC_INST *nrmac, const nr_mac_config_t *config, NR
|
|||||||
// precoding matrix configuration (to be improved)
|
// precoding matrix configuration (to be improved)
|
||||||
cfg->pmi_list = init_DL_MIMO_codebook(nrmac, pdsch_AntennaPorts);
|
cfg->pmi_list = init_DL_MIMO_codebook(nrmac, pdsch_AntennaPorts);
|
||||||
|
|
||||||
if (nrmac->beam_info.beam_mode == PRECONFIGURED_BEAM_IDX) {
|
if (nrmac->beam_info.beam_mode != NO_BEAM_MODE) {
|
||||||
LOG_I(NR_MAC, "Configuring analog beamforming in config_request message\n");
|
LOG_I(NR_MAC, "Configuring analog beamforming in config_request message\n");
|
||||||
cfg->analog_beamforming_ve.num_beams_period_vendor_ext.tl.tag = NFAPI_NR_FAPI_NUM_BEAMS_PERIOD_VENDOR_EXTENSION_TAG;
|
cfg->analog_beamforming_ve.num_beams_period_vendor_ext.tl.tag = NFAPI_NR_FAPI_NUM_BEAMS_PERIOD_VENDOR_EXTENSION_TAG;
|
||||||
cfg->analog_beamforming_ve.num_beams_period_vendor_ext.value = nrmac->beam_info.beams_per_period;
|
cfg->analog_beamforming_ve.num_beams_period_vendor_ext.value = nrmac->beam_info.beams_per_period;
|
||||||
|
|||||||
Reference in New Issue
Block a user