<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/22119">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">l1sap: acch_repetition fix hysthereis threshold table<br><br>The table in repeated_ul_sacch_active_decision() is derived from the<br>second table in GSM 05.08 8.2.4 but the first table would be correct.<br>Also the lower threshold is not properly choosen. A lower threshold,<br>that derives from upper threshold shifted by 2 makes sense (BER must<br>improved by 2 RXQUAL steps before repetition is turned off.)<br><br>Change-Id: I1d9b5c8abb79938cdecdafed84ed2e5d47e0bd3a<br>Related: SYS#5114<br>---<br>M src/common/l1sap.c<br>1 file changed, 8 insertions(+), 4 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/19/22119/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/common/l1sap.c b/src/common/l1sap.c</span><br><span>index 48773f1..2757d70 100644</span><br><span>--- a/src/common/l1sap.c</span><br><span>+++ b/src/common/l1sap.c</span><br><span>@@ -1414,12 +1414,16 @@</span><br><span>               return;</span><br><span>      }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-   /* convert from RXQUAL value to ber10k vale,</span><br><span style="color: hsl(0, 100%, 40%);">-     * see also GSM 05.08, section 8.2.4 */</span><br><span style="color: hsl(120, 100%, 40%);">+       /* convert from RXQUAL value to ber10k value.</span><br><span style="color: hsl(120, 100%, 40%);">+  * see also GSM 05.08, section 8.2.4 (first table, without frame */</span><br><span>  static const uint16_t ber10k_by_rxqual_upper[] =</span><br><span style="color: hsl(0, 100%, 40%);">-            { 0, 26, 51, 100, 190, 380, 760, 1500 };</span><br><span style="color: hsl(120, 100%, 40%);">+      { 0, 20, 40, 80, 160, 320, 640, 1280 };</span><br><span>  static const uint16_t ber10k_by_rxqual_lower[] =</span><br><span style="color: hsl(0, 100%, 40%);">-            { 0, 10, 10, 30, 64, 130, 270, 540 };</span><br><span style="color: hsl(120, 100%, 40%);">+         { 0, 0, 0, 20, 40, 80, 160, 320 };</span><br><span style="color: hsl(120, 100%, 40%);">+        /* Note: The values in the upper vector are taken from the left side</span><br><span style="color: hsl(120, 100%, 40%);">+   * of the table in GSM 05.08, section 8.2.4. The lower vector is just</span><br><span style="color: hsl(120, 100%, 40%);">+  * the upper vector shifted by 2. */</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>       upper = ber10k_by_rxqual_upper[lchan->repeated_acch_capability.rxqual];</span><br><span>   lower = ber10k_by_rxqual_lower[lchan->repeated_acch_capability.rxqual];</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/22119">change 22119</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/+/22119"/><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: I1d9b5c8abb79938cdecdafed84ed2e5d47e0bd3a </div>
<div style="display:none"> Gerrit-Change-Number: 22119 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>