osmo-bsc/src
Stefan Sperling ea33341cf7 ensure that acc_ramp_init() is only called once
There are plans to register signal handlers in acc_ramp_init(). Once we
do that, the acc_ramp_init() function should only be called once to
avoid duplicate signal handlers on the handler list.

However, the acc_ramp_init() function currently serves a dual-purpose:

 1) Initialize the acc_ramp structure for a bts
 2) Enable or disable ACC ramping

Add new functions to support use case 2, and call acc_ramp_init()
just once while reading the configuration file. The VTY commands
which enable/disable ACC ramping use the new APIs instead.

Also, rename acc_ramp_start() to acc_ramp_trigger() and tweak its
semantics so that it can always be called regardless of what the
current configuration settings are. This prepares us for triggering
ACC ramping upon events other than "RSL link-up".

Change-Id: Ia25bff85d9e5c277da76bffa11d31972e9fdc323
Related: OS2591
2018-04-11 16:53:05 +00:00
..
ipaccess ctx cleanup: use non-NULL talloc ctx for osmo_init_logging2() 2018-03-28 19:24:34 +02:00
libbsc ensure that acc_ramp_init() is only called once 2018-04-11 16:53:05 +00:00
libfilter libcommon_cs: move gsm48 bits to libbsc 2018-02-14 12:55:45 +01:00
osmo-bsc vty: re-add 'timeout-ping' and 'timeout-pong' as dummy commands 2018-04-05 01:04:18 +02:00
osmo-bsc_nat bsc_nat: Drop redundant ccon ptr in bsc_cmd_list 2018-04-11 16:52:49 +00:00
utils ctx cleanup: use non-NULL talloc ctx for osmo_init_logging2() 2018-03-28 19:24:34 +02:00
Makefile.am drop libcommon-cs completely 2018-02-14 12:55:45 +01:00