From 8a28868b29b4480f248d64728ebb08af8274fda9 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Mon, 5 Mar 2018 05:54:01 +0700 Subject: 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 --- src/osmo-bts-trx/scheduler_trx.c | 9 --------- 1 file changed, 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; -- cgit v1.2.3