2011-03-23 17:08:08 +00:00
|
|
|
# This is _NOT_ the library release version, it's an API version.
|
2016-12-13 17:41:17 +00:00
|
|
|
# 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
|
2022-06-28 15:00:51 +00:00
|
|
|
LIBVERSION=18:0:0
|
2011-03-23 17:08:08 +00:00
|
|
|
|
2022-11-08 19:27:25 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
|
|
|
|
AM_CFLAGS = -Wall $(TALLOC_CFLAGS)
|
2011-03-23 17:08:08 +00:00
|
|
|
|
2017-05-15 19:37:34 +00:00
|
|
|
if ENABLE_PSEUDOTALLOC
|
|
|
|
AM_CPPFLAGS += -I$(top_srcdir)/src/pseudotalloc
|
|
|
|
endif
|
|
|
|
|
2011-12-06 23:24:32 +00:00
|
|
|
# FIXME: this should eventually go into a milenage/Makefile.am
|
|
|
|
noinst_HEADERS = milenage/aes.h milenage/aes_i.h milenage/aes_wrap.h \
|
|
|
|
milenage/common.h milenage/crypto.h milenage/includes.h \
|
|
|
|
milenage/milenage.h
|
|
|
|
|
2015-09-16 12:32:31 +00:00
|
|
|
noinst_LTLIBRARIES = libgsmint.la
|
2011-03-23 17:08:08 +00:00
|
|
|
lib_LTLIBRARIES = libosmogsm.la
|
|
|
|
|
2017-03-07 23:06:40 +00:00
|
|
|
BUILT_SOURCES = gsm0503_conv.c
|
|
|
|
|
2015-09-16 12:32:31 +00:00
|
|
|
libgsmint_la_SOURCES = a5.c rxlev_stat.c tlv_parser.c comp128.c comp128v23.c \
|
2018-07-27 10:19:15 +00:00
|
|
|
gsm_utils.c rsl.c gsm48.c gsm48_arfcn_range_encode.c \
|
|
|
|
gsm48_ie.c gsm0808.c sysinfo.c \
|
2016-07-14 22:13:45 +00:00
|
|
|
gprs_cipher_core.c gprs_rlc.c gsm0480.c abis_nm.c gsm0502.c \
|
2017-05-29 13:58:43 +00:00
|
|
|
gsm0411_utils.c gsm0411_smc.c gsm0411_smr.c gsm0414.c \
|
2018-12-10 09:57:59 +00:00
|
|
|
lapd_core.c lapdm.c kasumi.c gsm29205.c gsm_04_08_gprs.c \
|
2018-03-15 18:59:42 +00:00
|
|
|
auth_core.c auth_comp128v1.c auth_comp128v23.c auth_xor.c \
|
2016-06-30 08:39:00 +00:00
|
|
|
auth_milenage.c milenage/aes-encblock.c gea.c \
|
2013-11-02 17:11:01 +00:00
|
|
|
milenage/aes-internal.c milenage/aes-internal-enc.c \
|
2016-04-25 16:46:22 +00:00
|
|
|
milenage/milenage.c gan.c ipa.c gsm0341.c apn.c \
|
GSUP/SMS: introduce MO-/MT-FORWARD-SM messages
According to 3GPP TS 29.002, there are two services:
- MAP-MO-FORWARD-SHORT-MESSAGE (see 12.2),
- MAP-MT-FORWARD-SHORT-MESSAGE (see 12.9),
which are used to forward MO/MT short messages.
This change replicates both services as GSUP messages:
- OSMO_GSUP_MSGT_MO_FORWARD_SM_*,
- OSMO_GSUP_MSGT_MT_FORWARD_SM_*.
Please note, that only the 'must-have' IEs are introduced
by this change, in particular the following:
- OSMO_GSUP_SM_RP_MR_IE (see note below),
- OSMO_GSUP_SM_RP_DA_IE (see 7.6.8.1),
- OSMO_GSUP_SM_RP_OA_IE (see 7.6.8.2),
- OSMO_GSUP_SM_RP_UI_IE (see 7.6.8.4),
- OSMO_GSUP_SM_RP_MMS_IE (see 7.6.8.7),
- OSMO_GSUP_SM_RP_CAUSE_IE (see GSM TS 04.11, 8.2.5.4),
where both SM_RP_DA and SM_RP_OA IEs basically contain
a single nested TV of the following format:
- T: identity type (see 'osmo_gsup_sms_sm_rp_oda_t'),
- V: encoded identity itself (optional).
According to GSM TS 04.11, every single message on the SM-RL has
an unique message reference (see 8.2.3), that is used to link
an RP-ACK or RP-ERROR message to the associated (preceding)
RP-DATA or RP-SMMA message transfer attempt.
In case of TCAP/MAP, this message reference is being mapped to the
Invoke ID. But since GSUP has no 'Invoke ID' IE, and it is not
required for other applications (other than SMS), this change
introduces a special 'SM_RP_MR' IE that doesn't exist in MAP.
Change-Id: Ibe325c64ae2d6c626b232533bb4cbc65fc2b5d71
Related Change-Id: (docs) Ie0150756c33c1352bc4eb49421824542c711175c
Related Change-Id: (TTCN) Ibf49474a81235096c032ea21f217170f523bd94e
Related: OS#3587
2018-09-25 16:03:13 +00:00
|
|
|
gsup.c gsup_sms.c gprs_gea.c gsm0503_conv.c oap.c gsm0808_utils.c \
|
2020-05-11 17:43:20 +00:00
|
|
|
gsm23003.c gsm23236.c mncc.c bts_features.c oap_client.c \
|
2020-09-18 16:00:50 +00:00
|
|
|
gsm29118.c gsm48_rest_octets.c cbsp.c gsm48049.c i460_mux.c \
|
2018-11-29 12:47:39 +00:00
|
|
|
gad.c bsslap.c bssmap_le.c kdf.c iuup.c
|
2021-05-19 15:45:38 +00:00
|
|
|
|
2015-09-16 12:32:31 +00:00
|
|
|
libgsmint_la_LDFLAGS = -no-undefined
|
2023-01-18 16:04:04 +00:00
|
|
|
libgsmint_la_LIBADD = $(top_builddir)/src/core/libosmocore.la
|
2011-11-06 19:22:12 +00:00
|
|
|
|
2015-09-16 12:32:31 +00:00
|
|
|
libosmogsm_la_SOURCES =
|
2017-10-30 12:19:58 +00:00
|
|
|
libosmogsm_la_LDFLAGS = $(LTLDFLAGS_OSMOGSM) -version-info $(LIBVERSION) -no-undefined
|
|
|
|
libosmogsm_la_LIBADD = libgsmint.la $(TALLOC_LIBS)
|
2012-04-04 22:44:46 +00:00
|
|
|
|
2017-10-26 08:56:04 +00:00
|
|
|
if ENABLE_GNUTLS
|
2022-11-08 19:27:25 +00:00
|
|
|
AM_CFLAGS += $(LIBGNUTLS_CFLAGS)
|
2017-10-26 08:56:04 +00:00
|
|
|
libosmogsm_la_LIBADD += $(LIBGNUTLS_LIBS)
|
2021-05-19 15:45:38 +00:00
|
|
|
else
|
|
|
|
noinst_HEADERS += kdf/sha1.h kdf/sha256.h kdf/common.h kdf/sha1_i.h kdf/sha256_i.h
|
|
|
|
libgsmint_la_SOURCES += kdf/sha256.c kdf/sha256-internal.c \
|
|
|
|
kdf/sha1.c kdf/sha1-internal.c
|
2017-10-26 08:56:04 +00:00
|
|
|
endif
|
|
|
|
|
2012-04-04 22:44:46 +00:00
|
|
|
EXTRA_DIST = libosmogsm.map
|
2016-04-29 11:17:22 +00:00
|
|
|
|
utils/conv_gen.py: generate a single file
Instead of generating every convolutional code into a separate
file (such as conv_xcch_gen.c, conv_cs3_gen.c), it is better to
have a single file, containing all definitions, because as many
convolutional codes we add, as many entries we will have to add
into 'src/gsm/Makefile.am'. This approach increases readability
of the Makefile.am, and also makes us able to share some data
between some convolutional code definitions.
For example: xCCH, RACH, SCH, TCH/F, both CS2 and CS3 may use
the same *_state[][2] and *_output[][2] arrays within a single
file. This optimization is currently WIP.
Change-Id: Ib4e4ee5fdde38429e68e3b2fa50ec03a18f59daa
2016-09-07 15:18:10 +00:00
|
|
|
# Convolutional codes generation
|
2017-03-07 23:06:40 +00:00
|
|
|
gsm0503_conv.c: $(top_srcdir)/utils/conv_gen.py $(top_srcdir)/utils/conv_codes_gsm.py
|
2019-12-11 07:46:41 +00:00
|
|
|
$(AM_V_GEN)python3 $(top_srcdir)/utils/conv_gen.py gen_codes gsm
|
utils/conv_gen.py: generate a single file
Instead of generating every convolutional code into a separate
file (such as conv_xcch_gen.c, conv_cs3_gen.c), it is better to
have a single file, containing all definitions, because as many
convolutional codes we add, as many entries we will have to add
into 'src/gsm/Makefile.am'. This approach increases readability
of the Makefile.am, and also makes us able to share some data
between some convolutional code definitions.
For example: xCCH, RACH, SCH, TCH/F, both CS2 and CS3 may use
the same *_state[][2] and *_output[][2] arrays within a single
file. This optimization is currently WIP.
Change-Id: Ib4e4ee5fdde38429e68e3b2fa50ec03a18f59daa
2016-09-07 15:18:10 +00:00
|
|
|
|
|
|
|
CLEANFILES = gsm0503_conv.c
|