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.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20754 ) Change subject: library/L1CTL_Types: turn L1ctlTchMode into an enumerated type ...................................................................... library/L1CTL_Types: turn L1ctlTchMode into an enumerated type Change-Id: Ib547b5984078bc6c6a66addb4622a471487c7342 Related: OS#4799 --- M library/L1CTL_Types.ttcn 1 file changed, 8 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/54/20754/1 diff --git a/library/L1CTL_Types.ttcn b/library/L1CTL_Types.ttcn index 44f0490..5c90966 100644 --- a/library/L1CTL_Types.ttcn +++ b/library/L1CTL_Types.ttcn @@ -140,7 +140,13 @@ } with { variant "" }; /* gsm48_chan_mode */ - type uint8_t L1ctlTchMode; + type enumerated L1ctlTchMode { + L1CTL_CHAN_MODE_SIGN ('00000000'B), /* Signalling */ + L1CTL_CHAN_MODE_SPEECH_V1 ('00000001'B), /* FR or HR codec */ + L1CTL_CHAN_MODE_SPEECH_V2 ('00100001'B), /* EFR codec */ + L1CTL_CHAN_MODE_SPEECH_V3 ('01000001'B) /* AMR codec */ + /* Other modes are not supported for now */ + } with { variant "FIELDLENGTH(8)" }; type record L1ctlAudioMode { BIT4 padding, @@ -572,7 +578,7 @@ payload := { dm_est_req := { tsc := tsc, - tch_mode := 0, + tch_mode := L1CTL_CHAN_MODE_SIGN, audio_mode := t_L1CTL_AudioModeNone } } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20754 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: Ib547b5984078bc6c6a66addb4622a471487c7342 Gerrit-Change-Number: 20754 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/36370269/attachment.htm>