Projects
osmocom:latest
libosmocore
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 11
View file
libosmocore.spec
Changed
@@ -14,13 +14,13 @@ Name: libosmocore Requires: osmocom-latest -Version: 1.10.0 +Version: 1.10.1 Release: 0 Summary: The Open Source Mobile Communications Core Library License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later Group: Productivity/Telephony/Utilities Url: https://osmocom.org/projects/libosmocore/wiki/Libosmocore -Source: libosmocore_1.10.0.tar.xz +Source: libosmocore_1.10.1.tar.xz Source1: rpmlintrc BuildRequires: automake >= 1.6 BuildRequires: libtool >= 2
View file
libosmocore_1.10.0.dsc -> libosmocore_1.10.1.dsc
Changed
@@ -2,7 +2,7 @@ Source: libosmocore Binary: libosmocore, libosmocodec4, libosmocodec-doc, libosmocoding0, libosmocoding-doc, libosmocore22, libosmocore-doc, libosmogb14, libosmogb-doc, libosmogsm20, libosmogsm-doc, libosmoisdn0, libosmoisdn-doc, libosmovty13, libosmovty-doc, libosmoctrl0, libosmoctrl-doc, libosmosim2, libosmosim-doc, libosmousb0, libosmousb-doc, libosmocore-dev, libosmocore-utils, libosmocore-dbg Architecture: any all -Version: 1.10.0 +Version: 1.10.1 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/libosmocore Standards-Version: 3.9.8 @@ -35,8 +35,8 @@ libosmovty-doc deb doc optional arch=all libosmovty13 deb libs optional arch=any Checksums-Sha1: - 25e7afd5e3862d4c010b1af68b5e6f8593502178 1115420 libosmocore_1.10.0.tar.xz + 043e8c1afab1717e12d54ed95dc139d7bca91a8d 1116648 libosmocore_1.10.1.tar.xz Checksums-Sha256: - b1dcaf683726aac3da1a12654d511a015745828e7f01ad09ee5db1b8f757aa16 1115420 libosmocore_1.10.0.tar.xz + e3726b0dd854f4a0d4db777f61940100dff33b23aee8b2b8220d2050481aec99 1116648 libosmocore_1.10.1.tar.xz Files: - fd0bd2cda08082d51e414377c55e33fe 1115420 libosmocore_1.10.0.tar.xz + bfb0f85472acf18ef48d734915021fa3 1116648 libosmocore_1.10.1.tar.xz
View file
libosmocore_1.10.0.tar.xz/.tarball-version -> libosmocore_1.10.1.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.10.0 +1.10.1
View file
libosmocore_1.10.0.tar.xz/debian/changelog -> libosmocore_1.10.1.tar.xz/debian/changelog
Changed
@@ -1,3 +1,17 @@ +libosmocore (1.10.1) unstable; urgency=medium + + Vadim Yanitskiy + * gsm48_encode_bearer_cap(): properly set 'Structure' in octet 4 + + Pau Espin Pedrol + * osmo_io: Increase default queue max_length from 32 to 1024 + * gsmtap: Increase txqueue max_length from 64 to 1024 + * osmo_io: Improve osmo_iofd_notify_connected() documentation + * osmo_io: segmentation cb: Initialize null ptr every iteration + * osmo_io: iofd_msgb_alloc(): Allow allocating msgb of len=0xffff + + -- Pau Espin Pedrol <pespin@sysmocom.de> Wed, 15 Jan 2025 17:31:58 +0100 + libosmocore (1.10.0) unstable; urgency=medium Mychaela N. Falconia
View file
libosmocore_1.10.0.tar.xz/src/core/Makefile.am -> libosmocore_1.10.1.tar.xz/src/core/Makefile.am
Changed
@@ -1,7 +1,7 @@ # This is _NOT_ the library release version, it's an API version. # Please read chapter "Library interface versions" of the libtool documentation # before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html -LIBVERSION=22:0:0 +LIBVERSION=22:1:0 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) AM_CFLAGS = -Wall $(TALLOC_CFLAGS) $(PTHREAD_CFLAGS) $(LIBSCTP_CFLAGS) $(LIBMNL_CFLAGS) $(URING_CFLAGS)
View file
libosmocore_1.10.0.tar.xz/src/core/gsmtap_util.c -> libosmocore_1.10.1.tar.xz/src/core/gsmtap_util.c
Changed
@@ -496,8 +496,8 @@ if (osmo_iofd_register(gti->out, gti->wq.bfd.fd) < 0) goto err_cleanup; - /* osmo write queue previously used was set up with value of 64 */ - osmo_iofd_set_txqueue_max_length(gti->out, 64); + /* Use a big enough tx queue to avoid gsmtap messages being dropped: */ + osmo_iofd_set_txqueue_max_length(gti->out, 1024); } return gti;
View file
libosmocore_1.10.0.tar.xz/src/core/osmo_io.c -> libosmocore_1.10.1.tar.xz/src/core/osmo_io.c
Changed
@@ -172,7 +172,7 @@ { uint16_t headroom = iofd->msgb_alloc.headroom; - OSMO_ASSERT(iofd->msgb_alloc.size < 0xffff - headroom); + OSMO_ASSERT(iofd->msgb_alloc.size <= 0xffff - headroom); return msgb_alloc_headroom_c(iofd, iofd->msgb_alloc.size + headroom, headroom, "osmo_io_msgb"); } @@ -328,7 +328,7 @@ void iofd_handle_segmented_read(struct osmo_io_fd *iofd, struct msgb *msg, int rc) { int res; - struct msgb *pending = NULL; + struct msgb *pending; OSMO_ASSERT(iofd->mode == OSMO_IO_FD_MODE_READ_WRITE); @@ -338,6 +338,7 @@ } do { + pending = NULL; res = iofd_handle_segmentation(iofd, msg, &pending); if (res != IOFD_SEG_ACT_DEFER || rc < 0) iofd->io_ops.read_cb(iofd, rc, msg); @@ -637,7 +638,7 @@ * The created osmo_io_fd is initialized with some default settings: * * msgb allocations size: OSMO_IO_DEFAULT_MSGB_SIZE (1024) * * msgb headroom: OSMO_IO_DEFAULT_MSGB_HEADROOM (128) - * * tx_queue depth: 32 + * * tx_queue depth: 1024 * * Those values may be adjusted from their defaults by using osmo_iofd_set_alloc_info() and * osmo_iofd_set_txqueue_max_length() on the osmo_io_fd. @@ -696,7 +697,7 @@ iofd->msgb_alloc.size = OSMO_IO_DEFAULT_MSGB_SIZE; iofd->msgb_alloc.headroom = OSMO_IO_DEFAULT_MSGB_HEADROOM; - iofd->tx_queue.max_length = 32; + iofd->tx_queue.max_length = 1024; INIT_LLIST_HEAD(&iofd->tx_queue.msg_queue); return iofd; @@ -994,12 +995,22 @@ /*! Request notification of the user if/when a client socket is connected. * Calling this function will request osmo_io to notify the user (via - * write call-back) once a non-blocking outbound connect() of the - * socket completes. + * write call-back with res=0 and msgb=NULL) once a non-blocking outbound + * connect() of the socket completes. * * This only works for connection oriented sockets in either * OSMO_IO_FD_MODE_READ_WRITE or OSMO_IO_FD_MODE_RECVMSG_SENDMSG mode. * + * The fact that the write call-back is called with msgb=NULL can be used to + * distinguish before this "connected" notification and a socket write failure. + * + * If the server transmits data quick enough after accepting the connection, + * it may happen that a read call-back is triggered towards the user before this + * special write-callback, since both events may come together from the kernel. + * Hence under those scenarios where server starts the communication, it is + * important not to assume or require that the write-callback(res=0, msgb=NULL) + * will be the first one triggered. + * * \paramin iofd the file descriptor */ void osmo_iofd_notify_connected(struct osmo_io_fd *iofd) {
View file
libosmocore_1.10.0.tar.xz/src/gsm/Makefile.am -> libosmocore_1.10.1.tar.xz/src/gsm/Makefile.am
Changed
@@ -1,7 +1,7 @@ # This is _NOT_ the library release version, it's an API version. # Please read chapter "Library interface versions" of the libtool documentation # before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html -LIBVERSION=21:0:1 +LIBVERSION=21:1:1 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include AM_CFLAGS = -Wall $(TALLOC_CFLAGS)
View file
libosmocore_1.10.0.tar.xz/src/gsm/gsm48_ie.c -> libosmocore_1.10.1.tar.xz/src/gsm/gsm48_ie.c
Changed
@@ -339,8 +339,23 @@ case GSM48_BCAP_ITCAP_3k1_AUDIO: case GSM48_BCAP_ITCAP_FAX_G3: lvi++ |= 0x80; /* last IE of octet 3 etc */ - /* octet 4 */ - lvi++ = 0x88; + /* octet 4 + * 1... .... = Extension: No Extension + * .0.. .... = Compression: Not Allowed + * ..xx .... = Structure: (see below) + * .... 1... = Duplex mode: Full + * .... .0.. = Configuration: Point-to-point + * .... ..0. = NIRR: No meaning is associated with this value + * .... ...0 = Establishment: Demand + * + * For connection element "non transparent": + * ..00 .... = Structure: Service data unit integrity (0) + * For connection element "transparent": + * ..11 .... = Structure: Unstructured (3) */ + if ((bcap->data.transp & 0x01) == 0) + lvi++ = 0x88 | (0x03 << 4); + else + lvi++ = 0x88; /* octet 5 */ lvi++ = 0x80 | ((bcap->data.rate_adaption & 3) << 3) | (bcap->data.sig_access & 7);
View file
libosmocore_1.10.0.tar.xz/tests/gsm0408/gsm0408_test.c -> libosmocore_1.10.1.tar.xz/tests/gsm0408/gsm0408_test.c
Changed
@@ -31,7 +31,7 @@ #include <osmocom/core/msgb.h> -static const uint8_t csd_9600_v110_lv = { 0x07, 0xa1, 0x88, 0x89, 0x21, 0x15, 0x63, 0x80 }; +static const uint8_t csd_9600_v110_lv = { 0x07, 0xa1, 0xb8, 0x89, 0x21, 0x15, 0x63, 0x80 }; static const struct gsm_mncc_bearer_cap bcap_csd_9600_v110 = { .transfer = GSM48_BCAP_ITCAP_UNR_DIG_INF,
View file
libosmocore_1.10.0.tar.xz/tests/gsm0408/gsm0408_test.err -> libosmocore_1.10.1.tar.xz/tests/gsm0408/gsm0408_test.err
Changed
@@ -1,6 +1,3 @@ -Incorrect encoded result of CSD 2400/V.22bis/transparent: - should: 07 a2 b8 81 21 13 43 83 - is: 07 a2 88 81 21 13 43 83 Incorrect encoded result of Speech, without octet 3a: should: 01 a0 is: 02 20 80
View file
libosmocore_1.10.0.tar.xz/tests/gsm0408/gsm0408_test.ok -> libosmocore_1.10.1.tar.xz/tests/gsm0408/gsm0408_test.ok
Changed
@@ -1,6 +1,6 @@ Test `CSD 9600/V.110/transparent' passed Test `CSD 4800/RLP/non-transparent' passed -Test `CSD 2400/V.22bis/transparent' failed +Test `CSD 2400/V.22bis/transparent' passed Test `Speech, all codecs' passed Test `Speech, without octet 3a' failed Simple TMSI encoding test....passed
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
.