Change in osmo-ttcn3-hacks[master]: BSSMAP: add encr params to ts_BSSMAP_HandoverRequest

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

laforge gerrit-no-reply at lists.osmocom.org
Mon Jun 21 20:18:36 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24730 )

Change subject: BSSMAP: add encr params to ts_BSSMAP_HandoverRequest
......................................................................

BSSMAP: add encr params to ts_BSSMAP_HandoverRequest

Related: SYS#5324
Change-Id: Idadc0e0a7a960a0ef88b3dca97c4fbaa16975b61
---
M library/BSSMAP_Templates.ttcn
1 file changed, 15 insertions(+), 5 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  dexter: Looks good to me, but someone else must approve
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/library/BSSMAP_Templates.ttcn b/library/BSSMAP_Templates.ttcn
index c6698b1..1dcbef1 100644
--- a/library/BSSMAP_Templates.ttcn
+++ b/library/BSSMAP_Templates.ttcn
@@ -477,7 +477,15 @@
 	key := kc
 }
 
+template BSSMAP_IE_ChosenEncryptionAlgorithm ts_BSSMAP_IE_ChosenEncryptionAlgorithm(OCT1 algorithmIdentifier) := {
+	elementIdentifier := '2C'O,
+	algorithmIdentifier := algorithmIdentifier
+}
 
+template BSSMAP_IE_ChosenEncryptionAlgorithm tr_BSSMAP_IE_ChosenEncryptionAlgorithm(template OCT1 algorithmIdentifier := ?) := {
+	elementIdentifier := '2C'O,
+	algorithmIdentifier := algorithmIdentifier
+}
 
 template (value) BSSMAP_IE_CircuitIdentityCode ts_BSSMAP_IE_CIC(uint11_t span, uint5_t ts) := {
 	elementIdentifier := '01'O,	/* overwritten */
@@ -956,7 +964,10 @@
 		template BSSMAP_IE_AoIP_TransportLayerAddress aoip_tla := omit,
 		template BSSMAP_IE_CellIdentifier cell_id_target := ts_CellID_LAC_CI(1, 0),
 		template BSSMAP_IE_CellIdentifier cell_id_source := ts_CellID_LAC_CI(1, 1),
-		template (omit) BSSMAP_oldToNewBSSIEs oldToNewBSSIEs := omit
+		template (omit) BSSMAP_oldToNewBSSIEs oldToNewBSSIEs := omit,
+		template BSSMAP_IE_EncryptionInformation encryptionInformation := ts_BSSMAP_IE_EncrInfo('0000000000000000'O,'01'O),
+		template (omit) BSSMAP_IE_ChosenEncryptionAlgorithm chosenEncryptionAlgorithm := omit,
+		template (omit) BSSMAP_IE_KC128 kC128 := omit
 		)
 modifies ts_BSSAP_BSSMAP := {
 	pdu := {
@@ -964,8 +975,7 @@
 			handoverRequest := {
 				messageType := '10'O,
 				channelType := ts_BSSMAP_IE_ChannelType,
-				encryptionInformation :=
-					ts_BSSMAP_IE_EncrInfo('0000000000000000'O,'01'O),
+				encryptionInformation := encryptionInformation,
 				classmarkInformationType := {
 					classmarkInformationType1 := {
 						elementIdentifier := '1D'O,
@@ -989,7 +999,7 @@
 				groupCallReference := omit,
 				talkerFlag := omit,
 				configurationEvolutionIndication := omit,
-				chosenEncryptionAlgorithm := omit,
+				chosenEncryptionAlgorithm := chosenEncryptionAlgorithm,
 				oldToNewBSSInfo := f_ts_BSSMAP_IE_OldToNewBSSInfo(oldToNewBSSIEs),
 				lSAInformation := omit,
 				lSAAccessControlSuppression := omit,
@@ -1002,7 +1012,7 @@
 				aoIPTransportLayer := aoip_tla,
 				codecList := omit,
 				callIdentifier := omit,
-				kC128 := omit,
+				kC128 := kC128,
 				globalCallReference := omit,
 				lCLS_Configuration := omit,
 				connectionStatusControl := omit

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24730
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: Idadc0e0a7a960a0ef88b3dca97c4fbaa16975b61
Gerrit-Change-Number: 24730
Gerrit-PatchSet: 5
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210621/0b2bfc59/attachment.htm>


More information about the gerrit-log mailing list