RSL_Types: Fix coding of RSL_IE_ChanNeeded and matching if PAGING_CMD
diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index f073fbc..439dda3 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -229,6 +229,11 @@
 		payload := pl
 	}
 
+	template RSL_LV tr_RSL_LV(template octetstring pl) := {
+		len := ?,
+		payload := pl
+	}
+
 	type record RSL_L16V {
 		uint16_t	len,
 		octetstring	payload
@@ -398,7 +403,7 @@
 		RSL_CHANNEED_SDCCH	('01'B),
 		RSL_CHANNEED_TCH_F	('10'B),
 		RSL_CHANNEED_TCH_ForH	('11'B)
-	}
+	} with { variant "FIELDLENGTH(2)" };
 	type record RSL_IE_ChanNeeded {
 		uint6_t		reserved,
 		RSL_ChanNeeded	chan_needed
@@ -791,7 +796,7 @@
 		ies := {
 			tr_RSL_IE(RSL_IE_Body:{chan_nr := t_RslChanNr_PCH_AGCH(tn)}),
 			tr_RSL_IE(RSL_IE_Body:{paging_group := ?}),
-			tr_RSL_IE(RSL_IE_Body:{ms_identity := ts_RSL_LV(identity)}),
+			tr_RSL_IE(RSL_IE_Body:{ms_identity := tr_RSL_LV(identity)}),
 			* /* opt: channel needed, eMLPP prio */
 		}
 	}