Change in osmo-ttcn3-hacks[master]: library/L1CTL_Types: use traffic forwarding mode by default

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

fixeria gerrit-no-reply at lists.osmocom.org
Mon Oct 19 14:25:20 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20788 )


Change subject: library/L1CTL_Types: use traffic forwarding mode by default
......................................................................

library/L1CTL_Types: use traffic forwarding mode by default

Calypso PHY (unlike trxcon) needs to be explicitly configured to
enable forwarding of the TCH traffic.  Otherwise it's handled
internally by the DSP and routed to/from the built-in speaker/mic.

Change-Id: I5b9ca5683627716868e85dc33f91d8ca4824cd61
Related: OS#4799
---
M library/L1CTL_Types.ttcn
1 file changed, 9 insertions(+), 2 deletions(-)



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

diff --git a/library/L1CTL_Types.ttcn b/library/L1CTL_Types.ttcn
index 7e7c9cf..03ec23f 100644
--- a/library/L1CTL_Types.ttcn
+++ b/library/L1CTL_Types.ttcn
@@ -169,6 +169,13 @@
 
 	template (value) L1ctlAudioMode t_L1CTL_AudioModeNone := { '0000'B, false, false, false, false };
 
+	/* Traffic forwarding mode (see TRAFFIC.{req,cnf,ind} messages) */
+	template (value) L1ctlAudioMode t_L1CTL_AudioModeFwd
+	modifies t_L1CTL_AudioModeNone := {
+		tx_traffic_req := true,
+		rx_traffic_ind := true
+	};
+
 	type record L1ctlTchModeConf {
 		L1ctlTchMode	tch_mode,
 		L1ctlAudioMode	audio_mode,
@@ -517,7 +524,7 @@
 
 	template (value) L1ctlUlMessage
 	ts_L1CTL_TCH_MODE_REQ(template (value) L1ctlTchMode tch_mode := L1CTL_CHAN_MODE_SIGN,
-			      template (value) L1ctlAudioMode audio_mode := t_L1CTL_AudioModeNone,
+			      template (value) L1ctlAudioMode audio_mode := t_L1CTL_AudioModeFwd,
 			      template (value) L1ctlLoopMode loop_mode := L1CTL_LOOP_MODE_OPEN) := {
 		header := ts_L1ctlHeader(L1CTL_TCH_MODE_REQ),
 		ul_info := omit,
@@ -618,7 +625,7 @@
 			dm_est_req := {
 				tsc := tsc,
 				tch_mode := L1CTL_CHAN_MODE_SIGN,
-				audio_mode := t_L1CTL_AudioModeNone
+				audio_mode := t_L1CTL_AudioModeFwd
 			}
 		}
 	}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20788
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: I5b9ca5683627716868e85dc33f91d8ca4824cd61
Gerrit-Change-Number: 20788
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201019/058fdfb2/attachment.htm>


More information about the gerrit-log mailing list