This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
lynxis lazus gerrit-no-reply at lists.osmocom.orglynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-iuh/+/15472 Change subject: iu_client: allow to control the notifications ...................................................................... iu_client: allow to control the notifications The iu_client is informing the library user about global event. In prepration to the tx_iu_release_free() call allow to disable upstream notificatiosn Change-Id: Ic93ef6fd54c995405e9c37a5e0c53f81a89850b7 --- M include/osmocom/ranap/iu_client.h M src/iu_client.c 2 files changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/72/15472/1 diff --git a/include/osmocom/ranap/iu_client.h b/include/osmocom/ranap/iu_client.h index 0cb84da..b388529 100644 --- a/include/osmocom/ranap/iu_client.h +++ b/include/osmocom/ranap/iu_client.h @@ -30,6 +30,7 @@ int integrity_active; struct gprs_ra_id ra_id; enum ranap_nsap_addr_enc rab_assign_addr_enc; + bool notification; /* send notification to the upstream user */ }; enum ranap_iu_event_type { diff --git a/src/iu_client.c b/src/iu_client.c index ec5290f..38c8a1d 100644 --- a/src/iu_client.c +++ b/src/iu_client.c @@ -116,6 +116,9 @@ if (!global_iu_event_cb) return 0; + if (!ue_ctx->notification) + return 0; + return global_iu_event_cb(ue_ctx, type, data); } @@ -125,6 +128,7 @@ ctx->rnc = rnc; ctx->conn_id = conn_id; + ctx->notification = true; llist_add(&ctx->list, &ue_conn_ctx_list); return ctx; -- To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/15472 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-iuh Gerrit-Branch: master Gerrit-Change-Id: Ic93ef6fd54c995405e9c37a5e0c53f81a89850b7 Gerrit-Change-Number: 15472 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lynxis at fe80.eu> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190910/49326e4a/attachment.htm>