Change in osmo-ttcn3-hacks[master]: fix length of frame generated by f_TC_chan_act_encr

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

Stefan Sperling gerrit-no-reply at lists.osmocom.org
Wed Jul 25 14:52:45 UTC 2018


Stefan Sperling has uploaded this change for review. ( https://gerrit.osmocom.org/10159


Change subject: fix length of frame generated by f_TC_chan_act_encr
......................................................................

fix length of frame generated by f_TC_chan_act_encr

Because trxconn now requires frames of a minimum size some
BTS tests which send unpadded frames with a short payload
have started to fail.

Extend the payload size generated by f_TC_chan_act_encr()
to make these tests pass again:
TC_chan_act_a51
TC_chan_act_a52
TC_chan_act_a53

Found by: Vadim Yanitskiy
Related: OS#3415

Change-Id: I0f9a40503a4ed4fce10d9655f845ac49d33f4041
---
M bts/BTS_Tests.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 4f0f0ef..941be28 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -3658,7 +3658,7 @@
 	/* now we actually need to transmit some data both ways to check if the encryption works */
 	var L1ctlDlMessage dl;
 
-	var octetstring l3 := f_rnd_octstring(16);
+	var octetstring l3 := f_rnd_octstring(20);
 	var RslLinkId link_id := valueof(ts_RslLinkID_DCCH(0));
 
 	/* send UNITDATA_REQ from BTS to MS and expect it to arrive */

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f9a40503a4ed4fce10d9655f845ac49d33f4041
Gerrit-Change-Number: 10159
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180725/d6509555/attachment.htm>


More information about the gerrit-log mailing list