summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-19 21:20:43 +0700
committerlaforge <laforge@osmocom.org>2020-10-19 17:36:19 +0000
commit161858372a0166725c59e19c81c74bfe7fa3912c (patch)
tree0b24da072de3c2a9b72e183b9e82de91e71ef82f /library
parent52787bf97f8ee9f5bb3228c1c79e4bbb4591bad6 (diff)
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
Diffstat (limited to 'library')
-rw-r--r--library/L1CTL_Types.ttcn11
1 files changed, 9 insertions, 2 deletions
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 @@ module L1CTL_Types {
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 @@ module L1CTL_Types {
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 @@ module L1CTL_Types {
dm_est_req := {
tsc := tsc,
tch_mode := L1CTL_CHAN_MODE_SIGN,
- audio_mode := t_L1CTL_AudioModeNone
+ audio_mode := t_L1CTL_AudioModeFwd
}
}
}