aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-03-05 05:54:01 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-03-05 05:54:32 +0700
commit8a28868b29b4480f248d64728ebb08af8274fda9 (patch)
tree6b4a791b86f01d4fb84280a5da71e19916dd7fa4
parent2f052f33de6ac09afa04037e5870a87497e5e9b9 (diff)
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
-rw-r--r--src/osmo-bts-trx/scheduler_trx.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index cefde072..d96eea09 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 @@ int rx_rach_fn(struct l1sched_trx *l1t, uint8_t tn, uint32_t fn,
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;