<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/24341">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">[VAMOS] bts_supports_cm(): handle RSL_CMOD_CRT_OSMO_TCH_VAMOS_{Bm,Lm}<br><br>Change-Id: I61040df30246ff79c9b13055bb1fec92fe64f3dd<br>Related: SYS#5315, OS#4940<br>---<br>M src/common/bts.c<br>1 file changed, 8 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/41/24341/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 b5615d6..bf29113 100644</span><br><span>--- a/src/common/bts.c</span><br><span>+++ b/src/common/bts.c</span><br><span>@@ -874,6 +874,10 @@</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 (cm->chan_rt) {</span><br><span style="color: hsl(120, 100%, 40%);">+     case RSL_CMOD_CRT_OSMO_TCH_VAMOS_Bm:</span><br><span style="color: hsl(120, 100%, 40%);">+          if (!osmo_bts_has_feature(bts->features, BTS_FEAT_VAMOS))</span><br><span style="color: hsl(120, 100%, 40%);">+                  return 0;</span><br><span style="color: hsl(120, 100%, 40%);">+             /* fall-through */</span><br><span>   case RSL_CMOD_CRT_TCH_Bm:</span><br><span>            switch (cm->chan_rate) {</span><br><span>          case RSL_CMOD_SP_GSM1:</span><br><span>@@ -891,6 +895,10 @@</span><br><span>                }</span><br><span>            break;</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+    case RSL_CMOD_CRT_OSMO_TCH_VAMOS_Lm:</span><br><span style="color: hsl(120, 100%, 40%);">+          if (!osmo_bts_has_feature(bts->features, BTS_FEAT_VAMOS))</span><br><span style="color: hsl(120, 100%, 40%);">+                  return 0;</span><br><span style="color: hsl(120, 100%, 40%);">+             /* fall-through */</span><br><span>   case RSL_CMOD_CRT_TCH_Lm:</span><br><span>            switch (cm->chan_rate) {</span><br><span>          case RSL_CMOD_SP_GSM1:</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/24341">change 24341</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/+/24341"/><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: I61040df30246ff79c9b13055bb1fec92fe64f3dd </div>
<div style="display:none"> Gerrit-Change-Number: 24341 </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>