<p>lynxis lazus <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/14697">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Encoding: ACK/NACK: always encode with length field present<br><br>In most cases the length field was present and this field takes 7<br>bits of the maximum available 110 rest bits.<br>The length field was only removed when encoding huge bitmaps usually<br>only happen on lossy connections with packet lost.<br>However the cases without length field were encoded incorrect,<br>because all remaining bits must be used by the uncompressed bitmaps,<br>but the PCU violates this by encoding always the "release 5" bit.<br>Rather than fixing the encoding without length field, simply remove it<br>and always encode with length field. This also reduces the code<br>complexity.<br><br>Change-Id: I7bc2e18d647b72b8f17ba7a5c9c5e421d88275fb<br>---<br>M src/encoding.cpp<br>1 file changed, 39 insertions(+), 43 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/97/14697/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/14697">change 14697</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-pcu/+/14697"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I7bc2e18d647b72b8f17ba7a5c9c5e421d88275fb </div>
<div style="display:none"> Gerrit-Change-Number: 14697 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>