Changes of Revision 2

libosmocore.spec Changed
x
 
1
@@ -14,13 +14,13 @@
2
 
3
 Name:           libosmocore
4
 Requires: osmocom-master
5
-Version: 1.7.0.38.c3b90
6
+Version: 1.7.0.39.7009
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.7.0.38.c3b90.tar.xz
13
+Source: libosmocore_1.7.0.39.7009.tar.xz
14
 Source1: rpmlintrc
15
 BuildRequires:  automake >= 1.6
16
 BuildRequires:  libtool >= 2
17
commit_70093f23ad2662ebfca1bfa95d084adeec495f42.txt Added
commit_c3b904a87da41eeda957a558d9825fcd9da8705f.txt Deleted
libosmocore_1.7.0.38.c3b90.dsc -> libosmocore_1.7.0.39.7009.dsc Changed
22
 
1
@@ -2,7 +2,7 @@
2
 Source: libosmocore
3
 Binary: libosmocore, libosmocodec0, libosmocodec-doc, libosmocoding0, libosmocoding-doc, libosmocore19, libosmocore-doc, libosmogb14, libosmogb-doc, libosmogsm18, libosmogsm-doc, libosmovty9, libosmovty-doc, libosmoctrl0, libosmoctrl-doc, libosmosim2, libosmousb0, libosmocore-dev, libosmocore-utils, libosmocore-dbg
4
 Architecture: any all
5
-Version: 1.7.0.38.c3b90
6
+Version: 1.7.0.39.7009
7
 Maintainer: Osmocom team <openbsc@lists.osmocom.org>
8
 Homepage: https://projects.osmocom.org/projects/libosmocore
9
 Standards-Version: 3.9.8
10
@@ -31,8 +31,8 @@
11
  libosmovty-doc deb doc optional arch=all
12
  libosmovty9 deb libs optional arch=any
13
 Checksums-Sha1:
14
- 9e1de15757774b795018007de50116e9de6415bd 1001228 libosmocore_1.7.0.38.c3b90.tar.xz
15
+ e5bd278b0c833ad24017e9e42294b6c62c4bba05 1001600 libosmocore_1.7.0.39.7009.tar.xz
16
 Checksums-Sha256:
17
- d26d102396596c73495437d76e7d40317552dd3effaf59758a0f8cab103f6dc2 1001228 libosmocore_1.7.0.38.c3b90.tar.xz
18
+ d91558e16ae333a4144b9a82a3f22797dabbbce4e912b4b6001a34ae0f95ba76 1001600 libosmocore_1.7.0.39.7009.tar.xz
19
 Files:
20
- c73ea54a5a71fc3d451e84a34370ccea 1001228 libosmocore_1.7.0.38.c3b90.tar.xz
21
+ 86fd2ac44c26a4de3e1d0d4d0b5ddd3b 1001600 libosmocore_1.7.0.39.7009.tar.xz
22
libosmocore_1.7.0.38.c3b90.tar.xz/.tarball-version -> libosmocore_1.7.0.39.7009.tar.xz/.tarball-version Changed
4
 
1
@@ -1 +1 @@
2
-1.7.0.38-c3b90
3
+1.7.0.39-7009
4
libosmocore_1.7.0.38.c3b90.tar.xz/debian/changelog -> libosmocore_1.7.0.39.7009.tar.xz/debian/changelog Changed
12
 
1
@@ -1,8 +1,8 @@
2
-libosmocore (1.7.0.38.c3b90) unstable; urgency=medium
3
+libosmocore (1.7.0.39.7009) unstable; urgency=medium
4
 
5
   * Automatically generated changelog entry for building the Osmocom master feed
6
 
7
- -- Osmocom OBS scripts <info@osmocom.org>  Fri, 23 Sep 2022 11:50:32 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org>  Tue, 27 Sep 2022 12:54:04 +0000
9
 
10
 libosmocore (1.7.0) unstable; urgency=medium
11
 
12
libosmocore_1.7.0.38.c3b90.tar.xz/include/osmocom/gsm/protocol/gsm_08_08.h -> libosmocore_1.7.0.39.7009.tar.xz/include/osmocom/gsm/protocol/gsm_08_08.h Changed
77
 
1
@@ -568,7 +568,44 @@
2
  *
3
  *  Default values for FR_AMR_WB, OFR_AMR_WB and OHR_AMR_WB:
4
  *  See also: 3GPP TS 26.103, Table 5.7-1: Allowed Configurations
5
- *  for the Adaptive Multi-Rate - Wideband Codec Types */
6
+ *  for the Adaptive Multi-Rate - Wideband Codec Types
7
+ *
8
+ * This is a copy of 3GPP TS 28.062, Table 7.11.3.1.3-2:
9
+ *
10
+ *       S0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15
11
+ * 12,20    (x)                x                    x  x
12
+ * 10,20                    x                 x  x
13
+ * 7,95                  x                          x  x
14
+ * 7,40      x        x                 x  x
15
+ * 6,70            x                 x  x  x  x  x
16
+ * 5,90      x  x                 x  x  x  x  x  x  x  x
17
+ * 5,15
18
+ * 4,75   x  x                    x  x  x  x  x  x  x  x
19
+ *
20
+ * OM     F  F  F  F  F  F  F  F  F  F  F  A  F  A  F  A
21
+ *
22
+ * HR     Y  Y  Y  Y  Y  Y        Y  Y  Y
23
+ * FR     Y  Y  Y  Y  Y  Y  Y  Y  Y  Y  Y  Y  Y  Y  Y  Y
24
+ *
25
+ * Each bit allows one Codec Configuration.
26
+ * E.g. when bit S3 is set, look at column labeled "3", and see that only 6,7k is active in this configuration; it is
27
+ * "F" forbidden to change in Optimisation Mode, "Y" HR AMR supports this mode, and "Y" FR AMR can also do it.
28
+ *
29
+ * This means that whichever configuration is chosen from S0 thru S15, there are never more than four rates active.
30
+ *
31
+ * The spec praises S1 as the most desired configuration: "because it leads in all call cases to TFO/TrFO compatible
32
+ * connections with optimal voice quality." (Since HR AMR supports up to 7.95k, it seems that S14 would be more optimal
33
+ * voice quality, but it is not marked as supported by HR AMR.)
34
+ *
35
+ * For FR_AMR below, the default of 0x57ff means:
36
+ *  0x57ff = 0101 0111 1111 1111
37
+ *            ^14  ^10         ^0
38
+ * allow config 0 thru 10, and configs 12 and 14.
39
+ *
40
+ * For HR_AMR, drop all those where there is no "Y" in the HR row:
41
+ *  0x073f = 0000 0111 0011 1111
42
+ *           ^15  ^11   ^6     ^0
43
+ */
44
 enum gsm0808_speech_codec_defaults {
45
    GSM0808_SC_CFG_DEFAULT_FR_AMR       = 0x57ff,
46
    GSM0808_SC_CFG_DEFAULT_HR_AMR       = 0x073f,
47
@@ -578,9 +615,12 @@
48
    GSM0808_SC_CFG_DEFAULT_OHR_AMR_WB   = 0x01,
49
 };
50
 
51
-/*! Default speech codec configurations broken down by reate.
52
+/*! Default speech codec configurations broken down by rate.
53
  *  See also: 3GPP TS 28.062, Table 7.11.3.1.3-2: Preferred Configurations for
54
- *  the Adaptive Multi-Rate Codec Types. */
55
+ *  the Adaptive Multi-Rate Codec Types.
56
+ *
57
+ * Set all Sn bits that have this rate listed as active.
58
+ */
59
 enum gsm0808_speech_codec_rate_defaults {
60
    GSM0808_SC_CFG_DEFAULT_AMR_4_75 = 0xff03,
61
    GSM0808_SC_CFG_DEFAULT_AMR_5_15 = 0x0000,
62
@@ -592,9 +632,12 @@
63
    GSM0808_SC_CFG_DEFAULT_AMR_12_2 = 0xc082
64
 };
65
 
66
-/*! Single speech codec configurations broken down by reate.
67
+/*! Single speech codec configurations broken down by rate.
68
  *  See also: 3GPP TS 28.062, Table 7.11.3.1.3-2: Preferred Configurations for
69
- *  the Adaptive Multi-Rate Codec Types. */
70
+ *  the Adaptive Multi-Rate Codec Types.
71
+ *
72
+ * Set bit Sn (S0 = 0x01), where Sn is identified by a descriptive name.
73
+ */
74
 enum gsm0808_speech_codec_rate {
75
    GSM0808_SC_CFG_AMR_4_75 = 0x0001,
76
    GSM0808_SC_CFG_AMR_4_75_5_90_7_40_12_20 = 0x0002,
77