Review at  https://gerrit.osmocom.org/7077

scheduler_trx.c: remove ToA (Time of Arrival) hack

This was useful for software simulation of burst delay, expressed
by ToA (Time of Arrival). Since we have FakeTRX toolkit, ToA value
may be simulated in a more flexible way, so let's remove this code.

Change-Id: Ied0fcfcf58b93efdc6de9666fbbf8fea104e2543
---
M src/osmo-bts-trx/scheduler_trx.c
1 file changed, 0 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/77/7077/1

diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index cefde07..d96eea0 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -50,11 +50,6 @@
 
 extern void *tall_bts_ctx;
 
-/* Enable this to multiply TOA of RACH by 10.
- * This is useful to check tenth of timing advances with RSSI test tool.
- * Note that regular phones will not work when using this test! */
-//#define TA_TEST
-
 /* Maximum size of a EGPRS message in bytes */
 #define EGPRS_0503_MAX_BYTES           155
 
@@ -740,10 +735,6 @@
                NULL);
        l1sap.u.rach_ind.chan_nr = chan_nr;
        l1sap.u.rach_ind.ra = ra;
-#ifdef TA_TEST
-#warning TIMING ADVANCE TEST-HACK IS ENABLED!!!
-       toa256 *= 10;
-#endif
        l1sap.u.rach_ind.acc_delay = (toa256 >= 0) ? toa256/256 : 0;
        l1sap.u.rach_ind.fn = fn;
 

-- 
To view, visit https://gerrit.osmocom.org/7077
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ied0fcfcf58b93efdc6de9666fbbf8fea104e2543
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilira...@gmail.com>

Reply via email to