Changes of Revision 158

libosmocore.spec Changed
x
 
1
@@ -14,13 +14,13 @@
2
 
3
 Name:           libosmocore
4
 Requires: osmocom-master
5
-Version: 1.8.0.149.18e5
6
+Version: 1.8.0.150.6e52
7
 Release:        0
8
 Summary:        The Open Source Mobile Communications Core Library
9
 License:        GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later
10
 Group:          Productivity/Telephony/Utilities
11
 Url:            https://osmocom.org/projects/libosmocore/wiki/Libosmocore
12
-Source: libosmocore_1.8.0.149.18e5.tar.xz
13
+Source: libosmocore_1.8.0.150.6e52.tar.xz
14
 Source1: rpmlintrc
15
 BuildRequires:  automake >= 1.6
16
 BuildRequires:  libtool >= 2
17
commit_18e5af55be38ff2cc6443f7bed96adefb33a357a.txt Deleted
commit_6e529a2c7465fc6657d3b1686003687ed8cef0b1.txt Added
libosmocore_1.8.0.149.18e5.dsc -> libosmocore_1.8.0.150.6e52.dsc Changed
22
 
1
@@ -2,7 +2,7 @@
2
 Source: libosmocore
3
 Binary: libosmocore, libosmocodec0, libosmocodec-doc, libosmocoding0, libosmocoding-doc, libosmocore20, libosmocore-doc, libosmogb14, libosmogb-doc, libosmogsm18, libosmogsm-doc, libosmoisdn0, libosmoisdn-doc, libosmovty9, libosmovty-doc, libosmoctrl0, libosmoctrl-doc, libosmosim2, libosmosim-doc, libosmousb0, libosmousb-doc, libosmocore-dev, libosmocore-utils, libosmocore-dbg
4
 Architecture: any all
5
-Version: 1.8.0.149.18e5
6
+Version: 1.8.0.150.6e52
7
 Maintainer: Osmocom team <openbsc@lists.osmocom.org>
8
 Homepage: https://projects.osmocom.org/projects/libosmocore
9
 Standards-Version: 3.9.8
10
@@ -35,8 +35,8 @@
11
  libosmovty-doc deb doc optional arch=all
12
  libosmovty9 deb libs optional arch=any
13
 Checksums-Sha1:
14
- f00dca581fb5370ef51c6b2139193794455e5d84 1047676 libosmocore_1.8.0.149.18e5.tar.xz
15
+ 25284ec651e521d25a28c1a0b97f3c8dddda807f 1047820 libosmocore_1.8.0.150.6e52.tar.xz
16
 Checksums-Sha256:
17
- c2d385a7a03971e296700b34c868fbdf9303593fca451515adafb6fda08ff691 1047676 libosmocore_1.8.0.149.18e5.tar.xz
18
+ 3952300115fee66085ffc3a6b306176be30aa3858d3fe5c532f78d1aa90eced0 1047820 libosmocore_1.8.0.150.6e52.tar.xz
19
 Files:
20
- 4e77f312ea5900a5bda249dab88111bb 1047676 libosmocore_1.8.0.149.18e5.tar.xz
21
+ 378dafd7604773d9bd60a01409f108f0 1047820 libosmocore_1.8.0.150.6e52.tar.xz
22
libosmocore_1.8.0.149.18e5.tar.xz/.tarball-version -> libosmocore_1.8.0.150.6e52.tar.xz/.tarball-version Changed
4
 
1
@@ -1 +1 @@
2
-1.8.0.149-18e5
3
+1.8.0.150-6e52
4
libosmocore_1.8.0.149.18e5.tar.xz/debian/changelog -> libosmocore_1.8.0.150.6e52.tar.xz/debian/changelog Changed
12
 
1
@@ -1,8 +1,8 @@
2
-libosmocore (1.8.0.149.18e5) unstable; urgency=medium
3
+libosmocore (1.8.0.150.6e52) unstable; urgency=medium
4
 
5
   * Automatically generated changelog entry for building the Osmocom master feed
6
 
7
- -- Osmocom OBS scripts <info@osmocom.org>  Sat, 27 May 2023 11:05:52 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org>  Sun, 28 May 2023 04:50:37 +0000
9
 
10
 libosmocore (1.8.0) unstable; urgency=medium
11
 
12
libosmocore_1.8.0.149.18e5.tar.xz/src/coding/gsm0503_coding.c -> libosmocore_1.8.0.150.6e52.tar.xz/src/coding/gsm0503_coding.c Changed
45
 
1
@@ -1941,6 +1941,20 @@
2
        osmo_conv_encode(&gsm0503_tch_fr, conv, cB);
3
        h = 0;
4
        break;
5
+   case 0:         /* no data, induce BFI in the receiver */
6
+       /* Do the same thing that sysmoBTS PHY does when fed a 0-length
7
+        * payload for DL: set all u(k) bits to 0, and do the same
8
+        * with all class 2 bits.  This operation is NOT the same as
9
+        * an FR codec frame of all zero bits: with all-zeros d(k) input
10
+        * the CRC3 function will produce 111 output, whereas we
11
+        * transmit 000 in those parity bits too.  The result will be
12
+        * an induced BFI (bad frame indication) condition in the
13
+        * receiver, for both TCH/FS and TCH/EFS decoders. */
14
+       memset(conv, 0, sizeof(conv));
15
+       memset(cB + 378, 0, 78);
16
+       osmo_conv_encode(&gsm0503_tch_fr, conv, cB);
17
+       h = 0;
18
+       break;
19
    case GSM_MACBLOCK_LEN: /* FACCH */
20
        _xcch_encode_cB(cB, tch_data);
21
        h = 1;
22
@@ -2084,8 +2098,9 @@
23
        tch_hr_b_to_d(d, b);
24
        osmo_crc8gen_set_bits(&gsm0503_tch_fr_crc3, d + 73, 22, p);
25
        tch_hr_reorder(conv, d, p);
26
-       osmo_conv_encode(&gsm0503_tch_hr, conv, cB);
27
        memcpy(cB + 211, d + 95, 17);
28
+hr_conv_coding:
29
+       osmo_conv_encode(&gsm0503_tch_hr, conv, cB);
30
        h = 0;
31
        gsm0503_tch_hr_interleave(cB, iB);
32
        for (i = 0; i < 4; i++) {
33
@@ -2093,6 +2108,11 @@
34
                &burstsi * 116, &h, i >> 1);
35
        }
36
        break;
37
+   case 0:         /* no data, induce BFI in the receiver */
38
+       /* see comments in gsm0503_tch_fr_encode() - same deal here */
39
+       memset(conv, 0, sizeof(conv));
40
+       memset(cB + 211, 0, 17);
41
+       goto hr_conv_coding;
42
    case GSM_MACBLOCK_LEN: /* FACCH */
43
        _xcch_encode_cB(cB, tch_data);
44
        h = 1;
45