<p>fixeria <strong>uploaded patch set #4</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/19030">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo-bts-trx/scheduler: implement baseband frequency hopping<br><br>The idea behind the baseband frequency hopping is quite simple: we<br>have several RF carriers (transceivers) transmitting and receiving<br>on fixed frequencies (just like in a regular multi-trx setup), and<br>an additional burst routing layer between the schedulear and the<br>transceiver interface (TRXD over UDP).<br><br>Speaking in terms of the proposed implementation:<br><br>  - on Downlink, dlfh_route_br() calculates the ARFCN corresponding<br>    to the current TDMA frame number according to the hopping sequence<br>    parametets, and picks the transceiver with matching ARFCN;<br><br>  - on Uplink, ulfh_route_bi() iterates over the list of transceivers<br>    of the BTS, calculates the ARFCN corresponding to the received<br>    TDMA frame number and the hopping sequence parametets, and picks<br>    the one with matching expected ARFCN.<br><br>In order to avoid frequent transceiver lookups on the Downlink path,<br>dlfh_route_br() maintains a "cache" in the timeslot state structure.<br>Unfortunately, this "cache" seems to be useless on the Uplink path,<br>so ulfh_route_bi() always needs to lookup the matching transceiver<br>for each burst received over the TRXD interface.<br><br>It may also happen that the scheduler will be unable to route an<br>Uplink or Downlink burst, e.g. due to inconsistent / incorrect<br>hopping sequence parameters received from the BSC, or in case<br>if a transceiver gets RF-locked by the BTS operator.<br><br>Such events are logged as "FATAL" and aditionally signalled by the<br>following osmo-bts-trx specific rate counters:<br><br>  - trx_sched:dl_fh_no_carrier (Downlink), and<br>  - trx_sched:ul_fh_no_carrier (Uplink).<br><br>Change-Id: I68f4ae09fd0789ad0d8f1c1e17e17dfc4de8e462<br>Related: SYS#4868, OS#4546<br>---<br>M include/osmo-bts/gsm_data.h<br>M include/osmo-bts/scheduler.h<br>M src/osmo-bts-trx/l1_if.h<br>M src/osmo-bts-trx/main.c<br>M src/osmo-bts-trx/scheduler_trx.c<br>M src/osmo-bts-trx/trx_if.c<br>6 files changed, 117 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/30/19030/4</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/19030">change 19030</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-bts/+/19030"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I68f4ae09fd0789ad0d8f1c1e17e17dfc4de8e462 </div>
<div style="display:none"> Gerrit-Change-Number: 19030 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@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-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>