Age | Commit message (Collapse) | Author | Files | Lines |
|
gcc warns about set but not used variable otherwise.
Change-Id: Ia49b7e88a66a4a744c2b14db6331cc0de431f60b
|
|
Change-Id: I3b0a6218ac6242d03642972d5b244815ce9d97a0
|
|
Change-Id: I12870a1cf2462b7cc2868a54f58416e03a856084
|
|
osmo_hexdump expect it to be a const unsigned char*, and gcc warns about
incorrect signedness.
Change-Id: I7e0622f502a4442d700340b0f1c2f8cd01e90ecd
|
|
Related: OS#4912
Change-Id: I339cc37a259e30b131fadbdaebd413c54b04f0a0
|
|
we unconditionally depend on this header file, yet nothing
in configure.ac ensures its presence. Building on a clean
Debian 10 with all existing dependencies installed passes
configure but fails at compilation time.
Change-Id: I0a4407ef6ee512ad5ea8775d90acfe1c4fa67cd0
|
|
for some strange reason we didn't yet build the manual in the debian
package build.
Change-Id: Id53956494144b46e78fc25a176a9b8917788d86e
|
|
So far we don't really have any way of matching a given log message
to a specific hNB. Let's introduce a new log macro, together with
a configuration directive to select whether the hNB-ID or the
UMTS CellID shall be used.
Change-Id: I6113925216c6f88add2c6d27bdf47ccbb017f293
|
|
Change-Id: I4c539168597187408c31b906fd57844e0f165c9b
|
|
Change-Id: I38f59aec482d3a8e2690913bc55728a96399659e
Related: OS#4421
|
|
We don't want messages to be sent being delayed.
Related: OS#4499
Change-Id: I333e7f868e426f7d7ebb328ea2a441d769ea8ebd
|
|
See https://lists.osmocom.org/pipermail/openbsc/2020-October/013278.html.
Change-Id: I5c0a1efc21a5cc085b701be24dbcca1aaae15ee6
Depends: I8baf31ace93c536421893c2aa4e3d9d298dcbcc6
Related: SYS#4937
|
|
"127.0.0.1" is changed to "localhost" to let local NSS decide whether to
use IPv4 or IPv6. In newish systems, IPv6 ::1 will be selected since
IPv6 takes precedence over IPv4.
Similarly, the default source addr needs to be changed from NULL to "localhost"
since for some yet unknwon reason, getaddrinfo(AF_UNSPEC, NULL) returns
first IPv4 "0.0.0.0" and later "::", which is inconsistent with
getaddrinfo("localhost") result, resulting in src=IPv4(0.0.0.0) and
dst=IPv6(::1), which is incompatible and will fail. In any case, since
the default remote address is a local one and it's the client side,
there's no real logical change since the kernel would anyway should have
taken a local address anyway.
Change-Id: I3c07e6aa0c87b752c9ea22eb4936f6993de6571f
|
|
Change-Id: If6e115ca23ae29696edf74ae010035e85aaa085c
|
|
Let's add the type name whose encoding failed to give us some kind
of a clue what's happening in those situations.
Change-Id: I802677ba7164a4d3382d4bc00f5e1c7ab7067d89
|
|
Change-Id: I8573098cc7dd2d8920914f93490c5ddf978418b0
|
|
Remove OpenSUSE bug report link, set version to @VERSION@, make it build
with CentOS 8 etc.
Related: OS#4550
Change-Id: Ibec1a22952ecfb0578bb4611e65ad819f5984fd8
|
|
With new gcc 10.1.0, tests failed at runtime when built with ASAN
enabled, since some global variables where defined multiple times.
See OS#4556 for a sample Asan error.
Fixes: OS#4556
Change-Id: I12a667ea8a9f16404c13c9218b246d2e3acfe3e8
|
|
Change-Id: I3ef7a3f1c3247615619a0d01c92d8f80572b0dfe
|
|
Copy the RPM spec file from:
https://build.opensuse.org/project/show/home:mnhauke:osmocom:nightly
Related: OS#4550
Change-Id: Ic3f146c1eb5b5d02277ec869516a1ec95987d4cd
|
|
/usr/bin/ld: test_common.o:(.bss+0x0): multiple definition of `talloc_asn1_ctx'; test-helpers.o:(.bss+0x0): first defined here
See also https://alioth-lists.debian.net/pipermail/debian-mobcom-maintainers/Week-of-Mon-20200413/000652.html
Change-Id: I4ce41158bb27e6b9242613106f226fc86995c53c
|
|
The hnbgw application uses LOGL_DEBUG for all its log categories. This
is way to verbose, lets set LOGL_NOTICE as default loglevel instead.
Change-Id: If3dbed88307814764bab9e7f1821e1dc0d8be43b
Related: OS#2577
|
|
As pointed out at https://github.com/libexpat/libexpat/issues/312
libtool does not play nice with clang sanitizer builds at all.
For those builds LD shoud be set to clang too (and LDFLAGS needs the
sanitizer flags as well), because the clang compiler driver knows how
linking to the sanitizer libs works, but then at a later stage libtool
fails to actually produce the shared libraries and the build fails. This
is fixed by this patch.
Addtionally LD_LIBRARY_PATH has no effect on conftest runs during
configure time, so the rpath needs to be set to the asan library path to
ensure the configure run does not fail due to a missing asan library,
i.e.:
SANS='-fsanitize=memory -fsanitize-recover=all -shared-libsan'
export CC=clang-10
ASANPATH=$(dirname `$CC -print-file-name=libclang_rt.asan-x86_64.so`)
export LDFLAGS="-Wl,-rpath,$ASANPATH $SANS $LDFLAGS"
Change-Id: I74cdca5c8bd5a32b6fb05906280cc1cdd64e9369
|
|
Change-Id: Ie931d11efd7bb083558852a7f329c984c17fec62
|
|
This unit test would not pass on big-endian machines.
Change-Id: I60dbcaa89b031c9a81c35e1dd0d9c963d486014c
|
|
Change-Id: I7ebc99fe919fe7ba515c9d8ba601dceb820bf11f
|
|
Related: OS#2767
Depends: Ia2508d4c7b0fef9cdc57e7e122799a480e340bf7 (osmo-gsm-manuals)
Change-Id: I531b272f49edcbf4194603e554b535b83a1e5780
|
|
Change-Id: I0919392b716e2812ff19d7efa5d1ba535b08eb91
|
|
Change-Id: Ic7f730c9f51384006e471b5e8452f5821b458bbf
|
|
rua_msg_factory.c:19:48: warning: pointer targets in passing argument 2 of ‘OCTET_STRING_fromBuf’ differ in signedness [-Wpointer-sign]
Change-Id: Ie0a2e8e11902dc56720ff8121edde0e148fa587a
|
|
Caught by compiler:
test-ranap.c:54:30: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘RANAP_MaxBitrate_t’ {aka ‘long int’} [-Wformat=]
test-ranap.c:78:30: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘RANAP_CauseMisc_t’ {aka ‘long int’} [-Wformat=]
Change-Id: Icc4e81beaa35e13aea3adfed983016c78b730061
|
|
Catched by compiler:
hnb-test-ranap.c:76:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘RANAP_CN_DomainIndicator_t’ {aka ‘long int’} [-Wformat=]
Change-Id: Ie4cd6a36fd0e9a871a1815d600e8a321a3d2a208
|
|
Change-Id: I4fae9f84a83af280846b07eaa139ff4a05784a2e
|
|
Change-Id: I5f42c0ad1a930004415f097d984e1fd1b2d277e6
|
|
Related: OS#4342
Change-Id: I936220e95a3334d8052bb2c52fbf335a8a5c3711
|
|
Related: OS#4342
Change-Id: I5e0e13a1d4fa7db373807d72d293da6933966452
|
|
Change-Id: Ia9ecf903e79b282aa4fa88a291424681d0fe9d89
Fixes: CID#206089
|
|
Make build work with python3 and drop the python2 dependency.
Related: OS#2819
Change-Id: Idb9d7a349ddb7619c784823f740648c7956bae5e
|
|
Change-Id: I107d2c0e8c82523a8fb38f128bb81e32e437bdd8
|
|
Change-Id: Id33caf93325074f9e5b2b322ac497b1c21c3f406
|
|
This adds a very basic OsmoHNBGW user manual with an "overview" and
"running" chapter. It still misses any information on configuration.
Change-Id: I54825a4ce5a457f87b0618332347eed8ea54afcb
Closes: OS#2588
|
|
The cause code no remaining rab should be only used when closing the
Iu connection on this specific reason. Change default to NAS Success
Release which is a usual release.
Change-Id: Icf3f06b0de7dcda9f967ae29863054ef813c75e5
|
|
osmo_sccp_user_sap_down return 0 on success, negative values on failure
Change-Id: I3b7c2296eb8b26f0881cee643b834336daab86ea
|
|
This uses the (modified) Osmocom asn1c on the (modified) SABP ASN.1
syntax to generate C code + header files for SABP parsing/encoding.
It also adds some helper code for message encoding and decoding as well
as a new libosmo-sabp shared library which can be used by programs to
implement SABP related functionality.
Change-Id: Ib9580d1af96354398da4c9f97b28a0e23d56e275
|
|
... this is what's required for asn1c to generate nice C language
enums for it. Conversion was performed semi-automatically by use
of asn1enum.pl
Change-Id: I0cd78a102ec6e31c696efc2cc6a4f08a0ba6d89e
|
|
Change-Id: I8211bc334b325e8950edcd769917f164a65591ba
|
|
They cannot immediately be consumed by our (ancient, hacked) asn1c
toolchain, so we have to massage them into the supported format
in follow-up commits.
Change-Id: I9fa05d14493889e0a23354938b04a335a117f242
|
|
This fixes the following error message:
Experimental keys on scalar is now forbidden at ./asn1enum.pl line 25.
Change-Id: I4680627acfd8f3ed73d32324fe0a54b554268f3b
|
|
Otherwise, the "ctrl" VTY node is not available and CTRL ip address
cannot be set.
Change-Id: I73f64b951690ec23f829c4855b2caeefa66ad35d
|
|
Allow to free UE ctx when receiving a Iu Release Complete.
In preparation of ranap_iu_tx_release_free() it requires
a field to free the Iu ctx on it's own without depending
on the upstream user.
Change-Id: Iac41cd3cce3232d01b2f7ede0cc46226c2cfb6c0
|