<p>dexter <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/21329">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">sched_lchan_tchh: fix frame number and fill FACCH gap<br><br>The measurement results / TCH indications that are handed when decoding<br>the TCH/H are off by two bursts. Since a measurement result / TCH block<br>is expected every two bursts anyway the problem can only be noticed when<br>a FACCH transmission is going on and the frame numbers of the BFI TCH<br>blocks appear to be missaligned towards the FACCH block.<br><br>The reason is that the incoming bursts are shifted into a 6 burst wide<br>buffer. The decoding functions always look at the beginning of that<br>buffer while the bursts are shifted into the buffer from the end. A<br>facch will always fit exactly in that buffer but TCH/H blocks are only<br>4 bursts wide and thereofre they need two additional bursts until they<br>reach the coverage of the decoding function. Lets fix this by putting<br>the correct frame number (from two bursts before) into the remap<br>functions in order to get the correct beginning of the block.<br><br>Since the FACCH transmission uses six blocks it takes out two TCH<br>blocks. This means that if we count the FACCH block we end up with a gap<br>of one TCH voice block. Lets generate a dummy measurement to compensate<br>the gap. This will also match the behavior of the osmo-bts-sysmo phy.<br><br>Change-Id: I1ad9fa3815feb2b4da608ab7df716a87ba1f2f91<br>Related: OS#4799<br>---<br>M include/osmo-bts/scheduler.h<br>M src/osmo-bts-trx/sched_lchan_tchh.c<br>2 files changed, 51 insertions(+), 8 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/29/21329/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/21329">change 21329</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/+/21329"/><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: I1ad9fa3815feb2b4da608ab7df716a87ba1f2f91 </div>
<div style="display:none"> Gerrit-Change-Number: 21329 </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-MessageType: newpatchset </div>