aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-11-30 11:53:06 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-11-30 12:11:39 +0100
commiteb93f592e5bdb729900d64a133d62f9fde9e280f (patch)
tree7f00cc9cc28b0388646a73d6edc52b63d18d04f6 /src
parentf5898a0528eef82223c450caaf210389c5f00aee (diff)
pcu: Enable dl-tbf-idle-time and idle-ack-delay by default
Currently these are enabled in the default config file. Since CoDel is enabled by default in main() but should not be used without at least dl-tbf-idle-time, the current default config may lead to packet loss and performance problems. This commit enables both features to provide a good (GPRS) performance experience even without a configuration. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src')
-rw-r--r--src/pcu_main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index b32764e..77e1082 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -191,6 +191,8 @@ int main(int argc, char *argv[])
bts->cs_downgrade_threshold = 200;
bts->llc_codel_interval_msec = LLC_CODEL_USE_DEFAULT;
+ bts->dl_tbf_idle_msec = 2000;
+ bts->llc_idle_ack_csec = 10;
msgb_set_talloc_ctx(tall_pcu_ctx);