aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-05-24 11:56:23 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-26 09:10:32 +0000
commit15400251813f0750bef8a94daba9f672d52c8f91 (patch)
tree687ad1095e6b61c88769146a4a88d37cb94ecd9e /include/osmocom
parentaae00e4255112262f31d5d868d629d17d0fe80bf (diff)
Allow VTY to set the CCCH Load Indication Threshold
Add a new VTY command "ccch load-indication-threshold <0-100>" by which the user can configure the threshold after which the BTS shall send CCCH LOAD IND. It used to be hard-coded to a default value of 10. Change-Id: I059fe4627438e26a06e00d84e342b736ab7af440
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/bsc/gsm_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index 82bd23846..a4640015e 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -1115,6 +1115,9 @@ struct gsm_bts {
bool ctrl_ack_type_use_block;
} gprs;
+ /* threshold (in percent) when BTS shall send CCCH LOAD IND */
+ int ccch_load_ind_thresh;
+
/* RACH NM values */
int rach_b_thresh;
int rach_ldavg_slots;