<p>fixeria <strong>uploaded patch set #2</strong> to the change originally created by osmith.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/24313">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo-bts-trx: fix hopping pointer bug in trx_sched_fn()<br><br>In change [1] together with the actual implementation I introduced<br>a serious bug to trx_sched_fn(): if a timeslot is configured to use<br>frequency hopping, both 'pinst' and 'l1h' pointers are *overwriten*<br>in the inner loop, so the Downlink burst is re-directed to the<br>approproate PHY instance.  However, if a subsequent timeslot is not<br>hopping, the Downlink burst would be re-directed to the wrong PHY<br>instance because both pointers were overwriten during a previous<br>iteration.<br><br>Let's add another 'struct phy_instance' pointer to the inner loop,<br>so it's properly re-initialized for each timeslot iteration.<br><br>Change-Id: I9afbbef8dc5d885763356470c27d4392dce8e815<br>Fixes: [1] I68f4ae09fd0789ad0d8f1c1e17e17dfc4de8e462<br>Related: SYS#4868, OS#4546<br>---<br>M src/osmo-bts-trx/scheduler_trx.c<br>1 file changed, 6 insertions(+), 5 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/13/24313/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/24313">change 24313</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/+/24313"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: 2021q1 </div>
<div style="display:none"> Gerrit-Change-Id: I9afbbef8dc5d885763356470c27d4392dce8e815 </div>
<div style="display:none"> Gerrit-Change-Number: 24313 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@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: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>