library: add PADDING attributes to SI3/SI4 Rest Octets

Change-Id: Icce6d1e565edc6dce51310364079fc3840a18d45
Signed-off-by: Vadim Yanitskiy <axilirator@gmail.com>
diff --git a/library/GSM_RestOctets.ttcn b/library/GSM_RestOctets.ttcn
index da3478a..045d177 100644
--- a/library/GSM_RestOctets.ttcn
+++ b/library/GSM_RestOctets.ttcn
@@ -39,6 +39,10 @@
 	variant (iu_mode_ind) "PRESENCE(gprs_ind.presence = '0'B)"
 	/* SI21 field is only present if 'WHERE' information is not present. */
 	variant (si21_ind) "PRESENCE(sched_where.presence = '0'B)"
+
+	/* The TITAN's RAW encoder generates an octet-aligned octetstring,
+	 * so we should make sure that unused bits contain proper padding. */
+	variant "PADDING(yes), PADDING_PATTERN('00101011'B)"
 };
 
 /* 10.5.2.35 SI 4 Rest Octets (O & S) */
@@ -52,6 +56,10 @@
 } with {
 	variant (s_presence) "CSN.1 L/H"
 	variant (s) "PRESENCE(s_presence = '1'B)"
+
+	/* The TITAN's RAW encoder generates an octet-aligned octetstring,
+	 * so we should make sure that unused bits contain proper padding. */
+	variant "PADDING(yes), PADDING_PATTERN('00101011'B)"
 };
 
 /* Selection Parameters */