[MERGED] osmo-ttcn3-hacks[master]: Add BSSMAP SPDI definitions (speech/data indicator octets)

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Mar 21 22:26:02 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: Add BSSMAP SPDI definitions (speech/data indicator octets)
......................................................................


Add BSSMAP SPDI definitions (speech/data indicator octets)

Change-Id: I3b81ea995667a4c9ffaf0f6891766d5b5af20636
---
M library/BSSMAP_Templates.ttcn
1 file changed, 7 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/library/BSSMAP_Templates.ttcn b/library/BSSMAP_Templates.ttcn
index 5d13899..8156ca8 100644
--- a/library/BSSMAP_Templates.ttcn
+++ b/library/BSSMAP_Templates.ttcn
@@ -329,13 +329,19 @@
 const OCT1 ChRate_TCHForH := '0F'O;
 const OCT1 ChRate_TCHForH_nochg := '1F'O;
 
+const OCT1 Spdi_TCHF_FR  := '01'O;
+const OCT1 Spdi_TCHF_EFR := '11'O;
+const OCT1 Spdi_TCHF_AMR := '21'O;
+const OCT1 Spdi_TCHH_HR  := '05'O;
+const OCT1 Spdi_TCHH_AMR := '25'O;
+
 template (value) BSSMAP_IE_ChannelType ts_BSSMAP_IE_ChannelType := {
 	elementIdentifier := '0B'O,	/* overwritten */
 	lengthIndicator := 0,		/* overwritten */
 	speechOrDataIndicator := '0001'B,	/* speech */
 	spare1_4 := '0000'B,
 	channelRateAndType := ChRate_TCHF,
-	speechId_DataIndicator := '01'O	/* FRv1 */
+	speechId_DataIndicator := Spdi_TCHF_FR
 }
 
 template (value) BSSMAP_IE_ChannelType ts_BSSMAP_IE_ChannelTypeCTM modifies ts_BSSMAP_IE_ChannelType := {

-- 
To view, visit https://gerrit.osmocom.org/7436
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3b81ea995667a4c9ffaf0f6891766d5b5af20636
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list