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.orgReview at https://gerrit.osmocom.org/6086 L3_Templates: ts_Bcap_voice(): Include speech version octets Change-Id: Iff48bff6df6fa7dae3bc8467be4d75b0305f68ad --- M library/L3_Templates.ttcn 1 file changed, 20 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/86/6086/1 diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn index 7836555..5816ab9 100644 --- a/library/L3_Templates.ttcn +++ b/library/L3_Templates.ttcn @@ -435,6 +435,19 @@ digits := digits } +type integer SpeechVer; + +template (value) Speech_AuxiliarySpeech ts_SpeechAux(SpeechVer ver, BIT1 suffix) := { + speechVersionIndication := int2bit(ver-1,3) & suffix, + spare1_1 := '0'B, + cTM_or_Spare := '0'B, + coding := '0'B, + extension_octet_3a_3b := '0'B +} + +template (value) Speech_AuxiliarySpeech ts_SpeechAuxFR(SpeechVer ver) := ts_SpeechAux(ver, '0'B); +template (value) Speech_AuxiliarySpeech ts_SpeechAuxHR(SpeechVer ver) := ts_SpeechAux(ver, '1'B); + template (value) BearerCapability_TLV ts_Bcap_voice := { elementIdentifier := '04'O, lengthIndicator := 0, /* overwritten */ @@ -444,7 +457,13 @@ codingStandard := '0'B, radioChannelRequirement := '11'B, /* FR preferred */ extension_octet_3 := '0'B, /* overwritten */ - speech_aux_3a_3b := omit + speech_aux_3a_3b := { + valueof(ts_SpeechAuxHR(3)), + valueof(ts_SpeechAuxFR(3)), + valueof(ts_SpeechAuxFR(2)), + valueof(ts_SpeechAuxFR(1)), + valueof(ts_SpeechAuxHR(1)) + } }, octet4 := omit, octet5 := omit, -- To view, visit https://gerrit.osmocom.org/6086 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iff48bff6df6fa7dae3bc8467be4d75b0305f68ad Gerrit-PatchSet: 1 Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Owner: Harald Welte <laforge at gnumonks.org>