mirror of https://github.com/PentHertz/srsLTE.git
gnb,dl: fix amplitude scaling
use PDSCH struct to get number of PRBs to compute scaling factor. then PDCCH struct is only filled if it's encoded.
This commit is contained in:
parent
faf9d2dbd8
commit
430694c72f
|
@ -167,7 +167,7 @@ void srsran_gnb_dl_gen_signal(srsran_gnb_dl_t* q)
|
|||
return;
|
||||
}
|
||||
|
||||
float norm_factor = gnb_dl_get_norm_factor(q->pdcch.carrier.nof_prb);
|
||||
float norm_factor = gnb_dl_get_norm_factor(q->pdsch.carrier.nof_prb);
|
||||
|
||||
for (uint32_t i = 0; i < q->nof_tx_antennas; i++) {
|
||||
srsran_ofdm_tx_sf(&q->fft[i]);
|
||||
|
|
Loading…
Reference in New Issue