<p>fixeria <strong>uploaded patch set #8</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15430">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Introduce PCUIF, BTS and ClckGen components for RAW PCU test cases<br><br>The problem of existing test cases is that they mix IUT (i.e. OsmoPCU)<br>with OsmoBTS (osmo-bts-virtual) and OsmocomBB (virt_phy). This approach<br>allows to avoid dealing with TDMA clock indications and RTS requests on<br>the PCU interface - this is done by OsmoBTS. On the other hand, our test<br>scenarios may be potentially affected by undiscovered bugs in OsmoBTS<br>and the virt_phy.<br><br>In order to solve that problem, this change introduces a set of new<br>components and the corresponding handler functions:<br><br> - RAW_PCUIF_CT / f_PCUIF_CT_handler() - PCU interface (UNIX domain socket)<br> handler. Creates a server listening for incoming connections on a given<br> 'pcu_sock_path', handles connection establishment and message forwarding<br> between connected BTS components (see below) and OsmoPCU.<br><br> - RAW_PCU_BTS_CT / f_BTS_CT_handler() - represents a single BTS entity,<br> connected to OsmoPCU through the RAW_PCUIF_CT. Takes care about sending<br> System Information 13 to OsmoPCU, forwarding TDMA clock indications from<br> a dedicated ClckGen component (see below), and filtering the received<br> messages by the BTS number.<br><br> - RAW_PCU_ClckGen_CT / f_ClckGen_CT_handler() - TDMA frame clock counter<br> built on top of a timer. Sends clock indications to the BTS component.<br><br>All components communicate using TTCN-3 ports and explicitly defined sets<br>of messages (see RAW_PCU_Clock_PT and RAW_PCU_MSG_PT). One noticeable kind<br>of such messages is events (see RAW_PCU_EVENT). That's how e.g. the PCUIF<br>component can notify the BTS component that OsmoPCU has just connected, or<br>the BTS component can notify the MTC that SI13 negotiation is completed.<br><br>Furthermore, the proposed set of components allows to have more than one<br>BTS entity, so we can also test multi-BTS operation in the future.<br><br> +-----+ +----------+ +---------+<br> | MTC +---------------+ PCUIF_CT +------+ OsmoPCU |<br> +--+--+ +----+-----+ +---------+<br> | |<br> | |<br> | |<br> | +-----------+ | +---------------+<br> +----+ BTS_CT #1 +------+ | ClckGen_CT #1 |<br> | +-----+-----+ | +-------+-------+<br> | | | |<br> | +---------------------------+<br> | |<br> | +-----------+ | +---------------+<br> +----+ BTS_CT #2 +------+ | ClckGen_CT #2 |<br> | +-----+-----+ | +-------+-------+<br> | | | |<br> | +---------------------------+<br> | |<br> | +-----------+ | +---------------+<br> +----+ BTS_CT #N +------+ | ClckGen_CT #N |<br> +-----+-----+ +-------+-------+<br> | |<br> +---------------------------+<br><br>Change-Id: I63a23abebab88fd5318eb4d907d6028e7c38e9a3<br>---<br>M library/PCUIF_Types.ttcn<br>A pcu/PCUIF_RAW_Components.ttcn<br>M pcu/PCU_Tests_RAW.ttcn<br>3 files changed, 319 insertions(+), 0 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/30/15430/8</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15430">change 15430</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/+/15430"/><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: I63a23abebab88fd5318eb4d907d6028e7c38e9a3 </div>
<div style="display:none"> Gerrit-Change-Number: 15430 </div>
<div style="display:none"> Gerrit-PatchSet: 8 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </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@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>