aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/bsc')
-rw-r--r--include/osmocom/bsc/acc_ramp.h8
-rw-r--r--include/osmocom/bsc/gsm_data_shared.h1
2 files changed, 5 insertions, 4 deletions
diff --git a/include/osmocom/bsc/acc_ramp.h b/include/osmocom/bsc/acc_ramp.h
index 46a14c869..a02db15b7 100644
--- a/include/osmocom/bsc/acc_ramp.h
+++ b/include/osmocom/bsc/acc_ramp.h
@@ -82,13 +82,13 @@ struct acc_ramp {
*
* The BTS which uses this ACC ramp must be provided as well.
*
- * If 'ramping_enabled' is true, all ACCs are denied by default.
+ * If 'bts->acc_ramping_enabled' is true, all ACCs are denied by default.
* A subsequent call to acc_ramp_start() will begin the ramping process.
*
- * If 'ramping_enabled' is false, all ACCs will be allowed by default, and
- * there is no need to do anything else.
+ * If 'bts->acc_ramping_enabled' is false, all ACCs will be allowed by default,
+ * and there is no need to do anything else.
*/
-void acc_ramp_init(struct acc_ramp *acc_ramp, struct gsm_bts *bts, bool ramping_enabled);
+void acc_ramp_init(struct acc_ramp *acc_ramp, struct gsm_bts *bts);
/* Change the ramping step size. Returns negative on error (step_size out of range), else zero. */
int acc_ramp_set_step_size(struct acc_ramp *acc_ramp, enum acc_ramp_step_size step_size);
diff --git a/include/osmocom/bsc/gsm_data_shared.h b/include/osmocom/bsc/gsm_data_shared.h
index 9fa6d8318..6af397d5f 100644
--- a/include/osmocom/bsc/gsm_data_shared.h
+++ b/include/osmocom/bsc/gsm_data_shared.h
@@ -790,6 +790,7 @@ struct gsm_bts {
/* access control class ramping */
struct acc_ramp acc_ramp;
+ bool acc_ramping_enabled;
/* exclude the BTS from the global RF Lock handling */
int excl_from_rf_lock;