From 2bc4d70199bc3ac7870605b0d3ce0fba1752300d Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 3 Dec 2018 15:55:45 +0100 Subject: [PATCH] reset TA before sending PRACH (fixes #285) as suggested by Xavier in phch_recv.cc --- srsue/src/phy/phch_recv.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/srsue/src/phy/phch_recv.cc b/srsue/src/phy/phch_recv.cc index 3cac3509c..f809503c2 100644 --- a/srsue/src/phy/phch_recv.cc +++ b/srsue/src/phy/phch_recv.cc @@ -441,6 +441,7 @@ void phch_recv::run_thread() if (!prach_ptr) { Error("Generating PRACH\n"); } + set_time_adv_sec(0.0f); } /* Compute TX time: Any transmission happens in TTI+4 thus advance 4 ms the reception time */