diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-05-24 11:56:23 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-05-26 09:10:32 +0000 |
commit | 15400251813f0750bef8a94daba9f672d52c8f91 (patch) | |
tree | 687ad1095e6b61c88769146a4a88d37cb94ecd9e /src/osmo-bsc/bts_ipaccess_nanobts_omlattr.c | |
parent | aae00e4255112262f31d5d868d629d17d0fe80bf (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 'src/osmo-bsc/bts_ipaccess_nanobts_omlattr.c')
-rw-r--r-- | src/osmo-bsc/bts_ipaccess_nanobts_omlattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/bts_ipaccess_nanobts_omlattr.c b/src/osmo-bsc/bts_ipaccess_nanobts_omlattr.c index 8a370dafc..be823ae43 100644 --- a/src/osmo-bsc/bts_ipaccess_nanobts_omlattr.c +++ b/src/osmo-bsc/bts_ipaccess_nanobts_omlattr.c @@ -60,7 +60,7 @@ struct msgb *nanobts_attr_bts_get(struct gsm_bts *bts) msgb_tv_fixed_put(msgb, NM_ATT_OVERL_PERIOD, 3, buf); /* percent */ - msgb_tv_put(msgb, NM_ATT_CCCH_L_T, 10); + msgb_tv_put(msgb, NM_ATT_CCCH_L_T, bts->ccch_load_ind_thresh); /* seconds */ msgb_tv_put(msgb, NM_ATT_CCCH_L_I_P, 1); |