aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-07-21 14:00:14 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-07-21 19:22:36 +0200
commitb31f5ef69963c4e8139515368a3bf867a5d76b00 (patch)
tree87fbca95f761d35eb8ed2064855df6cd0649c134 /src
parentd4ad731baecb1993481941b0cbb6b6d512708572 (diff)
pcu: Enable LLC CoDel by default
Currently CoDel is disabled by default. This commit enables CoDel on start up with the default interval time, equivalent to the 'queue codel' VTY command. To disable CoDel, use the 'no queue codel' command. 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 dc1cb15..0cbced8 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -189,6 +189,8 @@ int main(int argc, char *argv[])
bts->cs_lqual_ranges[3].high = 256;
bts->cs_downgrade_threshold = 200;
+ bts->llc_codel_interval_msec = LLC_CODEL_USE_DEFAULT;
+
msgb_set_talloc_ctx(tall_pcu_ctx);
osmo_init_logging(&gprs_log_info);