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
This commit is contained in:
Vadim Yanitskiy 2020-10-19 21:20:43 +07:00 committed by laforge
parent 52787bf97f
commit 161858372a
1 changed files with 9 additions and 2 deletions

View File

@ -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
}
}
}