Change in osmo-ttcn3-hacks[master]: bts: fix TC_sacch_chan_act_ho_*: missing Handover Reference IE

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 gerrit-no-reply at lists.osmocom.org
Tue Nov 3 20:37:05 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21036 )


Change subject: bts: fix TC_sacch_chan_act_ho_*: missing Handover Reference IE
......................................................................

bts: fix TC_sacch_chan_act_ho_*: missing Handover Reference IE

The tests still fail, but at least not as prematurely as before.

Change-Id: I3f58ed30f7f2e92d2d1694769a4214a6d257f8a9
---
M bts/BTS_Tests.ttcn
1 file changed, 19 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/36/21036/1

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index a2394a0..0f4da53 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -1238,8 +1238,15 @@
 
 	/* Step 1: Activate ASYNC HO channel without MS power IE */
 
+	var integer ho_ref := oct2int(f_rnd_octstring(1));
+	var RSL_IE ho_ref_ie := valueof(t_RSL_IE(RSL_IE_HANDO_REF,
+					RSL_IE_Body:{ handover_ref := ho_ref }));
+	var RSL_IE_List addl_ies := {
+		ho_ref_ie
+		};
+
 	/* Activate channel on BTS side */
-	f_rsl_chan_act(g_pars.chan_mode, act_type := t_RSL_IE_ActType_HO_ASYNC);
+	f_rsl_chan_act(g_pars.chan_mode, more_ies := addl_ies, act_type := t_RSL_IE_ActType_HO_ASYNC);
 	/* don't perform immediate assignment here, as we're testing non-IA case */
 	/* enable dedicated mode */
 	f_l1ctl_est_dchan(L1CTL, g_pars);
@@ -1254,7 +1261,8 @@
 	/* Step 2: Activate ASYNC HO channel with MS power IE */
 
 	/* Activate channel on BTS side */
-	var RSL_IE_List addl_ies := {
+	addl_ies := {
+		ho_ref_ie,
 		valueof(t_RSL_IE(RSL_IE_MS_POWER, RSL_IE_Body:{ms_power := ts_RSL_IE_MS_Power(0)}))
 		};
 	f_rsl_chan_act(g_pars.chan_mode, more_ies := addl_ies, act_type := t_RSL_IE_ActType_HO_ASYNC);
@@ -1294,8 +1302,15 @@
 
 	/* Step 1: Activate SYNC HO channel without MS power IE */
 
+	var integer ho_ref := oct2int(f_rnd_octstring(1));
+	var RSL_IE ho_ref_ie := valueof(t_RSL_IE(RSL_IE_HANDO_REF,
+					RSL_IE_Body:{ handover_ref := ho_ref }));
+	addl_ies := {
+		ho_ref_ie
+		};
+
 	/* Activate channel on BTS side */
-	f_rsl_chan_act(g_pars.chan_mode, act_type := t_RSL_IE_ActType_HO_SYNC);
+	f_rsl_chan_act(g_pars.chan_mode, more_ies := addl_ies, act_type := t_RSL_IE_ActType_HO_SYNC);
 	/* don't perform immediate assignment here, as we're testing non-IA case */
 	/* enable dedicated mode */
 	f_l1ctl_est_dchan(L1CTL, g_pars);
@@ -1311,6 +1326,7 @@
 
 	/* Activate channel on BTS side */
 	addl_ies := {
+		ho_ref_ie,
 		valueof(t_RSL_IE(RSL_IE_MS_POWER, RSL_IE_Body:{ms_power := ts_RSL_IE_MS_Power(0)}))
 		};
 	f_rsl_chan_act(g_pars.chan_mode, more_ies := addl_ies, act_type := t_RSL_IE_ActType_HO_SYNC);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21036
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I3f58ed30f7f2e92d2d1694769a4214a6d257f8a9
Gerrit-Change-Number: 21036
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201103/0511e558/attachment.htm>


More information about the gerrit-log mailing list