TDD in rfsimulator

This commit is contained in:
Khalid Ahmed
2019-10-08 09:30:14 +02:00
committed by Thomas Schlichter
parent dd26598ab2
commit c7951965e7
3 changed files with 12 additions and 4 deletions
+6 -1
View File
@@ -1474,7 +1474,12 @@ static void *ru_thread( void *param ) {
if (ru->idx!=0) proc->frame_tx = (proc->frame_tx+proc->frame_offset)&1023;
// do RX front-end processing (frequency-shift, dft) if needed
if (ru->feprx) ru->feprx(ru,proc->tti_rx);
if (proc->tti_rx == NR_UPLINK_SLOT || fp->frame_type == FDD) {
if (ru->feprx) ru->feprx(ru,proc->tti_rx);
}
LOG_D(PHY,"RU proc: frame_rx = %d, tti_rx = %d\n", proc->frame_rx, proc->tti_rx);
LOG_D(PHY,"Copying rxdataF from RU to gNB\n");