<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/19037">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">abis_rsl: Mobile Allocation IE in CHANnel ACTIVation shall be empty<br><br>According to 3GPP TS 48.058 (version 15.0.0), section 9.3.5, the<br>3GPP TS 24.008 "Mobile Allocation" shall for compatibility reasons<br>be included but empty, i.e. the length shall be zero.  Therefore,<br>no matter if frequency hopping is in use or not, send it empty.<br><br>Change-Id: Ie224a45f10522332eac653fa371564f022108c3f<br>Related: OS#4545, OS#4546<br>---<br>M src/osmo-bsc/abis_rsl.c<br>1 file changed, 4 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c</span><br><span>index 8376f98..f6e564b 100644</span><br><span>--- a/src/osmo-bsc/abis_rsl.c</span><br><span>+++ b/src/osmo-bsc/abis_rsl.c</span><br><span>@@ -516,11 +516,10 @@</span><br><span>      len = msgb_put(msg, 1);</span><br><span>      msgb_tv_fixed_put(msg, GSM48_IE_CHANDESC_2, sizeof(cd), (const uint8_t *) &cd);</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if (lchan->ts->hopping.enabled)</span><br><span style="color: hsl(0, 100%, 40%);">-           msgb_tlv_put(msg, GSM48_IE_MA_AFTER, lchan->ts->hopping.ma_len,</span><br><span style="color: hsl(0, 100%, 40%);">-                        lchan->ts->hopping.ma_data);</span><br><span style="color: hsl(0, 100%, 40%);">- else</span><br><span style="color: hsl(0, 100%, 40%);">-            msgb_tlv_put(msg, GSM48_IE_MA_AFTER, 0, NULL);</span><br><span style="color: hsl(120, 100%, 40%);">+        /* See 3GPP TS 48.058 (version 15.0.0), section 9.3.5 "Channel Identification".</span><br><span style="color: hsl(120, 100%, 40%);">+      * The 3GPP TS 24.008 "Mobile Allocation" shall for compatibility reasons</span><br><span style="color: hsl(120, 100%, 40%);">+    * be included but empty, i.e. the length shall be zero. */</span><br><span style="color: hsl(120, 100%, 40%);">+   msgb_tlv_put(msg, GSM48_IE_MA_AFTER, 0, NULL);</span><br><span> </span><br><span>   /* update the calculated size */</span><br><span>     msg->l3h = len + 1;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/19037">change 19037</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-bsc/+/19037"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ie224a45f10522332eac653fa371564f022108c3f </div>
<div style="display:none"> Gerrit-Change-Number: 19037 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </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-MessageType: merged </div>