<p>pespin <strong>uploaded patch set #4</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/20521">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">4g: Introduce ZMQ GnuRadio stream broker<br><br>srsENB currently creates 1 zmq stream (1 tx, 1 rx) for each cell (2 if<br>MIMO is enabled). Each cell transceives on a given EARFCN (and several<br>cells can transmit on same EARFCN).<br><br>However, for handover test purposes, we want to join all cells operating<br>on the same EARFCN to transceive on the same ZMQ conn, so that an srsUE<br>can interact with them at the same time (same as if the medium was shared).<br>Furthermore, we want to set different gains on each of those paths<br>before merging them in order to emulate RF conditions like handover.<br><br>In order to do so, a new element called the Broker is introduced, which<br>is placed in between ENBs and UEs ZMQ conenctions, multiplexing the<br>connections on the ENB side towards the UE side.<br><br>A separate process for the broker is run remotely (ENB run host) which<br>listens on a ctrl socket for commands. An internal Broker class is used<br>in osmo-gsm-tester to interact with the remote script, for instance to<br>configure the ports, start and stop the remote process, send commands to<br>it, etc.<br>On each ENB, when the rfemu "gnuradio_zmq" rfemu implementation is selected<br>in configuration, it will configure its zmq connections and the UE ones to<br>go over the Broker.<br><br>As a result, that means the UE zmq port configuration is expected to be<br>different than when no broker is in used, since there's the multiplexing<br>per EARFCN in between.<br><br>In this commit, only 1 ENB is supported, but multi-enb support is<br>planned in the future.<br><br>The handover test passes in the docker setup with this config:<br>"""<br>OSMO_GSM_TESTER_OPTS="-T -l dbg -s 4g:srsue-rftype@zmq+srsenb-rftype@zmq+" \<br>     "mod-enb-nprb@6+mod-enb-ncells@2+mod-enb-cells-2ca+suite-4g@10,2+" \<br>        "mod-enb-meas-enable -t =handover.py"<br>"""<br><br>and in resources.conf (or scenario), added:<br>"""<br>enb:<br>  ...<br>  cell_list:<br>    - dl_rfemu:<br>       type: gnuradio_zmq<br>    - dl_rfemu:<br>        type: gnuradio_zmq<br>"""<br><br>Note that since the broker is used, there's not need for mod-srsue-ncarriers@2<br>since the broker is joining the 2 enb cells into 1 stream on the UE side.<br><br>Change-Id: I6282cda400558dcb356276786d91e6388524c5b1<br>---<br>M src/osmo_gsm_tester/obj/enb.py<br>M src/osmo_gsm_tester/obj/enb_amarisoft.py<br>M src/osmo_gsm_tester/obj/enb_srs.py<br>M src/osmo_gsm_tester/obj/ms_srs.py<br>M src/osmo_gsm_tester/obj/rfemu.py<br>A src/osmo_gsm_tester/obj/rfemu_gnuradio_zmq.py<br>M sysmocom/scenarios/mod-enb-cells-2ca.conf<br>A utils/bin/osmo-gsm-tester_zmq_broker.py<br>8 files changed, 515 insertions(+), 31 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/21/20521/4</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/20521">change 20521</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-gsm-tester/+/20521"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I6282cda400558dcb356276786d91e6388524c5b1 </div>
<div style="display:none"> Gerrit-Change-Number: 20521 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </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: srs_andre <andre@softwareradiosystems.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>