Projects
osmocom:master
osmo-hnbgw
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 113
View file
commit_3140381337a968205aee9d0427a0b1e4bbc208f9.txt
Added
View file
commit_3fb99d143a9e7ffc788d1d9b95ea243d5c5dfc89.txt
Deleted
View file
osmo-hnbgw_1.6.0.8.3fb9.dsc -> osmo-hnbgw_1.6.0.10.3140.dsc
Changed
@@ -2,7 +2,7 @@ Source: osmo-hnbgw Binary: osmo-hnbgw, osmo-hnbgw-dbg, osmo-hnbgw-doc Architecture: any all -Version: 1.6.0.8.3fb9 +Version: 1.6.0.10.3140 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/osmo-hnbgw Standards-Version: 3.9.8 @@ -14,8 +14,8 @@ osmo-hnbgw-dbg deb debug extra arch=any osmo-hnbgw-doc deb doc optional arch=all Checksums-Sha1: - 18800b9a38fbc6529e3c064b65d50e9a671ec03b 120052 osmo-hnbgw_1.6.0.8.3fb9.tar.xz + 4c77335d34bde72720e463027bb01bfaad65f4e2 120108 osmo-hnbgw_1.6.0.10.3140.tar.xz Checksums-Sha256: - 7b0519a59d8f4bd647200de901a09141f35ff085d59ce75bd6751eaa33cb5c16 120052 osmo-hnbgw_1.6.0.8.3fb9.tar.xz + 967255af1b7171797cd38ea67917a6e936587ebc26af84f74a722fd880694704 120108 osmo-hnbgw_1.6.0.10.3140.tar.xz Files: - 9556b96f1c9bbc1ab22e8d94fe6541b1 120052 osmo-hnbgw_1.6.0.8.3fb9.tar.xz + 3902f9e730ae6762a1b5c1f28750ae32 120108 osmo-hnbgw_1.6.0.10.3140.tar.xz
View file
osmo-hnbgw_1.6.0.8.3fb9.tar.xz/.tarball-version -> osmo-hnbgw_1.6.0.10.3140.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.6.0.8-3fb9 +1.6.0.10-3140
View file
osmo-hnbgw_1.6.0.8.3fb9.tar.xz/debian/changelog -> osmo-hnbgw_1.6.0.10.3140.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-hnbgw (1.6.0.8.3fb9) unstable; urgency=medium +osmo-hnbgw (1.6.0.10.3140) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Mon, 07 Oct 2024 16:56:08 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Fri, 25 Oct 2024 23:01:22 +0000 osmo-hnbgw (1.6.0) unstable; urgency=medium
View file
osmo-hnbgw_1.6.0.8.3fb9.tar.xz/src/osmo-hnbgw/hnbgw_rua.c -> osmo-hnbgw_1.6.0.10.3140.tar.xz/src/osmo-hnbgw/hnbgw_rua.c
Changed
@@ -166,6 +166,20 @@ return hnbgw_rua_tx(hnb, msg); } +/* Send Disconnect to RUA without RANAP data */ +static void rua_tx_disc_conn_fail(struct hnb_context *hnb, bool is_ps, uint32_t context_id) +{ + RUA_Cause_t rua_cause = { + .present = RUA_Cause_PR_radioNetwork, + .choice.radioNetwork = RUA_CauseRadioNetwork_connect_failed, + }; + + LOG_HNBP(hnb->persistent, LOGL_INFO, "Tx RUA Disconnect\n"); + + if (rua_tx_disc(hnb, is_ps, context_id, &rua_cause, NULL, 0)) + LOG_HNBP(hnb->persistent, LOGL_ERROR, "Failed to send Disconnect to RUA\n"); +} + static struct value_string rua_procedure_code_names = { { RUA_ProcedureCode_id_Connect, "Connect" }, { RUA_ProcedureCode_id_DirectTransfer, "DirectTransfer" }, @@ -228,7 +242,6 @@ struct msgb *ranap_msg = NULL; struct hnbgw_context_map *map = NULL; bool is_ps; - int logl; switch (cN_DomainIndicator) { case RUA_CN_DomainIndicator_cs_domain: @@ -253,7 +266,6 @@ } map = context_map_find_by_rua_ctx_id(hnb, context_id, is_ps); - logl = LOGL_ERROR; switch (rua_procedure) { case RUA_ProcedureCode_id_Connect: @@ -270,6 +282,7 @@ LOGHNB(hnb, DRUA, LOGL_ERROR, "Failed to create context map for %s: rx RUA %s with %u bytes RANAP data\n", is_ps ? "IuPS" : "IuCS", rua_procedure_code_name(rua_procedure), data ? len : 0); + rua_tx_disc_conn_fail(hnb, is_ps, context_id); return -EINVAL; } break; @@ -278,13 +291,19 @@ /* For RUA Disconnect, do not spam the ERROR log. It is just a stray Disconnect, no harm done. * Context: some CN are known to rapidly tear down SCCP without waiting for RUA to disconnect gracefully * (IU Release Complete). Such CN would cause ERROR logging for each and every released context map. */ - logl = LOGL_DEBUG; - /* fall thru */ + if (!map) { + LOGHNB(hnb, DRUA, LOGL_DEBUG, "rx RUA %s for unknown RUA context %u\n", + rua_procedure_code_name(rua_procedure), context_id); + return -EINVAL; + } + break; + default: /* Any message other than Connect must have a valid RUA context */ if (!map) { - LOGHNB(hnb, DRUA, logl, "rx RUA %s for unknown RUA context %u\n", + LOGHNB(hnb, DRUA, LOGL_ERROR, "rx RUA %s for unknown RUA context %u\n", rua_procedure_code_name(rua_procedure), context_id); + rua_tx_disc_conn_fail(hnb, is_ps, context_id); return -EINVAL; } break;
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
.