<p style="white-space: pre-wrap; word-wrap: break-word;">Looks good to me, and even better than my patch #25824 because it's a more fundamental approach that would allow us to verify handling of ARFCNs belonging to PCS-1900. Just a few rather cosmetic things...</p><p>Patch set 2:<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/+/25828">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/+/25828/2/bsc/BSC_Tests.ttcn">File bsc/BSC_Tests.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/+/25828/2/bsc/BSC_Tests.ttcn@8502">Patch Set #2, Line 8502:</a> <code style="font-family:monospace,monospace">      if (arfcn.arfcn >= 259 and arfcn.arfcn <= 293) {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">iirc ttcn3 has specific syntax to match ranges, @fixeria may remember better the details.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Yep, you could use 'select' here:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  select (arfcn) {<br>  case (tr_GsmBandArfcn(306 .. 340)) { band := "GSM450"; }<br>  case (tr_GsmBandArfcn(438 .. 511)) { band := "GSM480"; }<br>  /* ... */<br>  case (tr_GsmBandArfcn(512 .. 885, pcs := false)) { band := "DCS1800"; }<br>  case (tr_GsmBandArfcn(512 .. 810, pcs := true))  { band := "PCS1900"; }<br>  case else { return; }<br>  }</pre></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/+/25828/2/bsc/BSC_Tests.ttcn@8524">Patch Set #2, Line 8524:</a> <code style="font-family:monospace,monospace">        f_vty_transceive(BSCVTY, "exit");</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Just send 'end' command once instead of sending 'exit' three times.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25828">change 25828</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/+/25828"/><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: I447e4145c68c62b11b818e28f0081c19e9107647 </div>
<div style="display:none"> Gerrit-Change-Number: 25828 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 19 Oct 2021 21:49:39 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Comment-In-Reply-To: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>