<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/26119">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">rsl_tx_chan_activ(): fix manual channel activation for nanoBTS<br><br>nanoBTS would NACK a CHANnel ACTIVation message for an 'intra cell<br>channel change' if it does not contain the Timing Advance IE.  And<br>this is right, because according to 3GPP TS 48.058, section 8.4.1,<br>point '4)', it *must* be included.<br><br>Indeed, the actual Timing Advance value is not known during the<br>manual channel activation triggered from the VTY interface.  So<br>let's merely indicate 0 if it's not known.<br><br>Change-Id: Iee7ddb4cf1a9a7bb9b34e6c9f6f9899da480fbd0<br>---<br>M src/osmo-bsc/abis_rsl.c<br>1 file changed, 6 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/19/26119/1</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 0e2ffc6..c3825f6 100644</span><br><span>--- a/src/osmo-bsc/abis_rsl.c</span><br><span>+++ b/src/osmo-bsc/abis_rsl.c</span><br><span>@@ -691,6 +691,12 @@</span><br><span>                 if (bts->type == GSM_BTS_TYPE_BS11)</span><br><span>                       ta <<= 2;</span><br><span>              msgb_tv_put(msg, RSL_IE_TIMING_ADVANCE, ta);</span><br><span style="color: hsl(120, 100%, 40%);">+  } else if ((act_type & 0x06) == 0x00) {</span><br><span style="color: hsl(120, 100%, 40%);">+           /* Note '4)' in section 8.4.1: The Timing Advance element must be</span><br><span style="color: hsl(120, 100%, 40%);">+              * included if activation type is intra cell channel change. */</span><br><span style="color: hsl(120, 100%, 40%);">+               LOG_LCHAN(lchan, LOGL_NOTICE, "Timing Advance IE shall be present, "</span><br><span style="color: hsl(120, 100%, 40%);">+                          "but the actual value is not known => assuming 0\n");</span><br><span style="color: hsl(120, 100%, 40%);">+          msgb_tv_put(msg, RSL_IE_TIMING_ADVANCE, 0);</span><br><span>  }</span><br><span> </span><br><span>        /* BS/MS Power Control Parameters (if supported by BTS model) */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/26119">change 26119</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/+/26119"/><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: Iee7ddb4cf1a9a7bb9b34e6c9f6f9899da480fbd0 </div>
<div style="display:none"> Gerrit-Change-Number: 26119 </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-MessageType: newchange </div>