<p>lynxis lazus <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-iuh/+/15472">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">iu_client: allow to control the notifications<br><br>The iu_client is informing the library user about global event.<br>In prepration to the tx_iu_release_free() call allow to<br>disable upstream notificatiosn<br><br>Change-Id: Ic93ef6fd54c995405e9c37a5e0c53f81a89850b7<br>---<br>M TODO-RELEASE<br>M include/osmocom/ranap/iu_client.h<br>M src/iu_client.c<br>3 files changed, 6 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/TODO-RELEASE b/TODO-RELEASE</span><br><span>index d0852fc..41d04bc 100644</span><br><span>--- a/TODO-RELEASE</span><br><span>+++ b/TODO-RELEASE</span><br><span>@@ -7,3 +7,4 @@</span><br><span> # If any interfaces have been added since the last public release: c:r:a + 1.</span><br><span> # If any interfaces have been removed or changed since the last public release: c:r:0.</span><br><span> #library what            description / commit summary line</span><br><span style="color: hsl(120, 100%, 40%);">+libranap    iu_client.h struct ranap_ue_conn_ctx: add field notification</span><br><span>diff --git a/include/osmocom/ranap/iu_client.h b/include/osmocom/ranap/iu_client.h</span><br><span>index 0cb84da..b388529 100644</span><br><span>--- a/include/osmocom/ranap/iu_client.h</span><br><span>+++ b/include/osmocom/ranap/iu_client.h</span><br><span>@@ -30,6 +30,7 @@</span><br><span>     int integrity_active;</span><br><span>        struct gprs_ra_id ra_id;</span><br><span>     enum ranap_nsap_addr_enc rab_assign_addr_enc;</span><br><span style="color: hsl(120, 100%, 40%);">+ bool notification; /* send notification to the upstream user */</span><br><span> };</span><br><span> </span><br><span> enum ranap_iu_event_type {</span><br><span>diff --git a/src/iu_client.c b/src/iu_client.c</span><br><span>index ec5290f..38c8a1d 100644</span><br><span>--- a/src/iu_client.c</span><br><span>+++ b/src/iu_client.c</span><br><span>@@ -116,6 +116,9 @@</span><br><span>       if (!global_iu_event_cb)</span><br><span>             return 0;</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ if (!ue_ctx->notification)</span><br><span style="color: hsl(120, 100%, 40%);">+         return 0;</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>  return global_iu_event_cb(ue_ctx, type, data);</span><br><span> }</span><br><span> </span><br><span>@@ -125,6 +128,7 @@</span><br><span> </span><br><span>    ctx->rnc = rnc;</span><br><span>   ctx->conn_id = conn_id;</span><br><span style="color: hsl(120, 100%, 40%);">+    ctx->notification = true;</span><br><span>         llist_add(&ctx->list, &ue_conn_ctx_list);</span><br><span> </span><br><span>     return ctx;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-iuh/+/15472">change 15472</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-iuh/+/15472"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-iuh </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ic93ef6fd54c995405e9c37a5e0c53f81a89850b7 </div>
<div style="display:none"> Gerrit-Change-Number: 15472 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>