diff options
-rw-r--r-- | doc/manuals/chapters/bts-models.adoc | 5 | ||||
-rw-r--r-- | src/osmo-bts-trx/main.c | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/doc/manuals/chapters/bts-models.adoc b/doc/manuals/chapters/bts-models.adoc index 495571fa..5cb04616 100644 --- a/doc/manuals/chapters/bts-models.adoc +++ b/doc/manuals/chapters/bts-models.adoc @@ -270,8 +270,7 @@ on a remote host will inevitably require a higher fn-advance than running it on the same machine, where the UDP packets are just passed over the loopback device. -The default value for `fn-advance` is 20 (corresponding to 92 -milliseconds). +The default value for `fn-advance` is 2 (corresponding to 9.2 milliseconds). ===== `osmotrx rts-advance <0-30>` @@ -290,7 +289,7 @@ reported on L1SAP to higher layers will be computed as follows: N + fn-advance + rts-advance -The default value of `rts-advance` is 5 (corresponding to 23 milliseconds). +The default value of `rts-advance` is 3 (corresponding to 14 milliseconds). Do not change this unless you have a good reason! ===== `osmotrx rx-gain <0-50>` diff --git a/src/osmo-bts-trx/main.c b/src/osmo-bts-trx/main.c index 33bc6f2c..166af7e1 100644 --- a/src/osmo-bts-trx/main.c +++ b/src/osmo-bts-trx/main.c @@ -167,8 +167,8 @@ void bts_model_phy_link_set_defaults(struct phy_link *plink) plink->u.osmotrx.remote_ip = talloc_strdup(plink, "127.0.0.1"); plink->u.osmotrx.base_port_local = 5800; plink->u.osmotrx.base_port_remote = 5700; - plink->u.osmotrx.clock_advance = 20; - plink->u.osmotrx.rts_advance = 5; + plink->u.osmotrx.clock_advance = 2; + plink->u.osmotrx.rts_advance = 3; /* attempt use newest TRXD version by default: */ plink->u.osmotrx.trxd_hdr_ver_max = TRX_DATA_FORMAT_VER; } |