<p>fixeria <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/20386">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">RSL/BSSAP: fix: properly convert between RSL Link ID and DLCI<br><br>Data Link Connection Identifier (DLCI) is defined in 3GPP TS 48.006,<br>section 9.3.2, and coded as follows:<br><br>  .... .SSS - SAPI value used on the radio link;<br>  CC.. .... - control channel identification:<br>    00.. .... - indicates that the control channel is not further specified,<br>    10.. .... - represents the FACCH or the SDCCH,<br>    11.. .... - represents the SACCH,<br>    other values are reserved.<br><br>RSL Link Identifier is defined in 3GPP TS 3GPP TS 48.058,<br>section 9.3.2, and coded as follows:<br><br>  .... .SSS - SAPI value used on the radio link;<br>  ...P P... - priority for SAPI0 messages;<br>  CC.. .... - control channel identification:<br>    00.. .... - main signalling channel (FACCH or SDCCH),<br>    01.. .... - SACCH,<br>    other values are reserved.<br><br>As can be seen, CC bits in both DLCI and RSL Link Identifier<br>are coded differently.  Therefore, we cannot just assign<br>one identifier to another, we need to do conversion.<br><br>I noticed that osmo-bsc indicates DLCI '01000011'B for SMS<br>messages sent over SACCH/F (SAPI3), and this is wrong because<br>'01'B is reserved.  Let's fix this.<br><br>P.S. Interesting coincidence: section 9.3.2 in both documents.<br><br>Change-Id: If4d479a54cad467f53b49065c1c435a4471ac7d2<br>Related: Ica69ae95b47a67ba99ba9cc36629b6bd210d11e4<br>Related: OS#3716<br>---<br>M src/osmo-bsc/gsm_08_08.c<br>M src/osmo-bsc/osmo_bsc_bssap.c<br>2 files changed, 27 insertions(+), 4 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/86/20386/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/20386">change 20386</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/+/20386"/><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: If4d479a54cad467f53b49065c1c435a4471ac7d2 </div>
<div style="display:none"> Gerrit-Change-Number: 20386 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>