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

neels gerrit-no-reply at lists.osmocom.org
Mon Jun 21 03:30:03 UTC 2021


neels has uploaded this change for review. ( 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(-)



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

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: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210621/7131cf57/attachment.htm>


More information about the gerrit-log mailing list