<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/17288">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chantype_rsl2gsmtap(): Add entries for CBCH<br><br>This adds missing entries for CBCH in the conversion between RSL-style<br>channel numbers and GSMTAP channel types.<br><br>Without this change, you will see tons of messages like<br>virtphy[19865]: Wed Feb 26 16:16:28 2020 DVIRPHY <0002> gsmtapl1_if.c:267 MS 0000: Ignoring unknown channel type UNKNOWN (0)<br>if running virtphy of osmocom-bb with a BTS that broadcasts CBCH.<br><br>Change-Id: I19bbd2942adf441f58955ac896ef968bfd8aec5f<br>---<br>M src/gsmtap_util.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/libosmocore refs/changes/88/17288/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gsmtap_util.c b/src/gsmtap_util.c</span><br><span>index 2fb18a4..a4fe2d9 100644</span><br><span>--- a/src/gsmtap_util.c</span><br><span>+++ b/src/gsmtap_util.c</span><br><span>@@ -86,6 +86,12 @@</span><br><span>         case RSL_CHAN_OSMO_PDCH:</span><br><span>             ret = GSMTAP_CHANNEL_PDCH;</span><br><span>           break;</span><br><span style="color: hsl(120, 100%, 40%);">+        case RSL_CHAN_OSMO_CBCH4:</span><br><span style="color: hsl(120, 100%, 40%);">+             ret = GSMTAP_CHANNEL_CBCH51;</span><br><span style="color: hsl(120, 100%, 40%);">+          break;</span><br><span style="color: hsl(120, 100%, 40%);">+        case RSL_CHAN_OSMO_CBCH8:</span><br><span style="color: hsl(120, 100%, 40%);">+             ret = GSMTAP_CHANNEL_CBCH52;</span><br><span style="color: hsl(120, 100%, 40%);">+          break;</span><br><span>       }</span><br><span> </span><br><span>        if (link_id & 0x40)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/17288">change 17288</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/libosmocore/+/17288"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I19bbd2942adf441f58955ac896ef968bfd8aec5f </div>
<div style="display:none"> Gerrit-Change-Number: 17288 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>