<p>Vadim Yanitskiy <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/17245">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">tests/rlcmac: also verify encoding of MS RA Capability<br><br>The main idea of this change is to demonstrate a weakness of the<br>CSN.1 codec that most likely causes a unit test breakage in [1].<br><br>The problem seems to be that the transitional structures, where<br>the CSN.1 decoder stores the results, do not contain any details<br>about presence of the optional fields (such as M_UINT_OR_NULL).<br><br>In other words, it's impossible to know whether some optional<br>field is omitted in the encoded message (NULL), or is it just<br>set to 0. This means that the encoder will always include all<br>optional fields, even if they're not present in the original<br>message.<br><br>[1] Ibb4cbd3f5865415fd547e95fc24ff31df1aed4c0<br><br>Change-Id: Ic46d6e56768f516203d27d8e7a5adb77afdf32b7<br>---<br>M src/gsm_rlcmac.cpp<br>M tests/rlcmac/RLCMACTest.cpp<br>M tests/rlcmac/RLCMACTest.err<br>M tests/rlcmac/RLCMACTest.ok<br>4 files changed, 58 insertions(+), 7 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/45/17245/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/17245">change 17245</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/+/17245"/><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: Ic46d6e56768f516203d27d8e7a5adb77afdf32b7 </div>
<div style="display:none"> Gerrit-Change-Number: 17245 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </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: newpatchset </div>