hnbap: Add tr_HNBAP_HNBRegisterReject

Change-Id: Ide006cac4fcdc062614f53fb95970feb51d63731
Related: OS#5656
diff --git a/library/hnbap/HNBAP_Templates.ttcn b/library/hnbap/HNBAP_Templates.ttcn
index b199799..0e62291 100644
--- a/library/hnbap/HNBAP_Templates.ttcn
+++ b/library/hnbap/HNBAP_Templates.ttcn
@@ -132,6 +132,26 @@
 }
 
 /* 9.1.5 HNB REGISTER REJECT */
+template (present) HNBAP_PDU
+tr_HNBAP_HNBRegisterReject(template (present) Cause cause := ?) := {
+	unsuccessfulOutcome := {
+		procedureCode := id_HNBRegister,
+		criticality := reject,
+		value_ := {
+			HNBRegisterReject := {
+				protocolIEs := {
+					{
+						id := HNBAP_Constants.id_Cause,
+						criticality := ignore,
+						value_ := { Cause := cause }
+					}
+				},
+				protocolExtensions := * /* TODO: CriticalityDiagnostics, BackoffTimer */
+			}
+		}
+	}
+}
+
 template (value) HNBAP_PDU
 ts_HNBAP_HNBRegisterReject(template (value) Cause cause) := {
 	unsuccessfulOutcome := {