Change in osmo-ttcn3-hacks[master]: MSC_Tests: Remove duplicated structures from BSSMAP_Templates

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

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Tue May 21 16:35:27 UTC 2019


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/14120


Change subject: MSC_Tests: Remove duplicated structures from BSSMAP_Templates
......................................................................

MSC_Tests: Remove duplicated structures from BSSMAP_Templates

Change-Id: Ia82b65fe7e53cc0ab73df94b844b9b85aba9468b
---
M msc/MSC_Tests.ttcn
1 file changed, 0 insertions(+), 138 deletions(-)



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

diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index f6ab439..b64b872 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -330,144 +330,6 @@
 	activate(as_Tguard_direct());
 }
 
-template PDU_BSSAP ts_BSSAP_BSSMAP := {
-	discriminator := '0'B,
-	spare := '0000000'B,
-	dlci := omit,
-	lengthIndicator := 0,	/* overwritten by codec */
-	pdu := ?
-}
-
-template PDU_BSSAP tr_BSSAP_BSSMAP := {
-	discriminator := '0'B,
-	spare := '0000000'B,
-	dlci := omit,
-	lengthIndicator := ?,
-	pdu := {
-		bssmap := ?
-	}
-}
-
-
-type integer BssmapCause;
-
-template (value) BSSMAP_IE_Cause ts_BSSMAP_IE_Cause(BssmapCause val) := {
-	elementIdentifier := '04'O,
-	lengthIndicator := 0,
-	causeValue := int2bit(val, 7),
-	extensionCauseValue := '0'B,
-	spare1 := omit
-}
-
-template (value) PDU_BSSAP ts_BSSMAP_Reset(BssmapCause cause) modifies ts_BSSAP_BSSMAP := {
-	pdu := {
-		bssmap := {
-			reset := {
-				messageType := '30'O,
-				cause := ts_BSSMAP_IE_Cause(cause),
-				a_InterfaceSelectorForReset := omit
-			}
-		}
-	}
-}
-
-template (value) PDU_BSSAP ts_BSSMAP_ResetAck modifies ts_BSSAP_BSSMAP := {
-	pdu := {
-		bssmap := {
-			resetAck := {
-				messageType := '31'O,
-				a_InterfaceSelectorForReset := omit
-			}
-		}
-	}
-}
-
-template PDU_BSSAP tr_BSSMAP_ResetAck modifies tr_BSSAP_BSSMAP := {
-	pdu := {
-		bssmap := {
-			resetAck := {
-				messageType := '31'O,
-				a_InterfaceSelectorForReset := *
-			}
-		}
-	}
-}
-
-template BSSMAP_IE_CellIdentifier ts_BSSMAP_IE_CellID := {
-	elementIdentifier := '05'O,
-	lengthIndicator := 0,
-	cellIdentifierDiscriminator := '0000'B,
-	spare1_4 := '0000'B,
-	cellIdentification := ?
-}
-
-type uint16_t BssmapLAC;
-type uint16_t BssmapCI;
-
-/*
-template BSSMAP_IE_CellIdentifier ts_CellId_CGI(mcc, mnc, lac, ci)
-modifies ts_BSSMAP_IE_CellID := {
-	cellIdentification := {
-		cI_LAC_CGI := {
-			mnc_mcc := FIXME,
-			lac := int2oct(lac, 2),
-			ci := int2oct(ci, 2)
-		}
-	}
-}
-*/
-
-template BSSMAP_IE_CellIdentifier ts_CellID_LAC_CI(BssmapLAC lac, BssmapCI ci)
-modifies ts_BSSMAP_IE_CellID := {
-	cellIdentification := {
-		cI_LAC_CI := {
-			lac := int2oct(lac, 2),
-			ci := int2oct(ci, 2)
-		}
-	}
-}
-
-template BSSMAP_IE_CellIdentifier ts_CellId_CI(BssmapCI ci)
-modifies ts_BSSMAP_IE_CellID := {
-	cellIdentification := {
-		cI_CI := int2oct(ci, 2)
-	}
-}
-
-template BSSMAP_IE_CellIdentifier ts_CellId_none
-modifies ts_BSSMAP_IE_CellID := {
-	cellIdentification := {
-		cI_noCell := ''O
-	}
-}
-
-
-template BSSMAP_IE_Layer3Information ts_BSSMAP_IE_L3Info(octetstring l3info) := {
-	elementIdentifier := '17'O,
-	lengthIndicator := 0,
-	layer3info := l3info
-}
-
-template PDU_BSSAP ts_BSSMAP_ComplL3(BSSMAP_IE_CellIdentifier cell_id, octetstring l3_info)
-modifies ts_BSSAP_BSSMAP := {
-	pdu := {
-		bssmap := {
-			completeLayer3Information := {
-				messageType := '57'O,
-				cellIdentifier := cell_id,
-				layer3Information := ts_BSSMAP_IE_L3Info(l3_info),
-				chosenChannel := omit,
-				lSAIdentifier := omit,
-				aPDU := omit,
-				codecList := omit,
-				redirectAttemptFlag := omit,
-				sendSequenceNumber := omit,
-				iMSI := omit
-			}
-		}
-	}
-}
-
 type function void_fn(charstring id, BSC_ConnHdlrPars pars) runs on BSC_ConnHdlr;
 
 /* FIXME: move into BSC_ConnectionHandler? */

-- 
To view, visit https://gerrit.osmocom.org/14120
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia82b65fe7e53cc0ab73df94b844b9b85aba9468b
Gerrit-Change-Number: 14120
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190521/fbb7d4b5/attachment.htm>


More information about the gerrit-log mailing list