<p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/20924">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/20924/2/src/osmo-bsc/bsc_subscr_conn_fsm.c">File src/osmo-bsc/bsc_subscr_conn_fsm.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/20924/2/src/osmo-bsc/bsc_subscr_conn_fsm.c@377">Patch Set #2, Line 377:</a> <code style="font-family:monospace,monospace">                     gsc</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I think the problem is that this code doesn't distinguish on _why_ the lchan disappeared.  So the EQUIPMENT_FAILURE might be correct for some other situations (maybe?).</p><p style="white-space: pre-wrap; word-wrap: break-word;">I really don't think you can make the a ssumption that the only reson the lchan disappeared is pre-emption.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Think about a situation where the radio link fails before a (very slow) MSC is confirming the SCCP connection.  In that case the correct cause value would be radio link failure related, and neither of the two above is correct.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I think we need to be better than random guessing what might be the reason of the lchan disappearance.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/20924/2/src/osmo-bsc/bsc_subscr_conn_fsm.c@742">Patch Set #2, Line 742:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">   /* Request a Clear Command from the MSC. */<br>                   gscon_bssmap_clear(conn, GSM0808_CAUSE_PREEMPTION);<br>                   break;<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">same here.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/20924/2/src/osmo-bsc/bsc_subscr_conn_fsm.c@786">Patch Set #2, Line 786:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">      gscon_bssmap_clear(conn, GSM0808_CAUSE_PREEMPTION);<br>}<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">and here obviously.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/20924">change 20924</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/+/20924"/><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: I88b47695877a31bc5ede1080027c9c6080eb2090 </div>
<div style="display:none"> Gerrit-Change-Number: 20924 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 27 Oct 2020 07:52:05 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>