<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/24345">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gsm_data.h: fix wrong bit-mask in BSIC2BCC macro<br><br>BCC takes 3 LSB bits of the BSIC, so we should apply 0b111 or 0x07.<br>The BSIC is specified in 3GPP TS 03.03 section 4.3.2.<br><br>Change-Id: Id24ad64e6c6de080ab43faa272daf844fbba6954<br>Related: SYS#5315, OS#4940<br>---<br>M include/osmo-bts/gsm_data.h<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/45/24345/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h</span><br><span>index ff0c89c..10bedcc 100644</span><br><span>--- a/include/osmo-bts/gsm_data.h</span><br><span>+++ b/include/osmo-bts/gsm_data.h</span><br><span>@@ -516,7 +516,7 @@</span><br><span> uint8_t gsm_lchan_as_pchan2chan_nr(const struct gsm_lchan *lchan,</span><br><span>                                    enum gsm_phys_chan_config as_pchan);</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-#define BSIC2BCC(bsic) ((bsic) & 0x3)</span><br><span style="color: hsl(120, 100%, 40%);">+#define BSIC2BCC(bsic) ((bsic) & 0x07)</span><br><span> </span><br><span> uint8_t gsm_ts_tsc(const struct gsm_bts_trx_ts *ts);</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/24345">change 24345</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/+/24345"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: 2021q1 </div>
<div style="display:none"> Gerrit-Change-Id: Id24ad64e6c6de080ab43faa272daf844fbba6954 </div>
<div style="display:none"> Gerrit-Change-Number: 24345 </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>