<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/14335">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">common/bts.c: bts_supports_cm(): take care about GSM48_CMODE_SIGN<br><br>At the moment, bts_supports_cm() is only called on reception of<br>RSL Channel MODE MODIFY from the BSC. The idea is to check whether<br>the indicated RSL channel mode is supported by a BTS model.<br><br>RSL Channel MODE MODIFY message may indicate a channel in signalling<br>mode, i.e. GSM48_CMODE_SIGN, which has always been rejected so far.<br><br>Let's assume that signalling is always supported, as there is<br>no special BTS_FEAT_* definition to check that.<br><br>This change should make BTS_Tests.TC_rsl_modify_encr pass.<br><br>Change-Id: I8ea98a3eb9dc15a04f665596ee276883eb824b9a<br>---<br>M src/common/bts.c<br>1 file changed, 5 insertions(+), 0 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/35/14335/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/common/bts.c b/src/common/bts.c</span><br><span>index 97e7a8b..596e5e0 100644</span><br><span>--- a/src/common/bts.c</span><br><span>+++ b/src/common/bts.c</span><br><span>@@ -744,6 +744,11 @@</span><br><span> {</span><br><span>         enum gsm_bts_features feature = _NUM_BTS_FEAT;</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+    /* We assume that signalling support is mandatory,</span><br><span style="color: hsl(120, 100%, 40%);">+     * there is no BTS_FEAT_* definition to check that. */</span><br><span style="color: hsl(120, 100%, 40%);">+        if (cm == GSM48_CMODE_SIGN)</span><br><span style="color: hsl(120, 100%, 40%);">+           return 1;</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>  /* Before the requested pchan/cm combination can be checked, we need to</span><br><span>       * convert it to a feature identifier we can check */</span><br><span>        switch (pchan) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/14335">change 14335</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/+/14335"/><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: I8ea98a3eb9dc15a04f665596ee276883eb824b9a </div>
<div style="display:none"> Gerrit-Change-Number: 14335 </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>