Projects
osmocom:master
osmo-iuh
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 47
View file
commit_a8129566814b30f2054682e8d2113d25c2ce6fec.txt
Added
View file
commit_faf9462875549f121782bf0e7b1b36a5f13ff03b.txt
Deleted
View file
osmo-iuh_1.7.0.16.faf9.dsc -> osmo-iuh_1.7.0.17.a81295.dsc
Changed
@@ -2,7 +2,7 @@ Source: osmo-iuh Binary: libosmo-hnbap0, libosmo-hnbap-dbg, libosmo-hnbap-dev, libosmo-ranap7, libosmo-ranap-dbg, libosmo-ranap-dev, libosmo-rua0, libosmo-rua-dbg, libosmo-rua-dev, libosmo-sabp1, libosmo-sabp-dbg, libosmo-sabp-dev, libosmo-iuh-dev Architecture: any -Version: 1.7.0.16.faf9 +Version: 1.7.0.17.a81295 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/osmohnbgw Standards-Version: 3.9.8 @@ -24,8 +24,8 @@ libosmo-sabp-dev deb libdevel extra arch=any libosmo-sabp1 deb libs extra arch=any Checksums-Sha1: - b9536e5640293c53e30023615a0b99231d4d3a0a 10122736 osmo-iuh_1.7.0.16.faf9.tar.xz + 6699e94c975820e7455e2562235bb681d41d16d4 10120324 osmo-iuh_1.7.0.17.a81295.tar.xz Checksums-Sha256: - a711560b49ac28dfa873ffc00b768552dffa08e734882ad102d4dc5d6ffeadeb 10122736 osmo-iuh_1.7.0.16.faf9.tar.xz + 39b48aa4689da62f5fe5c44954484d83f6459d8e6ced6bce9c4708ce4070abd1 10120324 osmo-iuh_1.7.0.17.a81295.tar.xz Files: - 90092589bc8c26649464df499da929ae 10122736 osmo-iuh_1.7.0.16.faf9.tar.xz + 6c65a640567574578add20d05edfb5bd 10120324 osmo-iuh_1.7.0.17.a81295.tar.xz
View file
osmo-iuh_1.7.0.16.faf9.tar.xz/.tarball-version -> osmo-iuh_1.7.0.17.a81295.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.7.0.16-faf9 +1.7.0.17-a81295
View file
osmo-iuh_1.7.0.16.faf9.tar.xz/TODO-RELEASE -> osmo-iuh_1.7.0.17.a81295.tar.xz/TODO-RELEASE
Changed
@@ -14,3 +14,4 @@ libosmo-ranap move declaration (backwards compatible): asn_debug, asn1_xer_print: use osmocom/iuh/common.h instead of iu_client.h libosmo-ranap move definition (backwards compatible): enum ranap_nsap_addr_enc: use osmocom/ranap/ranap_common.h instead of iu_client.h libosmo-ranap move declaration (backwards compatible): ranap_iu_vty_init, ranap_iu_vty_config_write: use osmocom/ranap/vty.h instead of iu_client.h +libosmo-ranap add API ranap_new_msg_error_ind()
View file
osmo-iuh_1.7.0.16.faf9.tar.xz/debian/changelog -> osmo-iuh_1.7.0.17.a81295.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-iuh (1.7.0.16.faf9) unstable; urgency=medium +osmo-iuh (1.7.0.17.a81295) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Thu, 28 Aug 2025 11:48:50 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Thu, 28 Aug 2025 21:59:15 +0000 osmo-iuh (1.7.0) unstable; urgency=medium
View file
osmo-iuh_1.7.0.16.faf9.tar.xz/include/osmocom/ranap/ranap_msg_factory.h -> osmo-iuh_1.7.0.17.a81295.tar.xz/include/osmocom/ranap/ranap_msg_factory.h
Changed
@@ -7,6 +7,7 @@ #include <osmocom/ranap/RANAP_GlobalRNC-ID.h> #include <osmocom/ranap/RANAP_ChosenIntegrityProtectionAlgorithm.h> #include <osmocom/ranap/RANAP_ChosenEncryptionAlgorithm.h> +#include <osmocom/ranap/RANAP_CriticalityDiagnostics.h> #include <osmocom/ranap/RANAP_KeyStatus.h> /*! \brief generate RANAP DIRECT TRANSFER message */ @@ -55,6 +56,12 @@ struct msgb *ranap_new_msg_reset_ack(RANAP_CN_DomainIndicator_t domain, const RANAP_GlobalRNC_ID_t *rnc_id); +/*! \brief generate RANAP ERROR INDICATION message */ +struct msgb *ranap_new_msg_error_ind(const RANAP_Cause_t *cause, + const RANAP_CriticalityDiagnostics_t *criticalityDiagnostics, + const RANAP_CN_DomainIndicator_t *domain, + const RANAP_GlobalRNC_ID_t *rnc_id); + /*! \brief generate RANAP INITIAL UE message */ struct msgb *ranap_new_msg_initial_ue(uint32_t conn_id, int is_ps,
View file
osmo-iuh_1.7.0.16.faf9.tar.xz/src/ranap_msg_factory.c -> osmo-iuh_1.7.0.17.a81295.tar.xz/src/ranap_msg_factory.c
Changed
@@ -129,6 +129,60 @@ return msg; } +/*! \brief generate RANAP ERROR INDICATION message */ +struct msgb *ranap_new_msg_error_ind(const RANAP_Cause_t *cause, + const RANAP_CriticalityDiagnostics_t *criticalityDiagnostics, + const RANAP_CN_DomainIndicator_t *domain, + const RANAP_GlobalRNC_ID_t *rnc_id) +{ + RANAP_ErrorIndicationIEs_t ies; + RANAP_ErrorIndication_t out; + struct msgb *msg; + int rc; + + memset(&ies, 0, sizeof(ies)); + + if (cause) { + ies.presenceMask |= ERRORINDICATIONIES_RANAP_CAUSE_PRESENT; + memcpy(&ies.cause, cause, sizeof(ies.cause)); + } + + if (criticalityDiagnostics) { + ies.presenceMask |= ERRORINDICATIONIES_RANAP_CRITICALITYDIAGNOSTICS_PRESENT; + memcpy(&ies.criticalityDiagnostics, criticalityDiagnostics, sizeof(ies.criticalityDiagnostics)); + } + + if (domain) { + ies.presenceMask |= ERRORINDICATIONIES_RANAP_CN_DOMAININDICATOR_PRESENT; + ies.cN_DomainIndicator = *domain; + } + + if (rnc_id) { + ies.presenceMask = RESETACKNOWLEDGEIES_RANAP_GLOBALRNC_ID_PRESENT; + OCTET_STRING_noalloc(&ies.globalRNC_ID.pLMNidentity, + rnc_id->pLMNidentity.buf, + rnc_id->pLMNidentity.size); + ies.globalRNC_ID.rNC_ID = rnc_id->rNC_ID; + } + + memset(&out, 0, sizeof(out)); + rc = ranap_encode_errorindicationies(&out, &ies); + if (rc < 0) { + LOGP(DRANAP, LOGL_ERROR, "error encoding ErrorIndication IEs: %d\n", rc); + return NULL; + } + + msg = ranap_generate_initiating_message(RANAP_ProcedureCode_id_ErrorIndication, + RANAP_Criticality_ignore, + &asn_DEF_RANAP_ErrorIndication, + &out); + + /* release dynamic allocations attached to dt */ + ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_RANAP_ErrorIndication, &out); + + return msg; +} + /*! \brief generate RANAP INITIAL UE message */ struct msgb *ranap_new_msg_initial_ue(uint32_t conn_id, int is_ps, const RANAP_GlobalRNC_ID_t *rnc_id,
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.