2016-09-08 22:43:15 +00:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
$(all_includes) \
|
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
$(NULL)
|
2011-03-03 22:29:05 +00:00
|
|
|
|
2016-09-08 22:43:15 +00:00
|
|
|
AM_CFLAGS = \
|
|
|
|
-Wall \
|
|
|
|
$(LIBOSMOCORE_CFLAGS) \
|
|
|
|
$(LIBOSMOVTY_CFLAGS) \
|
|
|
|
$(LIBOSMOABIS_CFLAGS) \
|
|
|
|
$(COVERAGE_CFLAGS) \
|
|
|
|
$(LIBSMPP34_CFLAGS) \
|
2016-05-20 19:59:55 +00:00
|
|
|
$(LIBASN1C_CFLAGS) \
|
2017-04-09 10:32:51 +00:00
|
|
|
$(LIBOSMOSIGTRAN_CFLAGS) \
|
2017-10-28 21:49:47 +00:00
|
|
|
$(LIBOSMOSCCP_CFLAGS) \
|
2017-12-02 20:52:34 +00:00
|
|
|
$(LIBOSMOMGCPCLIENT_CFLAGS) \
|
2016-09-08 22:43:15 +00:00
|
|
|
$(NULL)
|
2012-11-11 09:58:51 +00:00
|
|
|
|
2016-09-08 22:43:15 +00:00
|
|
|
noinst_HEADERS = \
|
|
|
|
meas_feed.h \
|
|
|
|
$(NULL)
|
2011-03-03 22:29:05 +00:00
|
|
|
|
2016-09-08 22:43:15 +00:00
|
|
|
noinst_LIBRARIES = \
|
|
|
|
libmsc.a \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libmsc_a_SOURCES = \
|
mscsplit: various preparations to separate MSC from BSC
Disable large parts of the code that depend on BSC presence. The code sections
disabled by #if BEFORE_MSCSPLIT shall be modified or dropped in the course of
adding the A-interface.
Don't set msg->lchan nor msg->dst.
Don't use lchan in libmsc.
Decouple lac from bts.
Prepare entry/exit point for MSC -> BSC and MSC -> RNC communication:
Add msc_ifaces.[hc], a_iface.c, with a general msc_tx_dtap() to redirect to
different interfaces depending on the actual subscriber connection.
While iu_tx() is going to be functional fairly soon, the a_tx() is going to be
just a dummy for some time (see comment).
Add Iu specific fields in gsm_subscriber_connection: the UE connection pointer
and an indicator for the Integrity Protection status on Iu (to be fully
implemented in later commits).
Add lac member to gsm_subscriber_connection, to allow decoupling from
bts->location_area_code. The conn->lac will actually be set in iu.c in an
upcoming commit ("add iucs.[hc]").
move to libcommon-cs: gsm48_extract_mi(), gsm48_paging_extract_mi().
libmsc: duplicate gsm0808 / gsm48 functions (towards BSC).
In osmo-nitb, libmsc would directly call the functions on the BSC level, not
always via the bsc_api. When separating libmsc from libbsc, some functions are
missing from the linkage.
Hence duplicate these functions to libmsc, add an msc_ prefix for clarity, also
add a _tx to gsm0808_cipher_mode():
* add msc_gsm0808_tx_cipher_mode() (dummy/stub)
* add msc_gsm48_tx_mm_serv_ack()
* add msc_gsm48_tx_mm_serv_rej()
Call these from libmsc instead of
* gsm0808_cipher_mode()
* gsm48_tx_mm_serv_ack()
* gsm48_tx_mm_serv_rej()
Also add a comment related to msc_gsm0808_tx_cipher_mode() in two places.
Remove internal RTP streaming code; OsmoNITB supported that, but for OsmoMSC,
this will be done with an external MGCP gateway.
Remove LCHAN_MODIFY from internal MNCC state machine.
Temporarily disable all paging to be able to link libmsc without libbsc.
Skip the paging part of channel_test because the paging is now disabled.
Employ fake paging shims in order for msc_vlr_tests to still work.
msc_compl_l3(): publish in .h, tweak return value. Use new libmsc enum values
for return val, to avoid dependency on libbsc headers. Make callable from
other scopes: publish in osmo_msc.h and remove 'static' in osmo_msc.c
add gsm_encr to subscr_conn
move subscr_request to gsm_subscriber.h
subscr_request_channel() -> subscr_request_conn()
move to libmsc: osmo_stats_vty_add_cmds()
gsm_04_08: remove apply_codec_restrictions()
gsm0408_test: use NULL for root ctx
move to libbsc: gsm_bts_neighbor()
move to libbsc: lchan_next_meas_rep()
move vty config for t3212 to network level (periodic lu)
remove unneccessary linking from some tests
remove handle_abisip_signal()
abis_rsl.c: don't use libvlr from libbsc
gsm_subscriber_connection: put the LAC here, so that it is available without
accessing conn->bts. In bsc_api.c, place this lac in conn for the sake of
transition: Iu and A will use this new field to pass the LAC around, but in a
completely separate OsmoBSC this is not actually needed. It can be removed
again from osmo-bsc.git when the time has come.
Siemens MRPCI: completely drop sending the MRPCI messages for now, they shall
be added in osmo-bsc once the A-Interface code has settled. See OS#2389.
Related: OS#1845 OS#2257 OS#2389
Change-Id: Id3705236350d5f69e447046b0a764bbabc3d493c
2017-05-08 13:12:20 +00:00
|
|
|
a_iface.c \
|
2017-04-09 10:32:51 +00:00
|
|
|
a_iface_bssap.c \
|
2016-09-08 22:43:15 +00:00
|
|
|
auth.c \
|
2016-05-20 19:59:55 +00:00
|
|
|
msc_vty.c \
|
2016-09-08 22:43:15 +00:00
|
|
|
db.c \
|
|
|
|
gsm_04_08.c \
|
|
|
|
gsm_04_11.c \
|
2017-05-29 16:02:53 +00:00
|
|
|
gsm_04_14.c \
|
2016-09-08 22:43:15 +00:00
|
|
|
gsm_04_80.c \
|
|
|
|
gsm_subscriber.c \
|
|
|
|
mncc.c \
|
|
|
|
mncc_builtin.c \
|
|
|
|
mncc_sock.c \
|
mscsplit: various preparations to separate MSC from BSC
Disable large parts of the code that depend on BSC presence. The code sections
disabled by #if BEFORE_MSCSPLIT shall be modified or dropped in the course of
adding the A-interface.
Don't set msg->lchan nor msg->dst.
Don't use lchan in libmsc.
Decouple lac from bts.
Prepare entry/exit point for MSC -> BSC and MSC -> RNC communication:
Add msc_ifaces.[hc], a_iface.c, with a general msc_tx_dtap() to redirect to
different interfaces depending on the actual subscriber connection.
While iu_tx() is going to be functional fairly soon, the a_tx() is going to be
just a dummy for some time (see comment).
Add Iu specific fields in gsm_subscriber_connection: the UE connection pointer
and an indicator for the Integrity Protection status on Iu (to be fully
implemented in later commits).
Add lac member to gsm_subscriber_connection, to allow decoupling from
bts->location_area_code. The conn->lac will actually be set in iu.c in an
upcoming commit ("add iucs.[hc]").
move to libcommon-cs: gsm48_extract_mi(), gsm48_paging_extract_mi().
libmsc: duplicate gsm0808 / gsm48 functions (towards BSC).
In osmo-nitb, libmsc would directly call the functions on the BSC level, not
always via the bsc_api. When separating libmsc from libbsc, some functions are
missing from the linkage.
Hence duplicate these functions to libmsc, add an msc_ prefix for clarity, also
add a _tx to gsm0808_cipher_mode():
* add msc_gsm0808_tx_cipher_mode() (dummy/stub)
* add msc_gsm48_tx_mm_serv_ack()
* add msc_gsm48_tx_mm_serv_rej()
Call these from libmsc instead of
* gsm0808_cipher_mode()
* gsm48_tx_mm_serv_ack()
* gsm48_tx_mm_serv_rej()
Also add a comment related to msc_gsm0808_tx_cipher_mode() in two places.
Remove internal RTP streaming code; OsmoNITB supported that, but for OsmoMSC,
this will be done with an external MGCP gateway.
Remove LCHAN_MODIFY from internal MNCC state machine.
Temporarily disable all paging to be able to link libmsc without libbsc.
Skip the paging part of channel_test because the paging is now disabled.
Employ fake paging shims in order for msc_vlr_tests to still work.
msc_compl_l3(): publish in .h, tweak return value. Use new libmsc enum values
for return val, to avoid dependency on libbsc headers. Make callable from
other scopes: publish in osmo_msc.h and remove 'static' in osmo_msc.c
add gsm_encr to subscr_conn
move subscr_request to gsm_subscriber.h
subscr_request_channel() -> subscr_request_conn()
move to libmsc: osmo_stats_vty_add_cmds()
gsm_04_08: remove apply_codec_restrictions()
gsm0408_test: use NULL for root ctx
move to libbsc: gsm_bts_neighbor()
move to libbsc: lchan_next_meas_rep()
move vty config for t3212 to network level (periodic lu)
remove unneccessary linking from some tests
remove handle_abisip_signal()
abis_rsl.c: don't use libvlr from libbsc
gsm_subscriber_connection: put the LAC here, so that it is available without
accessing conn->bts. In bsc_api.c, place this lac in conn for the sake of
transition: Iu and A will use this new field to pass the LAC around, but in a
completely separate OsmoBSC this is not actually needed. It can be removed
again from osmo-bsc.git when the time has come.
Siemens MRPCI: completely drop sending the MRPCI messages for now, they shall
be added in osmo-bsc once the A-Interface code has settled. See OS#2389.
Related: OS#1845 OS#2257 OS#2389
Change-Id: Id3705236350d5f69e447046b0a764bbabc3d493c
2017-05-08 13:12:20 +00:00
|
|
|
msc_ifaces.c \
|
2016-09-08 22:43:15 +00:00
|
|
|
rrlp.c \
|
|
|
|
silent_call.c \
|
|
|
|
sms_queue.c \
|
|
|
|
ussd.c \
|
|
|
|
vty_interface_layer3.c \
|
|
|
|
transaction.c \
|
|
|
|
osmo_msc.c \
|
|
|
|
ctrl_commands.c \
|
|
|
|
meas_feed.c \
|
2016-06-19 16:06:02 +00:00
|
|
|
subscr_conn.c \
|
2016-09-08 22:43:15 +00:00
|
|
|
$(NULL)
|
2017-07-05 13:19:52 +00:00
|
|
|
if BUILD_IU
|
|
|
|
libmsc_a_SOURCES += \
|
|
|
|
iucs.c \
|
|
|
|
iucs_ranap.c \
|
|
|
|
$(NULL)
|
|
|
|
else
|
2016-05-20 19:59:55 +00:00
|
|
|
libmsc_a_SOURCES += \
|
|
|
|
iu_dummy.c \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
2011-03-03 22:29:05 +00:00
|
|
|
|
2012-11-16 21:15:22 +00:00
|
|
|
if BUILD_SMPP
|
2016-09-08 22:43:15 +00:00
|
|
|
noinst_HEADERS += \
|
|
|
|
smpp_smsc.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libmsc_a_SOURCES += \
|
|
|
|
smpp_smsc.c \
|
|
|
|
smpp_openbsc.c \
|
|
|
|
smpp_vty.c \
|
|
|
|
smpp_utils.c \
|
|
|
|
$(NULL)
|
2012-11-16 21:15:22 +00:00
|
|
|
endif
|