[PATCH] osmo-ttcn3-hacks[master]: RSL: Add tr_RSL_ChanMode

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 21:49:22 UTC 2018


Review at  https://gerrit.osmocom.org/7437

RSL: Add tr_RSL_ChanMode

Change-Id: I938b8898db1cd9638cf2858b3b593fa3fd39bf1e
---
M library/RSL_Types.ttcn
1 file changed, 10 insertions(+), 0 deletions(-)


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

diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index f8b66c6..f26a1d8 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -332,6 +332,16 @@
 		ch_rate_type := t,
 		coding_alg_rate := alg
 	}
+	template RSL_IE_ChannelMode tr_RSL_ChanMode(template RSL_ChanRateType t,
+						    template RSL_SpeechAlgo alg) := {
+		len := ?,
+		reserved := '000000'B,
+		dtx_d := ?,
+		dtx_u := ?,
+		spd_ind := RSL_SPDI_SPEECH,
+		ch_rate_type := t,
+		coding_alg_rate := alg
+	}
 
 	/* 9.3.4 */
 	type record RSL_IE_BS_Power {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I938b8898db1cd9638cf2858b3b593fa3fd39bf1e
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list