<p style="white-space: pre-wrap; word-wrap: break-word;">This change is ready for review.</p><p>Patch set 6:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #d4ffd4;">Code-Review +1</span></p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16687">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16687/6/pcu/PCU_Tests_RAW.ttcn">File pcu/PCU_Tests_RAW.ttcn:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16687/6/pcu/PCU_Tests_RAW.ttcn@237">Patch Set #6, Line 237:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">if (ischosen(dl_block.data)) {<br>               bsn := dl_block.data.mac_hdr.hdr_ext.bsn;<br>     } else {<br>              bsn := dl_block.data_egprs.mac_hdr.bsn1;<br>      }<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">not sure if we likely need that more often. If yes, a function might be introduced to hide those details and simply return the bsn for any thpe of dl_block</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16687/6/pcu/PCU_Tests_RAW.ttcn@633">Patch Set #6, Line 633:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">if (not match(dl_block, dl_template)) {<br>             dl_template := tr_RLCMAC_DATA_EGPRS;<br>          dl_template.data_egprs.blocks := ?;<br>           if (not match(dl_block, dl_template)) {<br>                       setverdict(fail, "Failed to match Packet data: ", dl_block, " vs ", dl_template);<br>                 mtc.stop;<br>             }<br>             is_egprs := true;<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">this also seems like something we may need more often?  In that case, a function "rlcmac_block_is_egprs()" returning bool might be an idea?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16687">change 16687</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/+/16687"/><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: I96e0d28bed749ef657f0b68d0beee3f8471ab3e0 </div>
<div style="display:none"> Gerrit-Change-Number: 16687 </div>
<div style="display:none"> Gerrit-PatchSet: 6 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <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-Comment-Date: Tue, 28 Apr 2020 16:51:09 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Gerrit-MessageType: comment </div>