Change in osmo-ttcn3-hacks[master]: library/PCUIF_Types: f_PCUIF_ver_INFO_PDCHMask_get() returns BIT8

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

laforge gerrit-no-reply at lists.osmocom.org
Mon Nov 2 09:00:39 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21000 )

Change subject: library/PCUIF_Types: f_PCUIF_ver_INFO_PDCHMask_get() returns BIT8
......................................................................

library/PCUIF_Types: f_PCUIF_ver_INFO_PDCHMask_get() returns BIT8

Change-Id: Ib8e497b596370d0b48e76e6e86c01f0c1d9c5df5
---
M bts/BTS_Tests.ttcn
M library/PCUIF_Types.ttcn
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index b1a6dac..533f65d 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -5662,7 +5662,7 @@
 	var PCUIF_send_data sd;
 
 	[] PCU.receive(t_SD_PCUIF(pcu_conn_id, tr_PCUIF_INFO_IND(bts_nr, ?))) -> value sd {
-		var bitstring pdch_mask := f_PCUIF_ver_INFO_PDCHMask_get(sd.data.u.info_ind, trx_nr);
+		var BIT8 pdch_mask := f_PCUIF_ver_INFO_PDCHMask_get(sd.data.u.info_ind, trx_nr);
 		if (substr(pdch_mask, g_chan_nr.tn, 1) != exp) {
 			repeat;
 		}
diff --git a/library/PCUIF_Types.ttcn b/library/PCUIF_Types.ttcn
index 86c6c2a..0e112dc 100644
--- a/library/PCUIF_Types.ttcn
+++ b/library/PCUIF_Types.ttcn
@@ -982,7 +982,7 @@
 }
 
 function f_PCUIF_ver_INFO_PDCHMask_get(in PCUIF_info_ind info, uint8_t trx_nr)
-return bitstring {
+return BIT8 {
 	if (PCUIF_Types.mp_pcuif_version >= 10) {
 		return info.trx.v10[trx_nr].pdch_mask;
 	} else {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21000
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: Ib8e497b596370d0b48e76e6e86c01f0c1d9c5df5
Gerrit-Change-Number: 21000
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201102/44156ae6/attachment.htm>


More information about the gerrit-log mailing list