<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/18157">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fix egprs_mslot_class_from_ra(): multislot class may not be present<br><br>For more details, see 3GPP TS 44.060, table 11.2.5a.2.<br><br>Change-Id: Iba0466b29afd26cff317ed4fb6749f8a3079f16a<br>Signed-off-by: Vadim Yanitskiy <axilirator@gmail.com><br>---<br>M src/bts.cpp<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/57/18157/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/bts.cpp b/src/bts.cpp</span><br><span>index 6578e06..2c9ec69 100644</span><br><span>--- a/src/bts.cpp</span><br><span>+++ b/src/bts.cpp</span><br><span>@@ -675,7 +675,8 @@</span><br><span>  */</span><br><span> static inline uint8_t egprs_mslot_class_from_ra(uint16_t ra, bool is_11bit)</span><br><span> {</span><br><span style="color: hsl(0, 100%, 40%);">-     if (is_11bit)</span><br><span style="color: hsl(120, 100%, 40%);">+ /* EGPRS multislot class is only present in One Phase Access Request */</span><br><span style="color: hsl(120, 100%, 40%);">+       if (is_11bit && (ra >> 10) == 0x00) /* 0xxx xxxx xxx */</span><br><span>                return ((ra & 0x3e0) >> 5) + 1;</span><br><span> </span><br><span>        /* set EGPRS multislot class to 0 for 8-bit RACH, since we don't know it yet */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/18157">change 18157</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-pcu/+/18157"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Iba0466b29afd26cff317ed4fb6749f8a3079f16a </div>
<div style="display:none"> Gerrit-Change-Number: 18157 </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>