<p>neels <strong>uploaded patch set #5</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/18506">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">add gsm23236: MSC pooling: TMSI and NRI utility functions<br><br>These utilities will be used by osmo-bsc to determine the Network Resource<br>Indicator seen in the TMSI, and (potentially) by osmo-msc to compose a TMSI<br>with a specific NRI, for osmo-bsc's load balancing between several MSCs.<br><br>Add utility functions to:<br>- extract an NRI value from a TMSI.<br>- overwrite the NRI value in a TMSI.<br>- limit an NRI in a (random) TMSI to a given list of ranges.<br>- add NRI value ranges to a list.<br>- remove them from a list.<br>- match NRI value (range) to a list.<br>- parse NRI values from string, for VTY.<br>- common VTY functionality of adding/removing NRI values from argv.<br><br>Add C tests for the above.<br><br>Why we need public API for NRI ranges: In osmo-bsc alone, we need the same NRI<br>API twice, 1: to manage/list NRI value ranges per-MSC, and 2: to manage/list<br>NULL-NRI values. If we also consider (potentially) adding NRI support to<br>osmo-msc, we need the same API twice again there. Hence it is useful to define<br>re-used API up here in libosmocore.<br><br>Related: OS#3682<br>Change-Id: Icb57a2dd9323c7ea11b34003eccc7e68a0247bf5<br>---<br>M include/Makefile.am<br>A include/osmocom/gsm/gsm23236.h<br>M src/gsm/Makefile.am<br>A src/gsm/gsm23236.c<br>M src/gsm/libosmogsm.map<br>M tests/Makefile.am<br>A tests/gsm23236/gsm23236_test.c<br>A tests/gsm23236/gsm23236_test.ok<br>M tests/testsuite.at<br>9 files changed, 1,762 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/06/18506/5</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/18506">change 18506</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/+/18506"/><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: Icb57a2dd9323c7ea11b34003eccc7e68a0247bf5 </div>
<div style="display:none"> Gerrit-Change-Number: 18506 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </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: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Vadim Yanitskiy <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>