Change in osmo-ttcn3-hacks[master]: library: fix t_RLCMAC_DlMacH: RRBP is always present

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

fixeria gerrit-no-reply at lists.osmocom.org
Sun May 10 20:50:00 UTC 2020


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


Change subject: library: fix t_RLCMAC_DlMacH: RRBP is always present
......................................................................

library: fix t_RLCMAC_DlMacH: RRBP is always present

This template is not (yet) used anywhere, but let's fix it
anyway to avoid possible confusion.

Change-Id: Ic819f2b0eb292170de73abc7e200d79fcf02a76c
Signed-off-by: Vadim Yanitskiy <axilirator at gmail.com>
---
M library/RLCMAC_Templates.ttcn
1 file changed, 5 insertions(+), 3 deletions(-)



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

diff --git a/library/RLCMAC_Templates.ttcn b/library/RLCMAC_Templates.ttcn
index bcd2b23..f2945eb 100644
--- a/library/RLCMAC_Templates.ttcn
+++ b/library/RLCMAC_Templates.ttcn
@@ -356,11 +356,13 @@
 		}
 	}
 
-	template DlMacHeader t_RLCMAC_DlMacH(template MacPayloadType pt, template MacRrbp rrbp, template
-uint3_t usf) := {
+	template DlMacHeader t_RLCMAC_DlMacH(template (present) MacPayloadType pt,
+					     template (present) boolean rrbp_valid,
+					     template (present) MacRrbp rrbp,
+					     template (present) uint3_t usf) := {
 		payload_type := pt,
 		rrbp := rrbp,
-		rrbp_valid := ispresent(rrbp),
+		rrbp_valid := rrbp_valid,
 		usf := usf
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18184
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: Ic819f2b0eb292170de73abc7e200d79fcf02a76c
Gerrit-Change-Number: 18184
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200510/a1e65043/attachment.htm>


More information about the gerrit-log mailing list