Change in osmo-bsc[master]: HO: introduce T7, T8, T101 timers

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu May 24 16:59:49 UTC 2018


Neels Hofmeyr has uploaded this change for review. ( https://gerrit.osmocom.org/9291


Change subject: HO: introduce T7, T8, T101 timers
......................................................................

HO: introduce T7, T8, T101 timers

Will be used in upcoming inter-BSC handover.

Change-Id: If9ecccc793426d214019f299b19d6ffa5a186546
---
M include/osmocom/bsc/gsm_data.h
M src/libbsc/bsc_vty.c
M src/libbsc/net_init.c
3 files changed, 20 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/91/9291/1

diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index 5ba4362..aee7c5e 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -1174,6 +1174,9 @@
 #define GSM_T3119_DEFAULT 10
 #define GSM_T3122_DEFAULT 10
 #define GSM_T3141_DEFAULT 10
+#define GSM_T7_DEFAULT 10	/* inter-BSC MO Handover first timeout, in seconds */
+#define GSM_T8_DEFAULT 10	/* inter-BSC MO Handover second timeout, in seconds */
+#define GSM_T101_DEFAULT 10	/* inter-BSC MT Handover timeout, in seconds */
 
 struct gsm_tz {
 	int override; /* if 0, use system's time zone instead. */
@@ -1210,7 +1213,7 @@
 
 	/* timer values */
 	int T3101;
-	int T3103;
+	int T3103; /*< Handover timeout */
 	int T3105;
 	int T3107;
 	int T3109;
@@ -1221,6 +1224,9 @@
 	int T3119;
 	int T3122;
 	int T3141;
+	int T7; /*< inter-BSC handover MO timeout from Handover Required to Handover Command */
+	int T8; /*< inter-BSC handover MO timeout from Handover Command to final Clear*/
+	int T101; /*< inter-BSC handover MT timeout from Handover Request to Handover Accept */
 
 	enum gsm_chan_t ctype_by_chreq[_NUM_CHREQ_T];
 
diff --git a/src/libbsc/bsc_vty.c b/src/libbsc/bsc_vty.c
index e53a14f..ee00d04 100644
--- a/src/libbsc/bsc_vty.c
+++ b/src/libbsc/bsc_vty.c
@@ -1001,6 +1001,10 @@
 	VTY_OUT_TIMER(3119);
 	VTY_OUT_TIMER(3122);
 	VTY_OUT_TIMER(3141);
+	VTY_OUT_TIMER(7);
+	VTY_OUT_TIMER(8);
+	VTY_OUT_TIMER(101);
+
 	if (!gsmnet->dyn_ts_allow_tch_f)
 		vty_out(vty, " dyn_ts_allow_tch_f 0%s", VTY_NEWLINE);
 	if (gsmnet->tz.override != 0) {
@@ -1898,6 +1902,9 @@
 DECLARE_TIMER(3119, "Currently not used")
 DECLARE_TIMER(3122, "Default waiting time (seconds) after IMM ASS REJECT")
 DECLARE_TIMER(3141, "Currently not used")
+DECLARE_TIMER(7, "Set the outgoing inter-BSC Handover timeout, from Handover Required to Handover Command")
+DECLARE_TIMER(8, "Set the outgoing inter-BSC Handover timeout, from Handover Command to final Clear")
+DECLARE_TIMER(101, "Set the incoming inter-BSC Handover timeout, from Handover Request to Accept")
 
 DEFUN_DEPRECATED(cfg_net_dtx,
 		 cfg_net_dtx_cmd,
@@ -4823,6 +4830,9 @@
 	install_element(GSMNET_NODE, &cfg_net_T3119_cmd);
 	install_element(GSMNET_NODE, &cfg_net_T3122_cmd);
 	install_element(GSMNET_NODE, &cfg_net_T3141_cmd);
+	install_element(GSMNET_NODE, &cfg_net_T7_cmd);
+	install_element(GSMNET_NODE, &cfg_net_T8_cmd);
+	install_element(GSMNET_NODE, &cfg_net_T101_cmd);
 	install_element(GSMNET_NODE, &cfg_net_dtx_cmd);
 	install_element(GSMNET_NODE, &cfg_net_pag_any_tch_cmd);
 	/* See also handover commands added on net level from handover_vty.c */
diff --git a/src/libbsc/net_init.c b/src/libbsc/net_init.c
index f03a2e1..d8b2093 100644
--- a/src/libbsc/net_init.c
+++ b/src/libbsc/net_init.c
@@ -89,6 +89,9 @@
 	net->T3119 = GSM_T3119_DEFAULT;
 	net->T3122 = GSM_T3122_DEFAULT;
 	net->T3141 = GSM_T3141_DEFAULT;
+	net->T7 = GSM_T7_DEFAULT;
+	net->T8 = GSM_T8_DEFAULT;
+	net->T101 = GSM_T101_DEFAULT;
 
 	net->ho = ho_cfg_init(net, NULL);
 	net->hodec2.congestion_check_interval_s = HO_CFG_CONGESTION_CHECK_DEFAULT;

-- 
To view, visit https://gerrit.osmocom.org/9291
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If9ecccc793426d214019f299b19d6ffa5a186546
Gerrit-Change-Number: 9291
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180524/d61e770d/attachment.htm>


More information about the gerrit-log mailing list