change timing advance to only affect the TX timestamp, not the position in the "txdata" buffer

This commit is contained in:
Thomas Schlichter
2020-08-22 10:21:36 +02:00
parent 1ca238dc19
commit b0903e2079
6 changed files with 24 additions and 110 deletions
+1 -1
View File
@@ -797,7 +797,7 @@ void *UE_thread(void *arg) {
timestamp+
UE->frame_parms.get_samples_slot_timestamp(slot_nr,
&UE->frame_parms,DURATION_RX_TO_TX - RX_NB_TH) - firstSymSamp -
openair0_cfg[0].tx_sample_advance,
openair0_cfg[0].tx_sample_advance - UE->N_TA_offset - UE->timing_advance,
txp,
writeBlockSize,
UE->frame_parms.nb_antennas_tx,