<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15657">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo-bts-trx/scheduler: also detect TSC for Access Bursts on PDCH<br><br>If a logical channel, on which an Access Burst has been received,<br>is not either of RACH, PDTCH or PTCCH, then this is a handover<br>Access Burst, which is always encoded as 8-bit and shall contain<br>the generic training sequence (TS0).<br><br>Access Bursts on a PDCH time-slot are not related to handover.<br><br>Change-Id: If7d6135d6c4d7f9bd71d9fab6f8adc3f8cfd10ea<br>---<br>M src/osmo-bts-trx/scheduler_trx.c<br>1 file changed, 4 insertions(+), 3 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/57/15657/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c</span><br><span>index 8b0c761..421cf16 100644</span><br><span>--- a/src/osmo-bts-trx/scheduler_trx.c</span><br><span>+++ b/src/osmo-bts-trx/scheduler_trx.c</span><br><span>@@ -796,9 +796,10 @@</span><br><span>    enum rach_synch_seq_t synch_seq = RACH_SYNCH_SEQ_TS0;</span><br><span>        int best_score = 127 * RACH_SYNCH_SEQ_LEN;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-  /* If chan != TRXC_RACH, this is a handover RACH, which is always encoded</span><br><span style="color: hsl(0, 100%, 40%);">-        * as 8-bit and should contain the generic training sequence (TS0). */</span><br><span style="color: hsl(0, 100%, 40%);">-  if (chan == TRXC_RACH) {</span><br><span style="color: hsl(120, 100%, 40%);">+      /* If logical channel is not either of RACH, PDTCH or PTCCH, this is a</span><br><span style="color: hsl(120, 100%, 40%);">+         * handover Access Burst, which is always encoded as 8-bit and shall</span><br><span style="color: hsl(120, 100%, 40%);">+   * contain the generic training sequence (TS0). */</span><br><span style="color: hsl(120, 100%, 40%);">+    if (chan == TRXC_RACH || chan == TRXC_PDTCH || chan == TRXC_PTCCH) {</span><br><span>                 if (bi->flags & TRX_BI_F_TS_INFO)</span><br><span>                     synch_seq = (enum rach_synch_seq_t) bi->tsc;</span><br><span>              else</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/15657">change 15657</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/+/15657"/><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: If7d6135d6c4d7f9bd71d9fab6f8adc3f8cfd10ea </div>
<div style="display:none"> Gerrit-Change-Number: 15657 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>