summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-07-13 05:00:05 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-07-13 05:00:23 +0700
commit9d24c54f82b9a4c29ebf647040abc8f35f46a6d5 (patch)
tree3463797871265d5d857b78307adad89ca0030127
parentd39b8410590f7183c78acb6ded8f6e7257257681 (diff)
trxcon/scheduler: reduce default Uplink burst scheduling advance
In general, premature scheduling of to be transmitted bursts inevitably increases the time delay between Uplink and Downlink. The more we advance TDMA frame number, the greater gets this delay. 20 TDMA frames is definitely more than a regular transceiver needs to pre-process a burst before transmission. Change-Id: Ia9b142b59d95f2cd7b2394596cf72c0bcd36d711 Related: OS#4487
-rw-r--r--src/host/trxcon/trxcon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/trxcon/trxcon.c b/src/host/trxcon/trxcon.c
index dfce2b8e..8efa6a7b 100644
--- a/src/host/trxcon/trxcon.c
+++ b/src/host/trxcon/trxcon.c
@@ -160,7 +160,7 @@ static void print_help(void)
printf(" -b --trx-bind TRX bind IP address (default 0.0.0.0)\n");
printf(" -i --trx-remote TRX remote IP address (default 127.0.0.1)\n");
printf(" -p --trx-port Base port of TRX instance (default 6700)\n");
- printf(" -f --trx-advance Scheduler clock advance (default 20)\n");
+ printf(" -f --trx-advance Uplink burst scheduling advance (default 3)\n");
printf(" -s --socket Listening socket for layer23 (default /tmp/osmocom_l2)\n");
printf(" -g --gsmtap-ip The destination IP used for GSMTAP (disabled by default)\n");
printf(" -D --daemonize Run as daemon\n");
@@ -233,7 +233,7 @@ static void init_defaults(void)
app_data.trx_remote_ip = "127.0.0.1";
app_data.trx_bind_ip = "0.0.0.0";
app_data.trx_base_port = 6700;
- app_data.trx_fn_advance = 20;
+ app_data.trx_fn_advance = 3;
app_data.debug_mask = NULL;
app_data.gsmtap_ip = NULL;