osmo-bsc/src/libbsc
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
..
Makefile.am introduce an osmo_fsm for gsm_subscriber_connection 2018-03-16 18:49:47 +00:00
a_reset.c a_reset: Add FSM event names 2018-03-01 23:08:15 +00:00
abis_nm.c cosmetic: abis_nm: use osmo_cell_global_id, parse 3-digit MNC 2018-03-22 04:13:09 +00:00
abis_nm_ipaccess.c move openbsc/* to repos root 2017-08-27 03:52:43 +02:00
abis_nm_vty.c vty: skip installing cmds now always installed by default 2017-11-01 00:48:52 +01:00
abis_om2000.c Start Dynamic PDCH Initialization after RSL is up 2018-04-07 11:35:12 +02:00
abis_om2000_vty.c compiler warnings: drop some unused variables 2017-11-29 17:37:18 +00:00
abis_rsl.c introduce an osmo_fsm for gsm_subscriber_connection 2018-03-16 18:49:47 +00:00
acc_ramp.c ensure that acc_ramp_init() is only called once 2018-04-11 16:53:05 +00:00
arfcn_range_encode.c range_enc_arfcns: avoid runtime error on zero size 2018-03-28 18:59:04 +02:00
bsc_api.c bssmap: State correct speech codec in ASSIGNMENT COMPLETE 2018-03-22 15:15:12 +00:00
bsc_ctrl_commands.c libbsc: set_net_mcc_mnc_apply: Fix memleak on parsing incorrect mcc mnc 2018-04-11 16:52:49 +00:00
bsc_ctrl_lookup.c Support control connection status query for a particular MSC. 2018-01-09 11:18:10 +00:00
bsc_dyn_ts.c move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
bsc_init.c ensure that acc_ramp_init() is only called once 2018-04-11 16:53:05 +00:00
bsc_msc.c move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
bsc_rf_ctrl.c Make TRX rf locking more visible 2017-09-08 08:31:02 +00:00
bsc_rll.c move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
bsc_subscr_conn_fsm.c gscon: fix illegal state transitions 2018-03-27 11:31:47 +00:00
bsc_subscriber.c move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
bsc_vty.c ensure that acc_ramp_init() is only called once 2018-04-11 16:53:05 +00:00
bts_ericsson_rbs2000.c gsm_data: use feature list from libosmocore 2018-03-12 10:18:05 +00:00
bts_init.c move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
bts_ipaccess_nanobts.c Start Dynamic PDCH Initialization after RSL is up 2018-04-07 11:35:12 +02:00
bts_ipaccess_nanobts_omlattr.c osmo-bts/nanobts: Set RACH_Busy Threshold to -90 dBm 2018-02-27 10:09:43 +01:00
bts_nokia_site.c libbsc: nokia_site: Fix uninitialized return val 2018-03-26 18:10:15 +02:00
bts_siemens_bs11.c gsm_data: use feature list from libosmocore 2018-03-12 10:18:05 +00:00
bts_sysmobts.c gsm_data: use feature list from libosmocore 2018-03-12 10:18:05 +00:00
bts_unknown.c move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
chan_alloc.c fix a format string error in bts_update_t3122_chan_load() 2018-04-09 15:04:24 +02:00
e1_config.c Make RSL connection attempts time out. 2018-02-13 18:08:28 +01:00
gsm_04_08_utils.c RR: Send RR STATUS in case of unsupported/unknown message 2018-03-17 21:46:56 +01:00
gsm_04_80_utils.c move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
gsm_data.c move init from gsm_bts_alloc_register() to gsm_bts_alloc(); fix gsm0408_test 2018-03-28 18:59:48 +02:00
handover_cfg.c cosmetic: adjust copyrights on handover_cfg.c,_vty.c 2018-02-19 16:31:10 +00:00
handover_decision.c HO: introduce ho decision callbacks 2018-02-19 17:11:47 +01:00
handover_decision_2.c introduce an osmo_fsm for gsm_subscriber_connection 2018-03-16 18:49:47 +00:00
handover_logic.c introduce an osmo_fsm for gsm_subscriber_connection 2018-03-16 18:49:47 +00:00
handover_vty.c HO: vty: clearly mark 'handover foo' as legacy alias for 'handover1 foo' 2018-02-19 19:01:13 +01:00
meas_rep.c Fix: meas_rep.c will only use valid DL measurement reports 2018-01-21 19:06:58 +00:00
net_init.c implement support for 3-digit MNC with leading zeros 2018-03-07 15:34:48 +00:00
paging.c paging: paging_request_bts: Fix wrong return value 2018-03-26 18:33:35 +02:00
pcu_sock.c pcu_sock.c: Avoid breaking strict-aliasing on ptr derreference 2018-03-18 17:31:49 +00:00
penalty_timers.c HO: move penalty timers to own file as proper API 2018-02-16 16:11:16 +01:00
rest_octets.c Generate SI2bis Rest Octets 2017-12-12 18:00:56 +00:00
system_information.c sysinfo: Fix regression causing missing L2 Pseudo-Length in SI5/SI6 2018-03-12 00:28:58 +01:00