This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
dexter gerrit-no-reply at lists.osmocom.orgdexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/24903 ) Change subject: bsc_vty: add vty option to allow call-reestablishment ...................................................................... bsc_vty: add vty option to allow call-reestablishment The rach control parameter value that controls the usage of call-reestablishment is currently hardcoded. Lets add a VTY option for this so that we are able to configure call-reestablishment Change-Id: Ia18c1dde4c001cb4d423f694f8bc146adfd77daf Related: SYS#5130 --- M src/osmo-bsc/bsc_vty.c 1 file changed, 23 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/03/24903/1 diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c index 070b660..b8426c7 100644 --- a/src/osmo-bsc/bsc_vty.c +++ b/src/osmo-bsc/bsc_vty.c @@ -1100,6 +1100,8 @@ vty_out(vty, " cell barred 1%s", VTY_NEWLINE); if ((bts->si_common.rach_control.t2 & 0x4) == 0) vty_out(vty, " rach emergency call allowed 1%s", VTY_NEWLINE); + if (bts->si_common.rach_control.re == 0) + vty_out(vty, " rach call-reestablishment allowed 1%s", VTY_NEWLINE); if ((bts->si_common.rach_control.t3) != 0) for (i = 0; i < 8; i++) if (bts->si_common.rach_control.t3 & (0x1 << i)) @@ -3129,6 +3131,26 @@ return CMD_SUCCESS; } +DEFUN_USRATTR(cfg_bts_rach_re_allowed, + cfg_bts_rach_re_allowed_cmd, + X(BSC_VTY_ATTR_RESTART_ABIS_RSL_LINK), + "rach call-reestablishment allowed (0|1)", + RACH_STR + "Resume calls after radio link failure\n" + "Resume calls after radio link failure\n" + "Forbid MS to reestablish calls\n" + "Allow MS to try to reestablish calls\n") +{ + struct gsm_bts *bts = vty->index; + + if (atoi(argv[0]) == 0) + bts->si_common.rach_control.re = 1; + else + bts->si_common.rach_control.re = 0; + + return CMD_SUCCESS; +} + DEFUN_USRATTR(cfg_bts_rach_ac_class, cfg_bts_rach_ac_class_cmd, X(BSC_VTY_ATTR_RESTART_ABIS_RSL_LINK), @@ -8074,6 +8096,7 @@ install_element(BTS_NODE, &cfg_bts_rach_nm_ldavg_cmd); install_element(BTS_NODE, &cfg_bts_cell_barred_cmd); install_element(BTS_NODE, &cfg_bts_rach_ec_allowed_cmd); + install_element(BTS_NODE, &cfg_bts_rach_re_allowed_cmd); install_element(BTS_NODE, &cfg_bts_rach_ac_class_cmd); install_element(BTS_NODE, &cfg_bts_ms_max_power_cmd); install_element(BTS_NODE, &cfg_bts_cell_resel_hyst_cmd); -- To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/24903 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Change-Id: Ia18c1dde4c001cb4d423f694f8bc146adfd77daf Gerrit-Change-Number: 24903 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210709/a01a7684/attachment.htm>