<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/14688">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo-bts-trx/scheduler: rx_rach_fn(): provide actual C/I ratio to L1SAP<br><br>Change-Id: I8d86dec7ebc039cbfd038c4342ff328b11281865<br>---<br>M src/osmo-bts-trx/scheduler_trx.c<br>1 file changed, 7 insertions(+), 2 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/88/14688/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 56483f3..5a24dda 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>@@ -816,8 +816,13 @@</span><br><span>     l1sap.u.rach_ind.rssi = bi->rssi;</span><br><span>         l1sap.u.rach_ind.fn = bi->fn;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-    /* FIXME: check for TRX_BI_F_CI_CB, and use the value from UL.ind */</span><br><span style="color: hsl(0, 100%, 40%);">-    l1sap.u.rach_ind.lqual_cb = l1t->trx->bts->min_qual_rach;</span><br><span style="color: hsl(120, 100%, 40%);">+    /* Link quality defined by C/I (Carrier-to-Interference ratio),</span><br><span style="color: hsl(120, 100%, 40%);">+        * which has optional presence. If it's absent, simulate the</span><br><span style="color: hsl(120, 100%, 40%);">+       * minimum acceptable value to pass L1SAP checks. */</span><br><span style="color: hsl(120, 100%, 40%);">+  if (bi->flags & TRX_BI_F_CI_CB)</span><br><span style="color: hsl(120, 100%, 40%);">+                l1sap.u.rach_ind.lqual_cb = bi->ci_cb;</span><br><span style="color: hsl(120, 100%, 40%);">+     else</span><br><span style="color: hsl(120, 100%, 40%);">+          l1sap.u.rach_ind.lqual_cb = l1t->trx->bts->min_qual_rach;</span><br><span> </span><br><span>       /* Decode RACH depending on its synch. sequence */</span><br><span>   switch (synch_seq) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/14688">change 14688</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/+/14688"/><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: I8d86dec7ebc039cbfd038c4342ff328b11281865 </div>
<div style="display:none"> Gerrit-Change-Number: 14688 </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>