<p>neels <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/20625">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BSSMAP RESET: generalize a_reset FSM<br><br>Separate the a_reset FSM implementation from BSSMAP and MSC specifics, so that<br>it can be re-used on the Lb interface.<br><br>Move the FSM implementation to bssmap_reset.c and tweak, to match common practices we<br>have generally established in our osmo_fsm implementations.<br><br>Keep a_reset.h and a_reset.c and redirect to bssmap_reset.c.<br><br>A difficulty is setting a proper logging category: the FSM definition allows<br>only one fixed logging category for FSM state transitions and events. Ideally,<br>the BSSMAP reset fsm would log on DMSC, and the BSSMAP-LE reset fsm would log<br>on DLCS. Since that is not possible, introduce a separate DRESET logging<br>category. This in fact matches an item on my wishlist, because if a given MSC<br>is configured but currently not connected, the previous RESET FSM would<br>continuously "spam" log LOGL_NOTICE messages indicating that it is resending<br>RESET, and I often want to silence those messages without silencing the entire<br>DMSC category. This is now easily possible by setting DRESET logging to<br>LOGL_ERROR. There is additional "link up" / "link lost" logging on DMSC, so all<br>interesting info is still visible on DMSC.<br><br>Change-Id: Ib3c3a163186c40a93be0dea666230431172136df<br>---<br>M include/osmocom/bsc/Makefile.am<br>M include/osmocom/bsc/a_reset.h<br>M include/osmocom/bsc/bsc_msc_data.h<br>A include/osmocom/bsc/bssmap_reset.h<br>M include/osmocom/bsc/debug.h<br>M include/osmocom/bsc/osmo_bsc_sigtran.h<br>M src/osmo-bsc/Makefile.am<br>M src/osmo-bsc/a_reset.c<br>A src/osmo-bsc/bssmap_reset.c<br>M src/osmo-bsc/osmo_bsc_main.c<br>M src/osmo-bsc/osmo_bsc_sigtran.c<br>M tests/handover/handover_test.c<br>12 files changed, 283 insertions(+), 190 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/25/20625/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/20625">change 20625</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/+/20625"/><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: Ib3c3a163186c40a93be0dea666230431172136df </div>
<div style="display:none"> Gerrit-Change-Number: 20625 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>