Change in osmo-ttcn3-hacks[master]: library/GSM_RR_Types.ttcn: use 'CSN.1 L/H' attribute where needed

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
Mon Apr 27 16:56:41 UTC 2020


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


Change subject: library/GSM_RR_Types.ttcn: use 'CSN.1 L/H' attribute where needed
......................................................................

library/GSM_RR_Types.ttcn: use 'CSN.1 L/H' attribute where needed

Thanks to Harald, TITAN's RAW codec now supports the L/H syntax.

Change-Id: I279901aeffd09de071d274944cd0f1a93d711f85
---
M library/GSM_RR_Types.ttcn
1 file changed, 7 insertions(+), 6 deletions(-)



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

diff --git a/library/GSM_RR_Types.ttcn b/library/GSM_RR_Types.ttcn
index 9d71f80..5478754 100644
--- a/library/GSM_RR_Types.ttcn
+++ b/library/GSM_RR_Types.ttcn
@@ -402,11 +402,11 @@
 */
 	};
 	type record SecondPartAssign {
-		BIT1		r99, /* H / L */
+		BIT1		r99, /* L / H */
 		BIT1		presence optional,
 		BIT5		ext_ra optional
 	} with {
-		/* TODO: use 'CSN.1 L/H' attribute here */
+		variant (r99) "CSN.1 L/H"
 		variant (presence) "PRESENCE(r99 = '1'B)" /* H */
 		variant (ext_ra) "PRESENCE(presence = '1'B)"
 	};
@@ -507,7 +507,9 @@
 	};
 	type record IaRestOctLL {
 		BIT1		compressed_irat_ho_info_ind
-	} with { variant "" };
+	} with {
+		variant (compressed_irat_ho_info_ind) "CSN.1 L/H"
+	};
 
 
 	type record of AccessTechnologiesRequest
@@ -647,6 +649,7 @@
 		IaRestOctHL	hl optional,
 		IaRestOctHH	hh optional
 	} with {
+		variant (presence) "CSN.1 L/H"
 		variant (ll) "PRESENCE(presence = '00'B)"
 		variant (lh) "PRESENCE(presence = '01'B)"
 		variant (hl) "PRESENCE(presence = '10'B)"
@@ -928,9 +931,7 @@
 				rest_octets := {
 					presence := '00'B, /* LL */
 					ll := {
-						/* Compressed INTER RAT HO INFO: shall not be used (L)
-						 * TODO: use variant "CSN.1 L/H" to avoid confusion. */
-						compressed_irat_ho_info_ind := '1'B
+						compressed_irat_ho_info_ind := '0'B /* L */
 					},
 					lh := omit, hl := omit, hh := omit
 				}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17957
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: I279901aeffd09de071d274944cd0f1a93d711f85
Gerrit-Change-Number: 17957
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/20200427/97590018/attachment.htm>


More information about the gerrit-log mailing list