Remove NR hard-coded phase offsets

master
Xavier Arteaga 4 years ago committed by Xavier Arteaga
parent 44df2288b9
commit 18db846c6c

@ -156,17 +156,6 @@ void srslte_enb_dl_nr_gen_signal(srslte_enb_dl_nr_t* q)
return;
}
// Temporary symbol phase shift
uint32_t nof_re = SRSLTE_NRE * q->carrier.nof_prb;
for (uint32_t i = 0; i < 2; i++) {
for (uint32_t j = 0; j < 7; j++) {
srslte_vec_sc_prod_ccc(&q->sf_symbols[0][(i * 7 + j) * nof_re],
cexpf(I * (11.0f * j - 2.0f) * M_PI / 16),
&q->sf_symbols[0][(i * 7 + j) * nof_re],
nof_re);
}
}
for (uint32_t i = 0; i < q->nof_tx_antennas; i++) {
srslte_ofdm_tx_sf(&q->fft[i]);
}

@ -197,17 +197,6 @@ void srslte_ue_dl_nr_estimate_fft(srslte_ue_dl_nr_t* q, const srslte_slot_cfg_t*
srslte_ofdm_rx_sf(&q->fft[i]);
}
// Temporary symbol phase shift
uint32_t nof_re = SRSLTE_NRE * q->carrier.nof_prb;
for (uint32_t i = 0; i < 2; i++) {
for (uint32_t j = 0; j < 7; j++) {
srslte_vec_sc_prod_ccc(&q->sf_symbols[0][(i * 7 + j) * nof_re],
cexpf(-I * (11.0f * j - 2.0f) * M_PI / 16),
&q->sf_symbols[0][(i * 7 + j) * nof_re],
nof_re);
}
}
// Estimate PDCCH channel for every configured CORESET
for (uint32_t i = 0; i < SRSLTE_UE_DL_NR_MAX_NOF_CORESET; i++) {
if (q->cfg.coreset_present[i]) {

Loading…
Cancel
Save