From 9f64c54040857079fa5ca35bf522d3befe7ac362 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 20 Jul 2017 01:47:39 +0200 Subject: GSM timers: User reasonable defaults; don't save if equal default A number of the GSM timers (including T3109) had no reasonable default values if not specified in the VTY / config file. Together with unconditional writing to the config file, this created config files with a persistent setting for important timers as '0'. To make things worse, many of our example cofig files suffered from the same problem. Let's avoid this from happening by * having reasonable defaults if nothing specified in the config file * conditionally savingg timers only if they differ from default * reject any timer values that state zero during start-up (see previous commit) Change-Id: Iaac0bfca423852b61d8b9eb1438157ef00d0d8c8 Closes: OS#2380 --- openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'openbsc/doc/examples/osmo-bsc') diff --git a/openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg b/openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg index 56e47243b..ab23a76bc 100644 --- a/openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg +++ b/openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg @@ -28,18 +28,6 @@ network handover power budget interval 6 handover power budget hysteresis 3 handover maximum distance 9999 - timer t3101 10 - timer t3103 0 - timer t3105 0 - timer t3107 0 - timer t3109 0 - timer t3111 0 - timer t3113 60 - timer t3115 0 - timer t3117 0 - timer t3119 0 - timer t3122 0 - timer t3141 0 subscriber-keep-in-ram 0 bts 0 type nanobts -- cgit v1.2.3