<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">when it comes to block-diagonal interleaving (which is used on<br>TCH/F and TCH/H channels), the results are incorrect.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">Could you explain why the result is no correct?</p><p style="white-space: pre-wrap; word-wrap: break-word;">If that's because of each burst affecting two frames - why not just have an avg counter per frame and add values to them accordingly? The code can be made cleaner than it is now, but there will be no need for traversing of a list.</p><p style="white-space: pre-wrap; word-wrap: break-word;">If there is something I missed why the above can't be done and we do need to store values - why not use an array? We know that we need 8 values max, so why not allocate an array of 8 elements to avoid linked list operations?</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15807">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/15807">change 15807</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/+/15807"/><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: I6bc511223069f66b49109d3267bee7bd89585713 </div>
<div style="display:none"> Gerrit-Change-Number: 15807 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </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: ipse <Alexander.Chemeris@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Sat, 19 Oct 2019 12:20:46 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>