<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20754">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">library/L1CTL_Types: turn L1ctlTchMode into an enumerated type<br><br>Change-Id: Ib547b5984078bc6c6a66addb4622a471487c7342<br>Related: OS#4799<br>---<br>M library/L1CTL_Types.ttcn<br>1 file changed, 8 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/L1CTL_Types.ttcn b/library/L1CTL_Types.ttcn</span><br><span>index 44f0490..5c90966 100644</span><br><span>--- a/library/L1CTL_Types.ttcn</span><br><span>+++ b/library/L1CTL_Types.ttcn</span><br><span>@@ -140,7 +140,13 @@</span><br><span>      } with { variant "" };</span><br><span> </span><br><span>         /* gsm48_chan_mode */</span><br><span style="color: hsl(0, 100%, 40%);">-   type uint8_t L1ctlTchMode;</span><br><span style="color: hsl(120, 100%, 40%);">+    type enumerated L1ctlTchMode {</span><br><span style="color: hsl(120, 100%, 40%);">+                L1CTL_CHAN_MODE_SIGN            ('00000000'B),  /* Signalling */</span><br><span style="color: hsl(120, 100%, 40%);">+              L1CTL_CHAN_MODE_SPEECH_V1       ('00000001'B),  /* FR or HR codec */</span><br><span style="color: hsl(120, 100%, 40%);">+          L1CTL_CHAN_MODE_SPEECH_V2       ('00100001'B),  /* EFR codec */</span><br><span style="color: hsl(120, 100%, 40%);">+               L1CTL_CHAN_MODE_SPEECH_V3       ('01000001'B)   /* AMR codec */</span><br><span style="color: hsl(120, 100%, 40%);">+               /* Other modes are not supported for now */</span><br><span style="color: hsl(120, 100%, 40%);">+   } with { variant "FIELDLENGTH(8)" };</span><br><span> </span><br><span>   type record L1ctlAudioMode {</span><br><span>                 BIT4            padding,</span><br><span>@@ -572,7 +578,7 @@</span><br><span>               payload := {</span><br><span>                         dm_est_req := {</span><br><span>                              tsc := tsc,</span><br><span style="color: hsl(0, 100%, 40%);">-                             tch_mode := 0,</span><br><span style="color: hsl(120, 100%, 40%);">+                                tch_mode := L1CTL_CHAN_MODE_SIGN,</span><br><span>                            audio_mode := t_L1CTL_AudioModeNone</span><br><span>                  }</span><br><span>            }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20754">change 20754</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20754"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ib547b5984078bc6c6a66addb4622a471487c7342 </div>
<div style="display:none"> Gerrit-Change-Number: 20754 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>