<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18012">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">library: System Information: use RestOctets where possible<br><br>The 'RestOctets' is a sub-type of the 'octetstring' with additional<br>padding attributes. Let's use it for SI2bis, SI2ter, and SI6 too.<br><br>Change-Id: I183d3ba9000e3ced8ecce74a4390b80075ddf25d<br>Signed-off-by: Vadim Yanitskiy <axilirator@gmail.com><br>---<br>M library/GSM_SystemInformation.ttcn<br>1 file changed, 12 insertions(+), 6 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/12/18012/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/GSM_SystemInformation.ttcn b/library/GSM_SystemInformation.ttcn</span><br><span>index a4688cd..4cabd77 100644</span><br><span>--- a/library/GSM_SystemInformation.ttcn</span><br><span>+++ b/library/GSM_SystemInformation.ttcn</span><br><span>@@ -135,14 +135,18 @@</span><br><span>   type record SystemInformationType2bis {</span><br><span>              NeighbourCellDescription        extd_bcch_freq_list,</span><br><span>                 RachControlParameters           rach_control,</span><br><span style="color: hsl(0, 100%, 40%);">-           OCT1                            rest_octets</span><br><span style="color: hsl(0, 100%, 40%);">-     } with { variant "" };</span><br><span style="color: hsl(120, 100%, 40%);">+              RestOctets                      rest_octets</span><br><span style="color: hsl(120, 100%, 40%);">+   } with {</span><br><span style="color: hsl(120, 100%, 40%);">+              variant (rest_octets) "FIELDLENGTH(1)"</span><br><span style="color: hsl(120, 100%, 40%);">+      };</span><br><span> </span><br><span>       /* 44.018 9.1.34 */</span><br><span>  type record SystemInformationType2ter {</span><br><span>              NeighbourCellDescription2       extd_bcch_freq_list,</span><br><span style="color: hsl(0, 100%, 40%);">-            OCT4                            rest_octets</span><br><span style="color: hsl(0, 100%, 40%);">-     } with { variant "" };</span><br><span style="color: hsl(120, 100%, 40%);">+              RestOctets                      rest_octets</span><br><span style="color: hsl(120, 100%, 40%);">+   } with {</span><br><span style="color: hsl(120, 100%, 40%);">+              variant (rest_octets) "FIELDLENGTH(4)"</span><br><span style="color: hsl(120, 100%, 40%);">+      };</span><br><span> </span><br><span>       /* 44.018 9.1.35 */</span><br><span>  type record SystemInformationType3 {</span><br><span>@@ -199,8 +203,10 @@</span><br><span>          LocationAreaIdentification      lai,</span><br><span>                 CellOptionsSacch                cell_options,</span><br><span>                BIT8                            ncc_permitted,</span><br><span style="color: hsl(0, 100%, 40%);">-          OCT7                            rest_octets</span><br><span style="color: hsl(0, 100%, 40%);">-     } with { variant "" };</span><br><span style="color: hsl(120, 100%, 40%);">+              RestOctets                      rest_octets</span><br><span style="color: hsl(120, 100%, 40%);">+   } with {</span><br><span style="color: hsl(120, 100%, 40%);">+              variant (rest_octets) "FIELDLENGTH(7)"</span><br><span style="color: hsl(120, 100%, 40%);">+      };</span><br><span> </span><br><span>       type union SystemInformationUnion {</span><br><span>          SystemInformationType1          si1,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18012">change 18012</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/+/18012"/><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: I183d3ba9000e3ced8ecce74a4390b80075ddf25d </div>
<div style="display:none"> Gerrit-Change-Number: 18012 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>