Commit c97cd87d authored by Francesco Mani's avatar Francesco Mani

nrbeam_weights and num port as SSB

parent 1d3023a5
...@@ -104,7 +104,7 @@ int nr_beam_precoding(int32_t **txdataF, ...@@ -104,7 +104,7 @@ int nr_beam_precoding(int32_t **txdataF,
uint8_t p; uint8_t p;
int slot_offset_F; 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); slot_offset_F = slot*(frame_parms->ofdm_symbol_size)*(frame_parms->symbols_per_slot);
......
...@@ -257,7 +257,8 @@ void nr_feptx_prec(RU_t *ru,int frame,int tti_tx) { ...@@ -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); VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_RU_FEPTX_PREC , 0);
} }
else { else {
bw = ru->beam_weights[0];
bw = ru->nrbeam_weights[0];
for (l=0;l<fp->symbols_per_slot;l++) { for (l=0;l<fp->symbols_per_slot;l++) {
for (aa=0;aa<ru->nb_tx;aa++) { for (aa=0;aa<ru->nb_tx;aa++) {
nr_beam_precoding(ru->gNB_list[0]->common_vars.txdataF, nr_beam_precoding(ru->gNB_list[0]->common_vars.txdataF,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment