diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-05-04 19:32:09 +0200 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2022-05-06 12:34:59 +0000 |
commit | 7b36d0b0a0d87a80160f6c2398ea7bb7ff0ccd67 (patch) | |
tree | 128fbe08ada9b7a8170d6e979b26449d71c722ba /include | |
parent | 7d621e0a79e940864cc3d3d4a057ccea9aeeb64a (diff) |
acc: Fix erratic ramping behavior when several BTS configured
One callback function was being registered for each BTS.
That means, when a C0 RCARRIER of one specific BTS changed NM state,
the outcome on whether to trigger/abort ramping would end up being
applied to all BTS.
Change-Id: I56c4dd1809fdcf8441a69bf77ad173e1ccc8eea7
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/bsc/acc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/bsc/acc.h b/include/osmocom/bsc/acc.h index c7be38cb3..531a69acf 100644 --- a/include/osmocom/bsc/acc.h +++ b/include/osmocom/bsc/acc.h @@ -161,6 +161,8 @@ static inline unsigned int acc_ramp_is_running(struct acc_ramp *acc_ramp) return acc_ramp->step_interval_sec; } +void acc_ramp_global_init(void); + void acc_ramp_init(struct acc_ramp *acc_ramp, struct gsm_bts *bts); int acc_ramp_set_step_size(struct acc_ramp *acc_ramp, unsigned int step_size); int acc_ramp_set_step_interval(struct acc_ramp *acc_ramp, unsigned int step_interval); |