diff options
author | Stefan Sperling <ssperling@sysmocom.de> | 2018-02-08 18:21:55 +0100 |
---|---|---|
committer | Stefan Sperling <ssperling@sysmocom.de> | 2018-02-08 18:21:55 +0100 |
commit | 5fb4c19f93e441ce9f396b61f1ab445f5fda2c11 (patch) | |
tree | eec963d8af0da1d3ac8fcf1f726152b66edb52b8 /src/libbsc | |
parent | c862d2548105bb444e607f0378354c6897248ad2 (diff) |
show complete ACC config in VTY
Change-Id: I4115c7b98373d199cf2a46f7d840f2e77de51e80
Diffstat (limited to 'src/libbsc')
-rw-r--r-- | src/libbsc/bsc_vty.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/libbsc/bsc_vty.c b/src/libbsc/bsc_vty.c index 171d5a72a..c927c0770 100644 --- a/src/libbsc/bsc_vty.c +++ b/src/libbsc/bsc_vty.c @@ -267,6 +267,17 @@ static void bts_dump_vty(struct vty *vty, struct gsm_bts *bts) VTY_NEWLINE); vty_out(vty, "Cell Reselection Hysteresis: %u dBm%s", bts->si_common.cell_sel_par.cell_resel_hyst*2, VTY_NEWLINE); + vty_out(vty, "Access Control Class ramping: %senabled%s", + bts->acc_ramping_enabled ? "" : "not ", VTY_NEWLINE); + if (bts->acc_ramping_enabled) { + if (bts->acc_ramp.step_interval_is_fixed) + vty_out(vty, " Access Control class ramping step interval: %u seconds%s", + bts->acc_ramp.step_interval_sec, VTY_NEWLINE); + else + vty_out(vty, " Access Control class ramping step interval: dynamic%s", VTY_NEWLINE); + vty_out(vty, " enabling %u Access Control Class%s per ramping step%s", + bts->acc_ramp.step_size, bts->acc_ramp.step_size > 1 ? "es" : "", VTY_NEWLINE); + } vty_out(vty, "RACH TX-Integer: %u%s", bts->si_common.rach_control.tx_integer, VTY_NEWLINE); vty_out(vty, "RACH Max transmissions: %u%s", @@ -298,7 +309,6 @@ static void bts_dump_vty(struct vty *vty, struct gsm_bts *bts) VTY_NEWLINE); if (bts->pcu_sock_path) vty_out(vty, "PCU Socket Path: %s%s", bts->pcu_sock_path, VTY_NEWLINE); - vty_out(vty, "Access Control Class ramping: %senabled%s", bts->acc_ramping_enabled ? "" : "not ", VTY_NEWLINE); if (is_ipaccess_bts(bts)) vty_out(vty, " Unit ID: %u/%u/0, OML Stream ID 0x%02x%s", bts->ip_access.site_id, bts->ip_access.bts_id, |