nrbeam_weights and num port as SSB

This commit is contained in:
Francesco Mani
2019-08-06 18:28:09 +02:00
parent 1d3023a5f6
commit c97cd87d47
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ int nr_beam_precoding(int32_t **txdataF,
uint8_t p;
int slot_offset_F;
int nb_antenna_ports = 1; // TODO get the actual value
int nb_antenna_ports = frame_parms->Lmax; // for now logical antenna ports corresponds to SSB
slot_offset_F = slot*(frame_parms->ofdm_symbol_size)*(frame_parms->symbols_per_slot);
+2 -1
View File
@@ -257,7 +257,8 @@ void nr_feptx_prec(RU_t *ru,int frame,int tti_tx) {
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_PREC , 0);
}
else {
bw = ru->beam_weights[0];
bw = ru->nrbeam_weights[0];
for (l=0;l<fp->symbols_per_slot;l++) {
for (aa=0;aa<ru->nb_tx;aa++) {
nr_beam_precoding(ru->gNB_list[0]->common_vars.txdataF,