Projects
osmocom:master
libosmocore
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 303
View file
libosmocore.spec
Changed
@@ -14,13 +14,13 @@ Name: libosmocore Requires: osmocom-master -Version: 1.9.0.130.7f1fb +Version: 1.9.0.131.06922 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.9.0.130.7f1fb.tar.xz +Source: libosmocore_1.9.0.131.06922.tar.xz Source1: rpmlintrc BuildRequires: automake >= 1.6 BuildRequires: libtool >= 2
View file
commit_06922fad6c4a4403973303a614da084568213c87.txt
Added
View file
commit_7f1fb3ea817578f3f2f63e8065aa50f8355caa3b.txt
Deleted
View file
libosmocore_1.9.0.130.7f1fb.dsc -> libosmocore_1.9.0.131.06922.dsc
Changed
@@ -2,7 +2,7 @@ Source: libosmocore Binary: libosmocore, libosmocodec4, libosmocodec-doc, libosmocoding0, libosmocoding-doc, libosmocore21, 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.9.0.130.7f1fb +Version: 1.9.0.131.06922 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: - 4123c67ebed1b52008d0a5f1c7cf05712bb0ea90 1102372 libosmocore_1.9.0.130.7f1fb.tar.xz + c2d666bd93aec584ca236d3362efd3ece910a0b0 1102468 libosmocore_1.9.0.131.06922.tar.xz Checksums-Sha256: - f69d5428a78cef9a7fa7f5c0f175669a09d6ac63a1d423be606eec650792d566 1102372 libosmocore_1.9.0.130.7f1fb.tar.xz + 8792787441b1a22d8fcfb6496993c9cec8821a436ad061cd2ab492ace6b81af7 1102468 libosmocore_1.9.0.131.06922.tar.xz Files: - b5981bda8b9f7ec17fa3e61c88e24250 1102372 libosmocore_1.9.0.130.7f1fb.tar.xz + 5edbebd0d803a61c160e30c9f99aa059 1102468 libosmocore_1.9.0.131.06922.tar.xz
View file
libosmocore_1.9.0.130.7f1fb.tar.xz/.tarball-version -> libosmocore_1.9.0.131.06922.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.9.0.130-7f1fb +1.9.0.131-06922
View file
libosmocore_1.9.0.130.7f1fb.tar.xz/debian/changelog -> libosmocore_1.9.0.131.06922.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -libosmocore (1.9.0.130.7f1fb) unstable; urgency=medium +libosmocore (1.9.0.131.06922) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Tue, 09 Jan 2024 16:42:35 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Thu, 18 Jan 2024 08:47:33 +0000 libosmocore (1.9.0) unstable; urgency=medium
View file
libosmocore_1.9.0.130.7f1fb.tar.xz/include/osmocom/isdn/v110.h -> libosmocore_1.9.0.131.06922.tar.xz/include/osmocom/isdn/v110.h
Changed
@@ -39,6 +39,13 @@ _NUM_OSMO_V110_SYNC_RA1 }; +extern const ubit_t osmo_v110_e1e2e3_NUM_OSMO_V110_SYNC_RA13; + +#define osmo_v110_e1e2e3_set(e_bits, rate) \ + memcpy(e_bits, osmo_v110_e1e2e3rate, 3) +#define osmo_v110_e1e2e3_cmp(e_bits, rate) \ + memcmp(e_bits, osmo_v110_e1e2e3rate, 3) + int osmo_v110_sync_ra1_get_user_data_chunk_bitlen(enum osmo_v100_sync_ra1_rate rate); int osmo_v110_sync_ra1_get_user_data_rate(enum osmo_v100_sync_ra1_rate rate); int osmo_v110_sync_ra1_get_intermediate_rate(enum osmo_v100_sync_ra1_rate rate);
View file
libosmocore_1.9.0.130.7f1fb.tar.xz/src/isdn/libosmoisdn.map -> libosmocore_1.9.0.131.06922.tar.xz/src/isdn/libosmoisdn.map
Changed
@@ -27,6 +27,7 @@ osmo_v110_decode_frame; osmo_v110_encode_frame; osmo_v110_ubit_dump; +osmo_v110_e1e2e3; osmo_v110_sync_ra1_get_user_data_chunk_bitlen; osmo_v110_sync_ra1_get_user_data_rate; osmo_v110_sync_ra1_get_intermediate_rate;
View file
libosmocore_1.9.0.130.7f1fb.tar.xz/src/isdn/v110.c -> libosmocore_1.9.0.131.06922.tar.xz/src/isdn/v110.c
Changed
@@ -143,6 +143,22 @@ /* I actually couldn't find any reference as to the value of F(ill) bits */ #define F 1 +/*! E1/E2/E3 bit values as per Table 5/V.110 */ +const ubit_t osmo_v110_e1e2e3_NUM_OSMO_V110_SYNC_RA13 = { + OSMO_V110_SYNC_RA1_600 = { 1, 0, 0 }, + OSMO_V110_SYNC_RA1_1200 = { 0, 1, 0 }, + OSMO_V110_SYNC_RA1_2400 = { 1, 1, 0 }, + OSMO_V110_SYNC_RA1_4800 = { 0, 1, 1 }, + OSMO_V110_SYNC_RA1_7200 = { 1, 0, 1 }, + OSMO_V110_SYNC_RA1_9600 = { 0, 1, 1 }, + OSMO_V110_SYNC_RA1_12000 = { 0, 0, 1 }, + OSMO_V110_SYNC_RA1_14400 = { 1, 0, 1 }, + OSMO_V110_SYNC_RA1_19200 = { 0, 1, 1 }, + OSMO_V110_SYNC_RA1_24000 = { 0, 0, 1 }, + OSMO_V110_SYNC_RA1_28800 = { 1, 0, 1 }, + OSMO_V110_SYNC_RA1_38400 = { 0, 1, 1 }, +}; + /*! Adapt from 6 synchronous 600bit/s input bits to a decoded V.110 frame. * \paramout fr caller-allocated output frame to which E+D bits are stored * \paramin d_in input user bits @@ -154,9 +170,7 @@ return -EINVAL; /* Table 6a / V.110 */ - fr->e_bits0 = 1; - fr->e_bits1 = 0; - fr->e_bits2 = 0; + osmo_v110_e1e2e3_set(fr->e_bits, OSMO_V110_SYNC_RA1_600); for (int i = 0; i < 6; i++) memset(fr->d_bits + i*8, d_ini, 8); @@ -168,7 +182,7 @@ if (out_len < 6) return -ENOSPC; - if (fr->e_bits0 != 1 || fr->e_bits1 != 0 || fr->e_bits2 != 0) + if (osmo_v110_e1e2e3_cmp(fr->e_bits, OSMO_V110_SYNC_RA1_600)) return -EINVAL; for (int i = 0; i < 6; i++) { @@ -190,9 +204,7 @@ return -EINVAL; /* Table 6b / V.110 */ - fr->e_bits0 = 0; - fr->e_bits1 = 1; - fr->e_bits2 = 0; + osmo_v110_e1e2e3_set(fr->e_bits, OSMO_V110_SYNC_RA1_1200); for (int i = 0; i < 12; i++) memset(fr->d_bits + i*4, d_ini, 4); @@ -204,7 +216,7 @@ if (out_len < 12) return -ENOSPC; - if (fr->e_bits0 != 0 || fr->e_bits1 != 1 || fr->e_bits2 != 0) + if (osmo_v110_e1e2e3_cmp(fr->e_bits, OSMO_V110_SYNC_RA1_1200)) return -EINVAL; for (int i = 0; i < 12; i++) { @@ -226,9 +238,7 @@ return -EINVAL; /* Table 6c / V.110 */ - fr->e_bits0 = 1; - fr->e_bits1 = 1; - fr->e_bits2 = 0; + osmo_v110_e1e2e3_set(fr->e_bits, OSMO_V110_SYNC_RA1_2400); for (int i = 0; i < 24; i++) { fr->d_bitsi*2 + 0 = d_ini; fr->d_bitsi*2 + 1 = d_ini; @@ -243,7 +253,7 @@ return -ENOSPC; /* Table 6c / V.110 */ - if (fr->e_bits0 != 1 || fr->e_bits1 != 1 || fr->e_bits2 != 0) + if (osmo_v110_e1e2e3_cmp(fr->e_bits, OSMO_V110_SYNC_RA1_2400)) return -EINVAL; for (int i = 0; i < 24; i++) { @@ -266,10 +276,8 @@ if (in_len != 36) return -EINVAL; - /* Table 6d / V.110 */ - fr->e_bits0 = 1; - fr->e_bits1 = 0; - fr->e_bits2 = 1; + /* Table 6d / V.110 (7200 is one of Nx3600) */ + osmo_v110_e1e2e3_set(fr->e_bits, OSMO_V110_SYNC_RA1_7200); memcpy(fr->d_bits + d_idx, d_in + 0, 10); d_idx += 10; /* D1..D10 */ memset(fr->d_bits + d_idx, F, 2); d_idx += 2; @@ -297,7 +305,8 @@ if (out_len < 36) return -ENOSPC; - if (fr->e_bits0 != 1 || fr->e_bits1 != 0 || fr->e_bits2 != 1) + /* Table 6d / V.110 (7200 is one of Nx3600) */ + if (osmo_v110_e1e2e3_cmp(fr->e_bits, OSMO_V110_SYNC_RA1_7200)) return -EINVAL; memcpy(d_out + 0, fr->d_bits + d_idx, 10); d_idx += 10; /* D1..D10 */ @@ -330,10 +339,8 @@ if (in_len != 48) return -EINVAL; - /* Table 6e / V.110 */ - fr->e_bits0 = 0; - fr->e_bits1 = 1; - fr->e_bits2 = 1; + /* Table 6e / V.110 (4800 is one of Nx4800) */ + osmo_v110_e1e2e3_set(fr->e_bits, OSMO_V110_SYNC_RA1_4800); memcpy(fr->d_bits, d_in, 48); @@ -345,7 +352,8 @@ if (out_len < 48) return -ENOSPC; - if (fr->e_bits0 != 0 || fr->e_bits1 != 1 || fr->e_bits2 != 1) + /* Table 6e / V.110 (4800 is one of Nx4800) */ + if (osmo_v110_e1e2e3_cmp(fr->e_bits, OSMO_V110_SYNC_RA1_4800)) return -EINVAL; memcpy(d_out, fr->d_bits, 48); @@ -365,10 +373,8 @@ if (in_len != 30) return -EINVAL; - /* Table 6f / V.110 */ - fr->e_bits0 = 0; - fr->e_bits1 = 0; - fr->e_bits2 = 1; + /* Table 6f / V.110 (12000 is one of Nx12000) */ + osmo_v110_e1e2e3_set(fr->e_bits, OSMO_V110_SYNC_RA1_12000); memcpy(fr->d_bits + d_idx, d_in + 0, 10); d_idx += 10; /* D1..D10 */ memset(fr->d_bits + d_idx, F, 2); d_idx += 2; @@ -399,7 +405,8 @@ if (out_len < 30) return -ENOSPC; - if (fr->e_bits0 != 0 || fr->e_bits1 != 0 || fr->e_bits2 != 1) + /* Table 6f / V.110 (12000 is one of Nx12000) */ + if (osmo_v110_e1e2e3_cmp(fr->e_bits, OSMO_V110_SYNC_RA1_12000)) return -EINVAL; memcpy(d_out + 0, fr->d_bits + d_idx, 10); d_idx += 10; /* D1..D10 */
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
.