add FS6 transport time measurement

This commit is contained in:
laurent
2019-12-06 16:24:47 +01:00
parent 08ea618067
commit 47abf562db
10 changed files with 80 additions and 34 deletions
+1 -1
View File
@@ -613,7 +613,7 @@ void rx_rf(RU_t *ru, L1_rxtx_proc_t *proc) {
#endif
}
if (timestamp_rx - old_ts != fp->samples_per_tti) {
if (old_ts != 0 && timestamp_rx - old_ts != fp->samples_per_tti) {
LOG_E(HW,"impossible shift in rx stream, rx: %ld, previous rx distance: %ld, should be %d\n", timestamp_rx, proc->timestamp_rx - old_ts, fp->samples_per_tti);
//ru->ts_offset += (proc->timestamp_rx - old_ts - fp->samples_per_tti);
//proc->timestamp_rx = ts-ru->ts_offset;