2010-02-12 11:39:38 +00:00
|
|
|
noinst_HEADERS = abis_nm.h abis_rsl.h db.h gsm_04_08.h gsm_data.h \
|
2010-02-20 16:29:27 +00:00
|
|
|
gsm_subscriber.h gsm_04_11.h debug.h signal.h \
|
2014-08-20 21:47:15 +00:00
|
|
|
misdn.h chan_alloc.h paging.h ctrl.h \
|
src: port openBSC over libosmo-abis
This is a big patch that ports openBSC over libosmo-abis.
Sorry, the changes that are included here are all dependent
of libosmo-abis, splitting them into smaller pieces would
leave the repository in some intermediate state, which is
not desired.
The main changes are:
- The directory libabis/ has been removed as it now lives in
libosmo-abis.
- new configuration file format for nanoBTS and HSL femto, we
need to define the virtual e1_line and attach it to the OML
link.
- all the existing BTS drivers (nanoBTS, hsl femto, Nokia site,
BS11 and rbs2000) now use the new libosmo-abis framework.
- use r232 input driver available in libosmo-abis for bs11_config.
- use ipa_msg_recv instead of old ipaccess_read_msg function.
- delete definition of gsm_e1_subslot and input_signal_data.
These structures now lives in libosmo-abis.
Most of this patch are deletions of libabis/ which has been
moved to libosmo-abis.
This patch also modifies openBSC to use all the new definitions
available in libosmocore and libosmo-abis. In order to do that,
we have replaced the following:
- DINP, DMI, DMIB and DMUX by their respective DL* correspondences.
- SS_GLOBAL by SS_L_GLOBAL
- SS_INPUT by SS_L_INPUT
- S_GLOBAL_SHUTDOWN by S_L_GLOBAL_SHUTDOWN
- SS_INPUT by SS_L_INPUT
- S_INP_* by S_L_INP_* sub-signals
- E1INP_NODE by L_E1INP_NODE vty node
This patch has been tested with:
- one nanoBTS
- the HSL femto with the examples available under libosmo-abis
- BS11 with both dahdi and misdn drivers.
2011-08-17 20:44:07 +00:00
|
|
|
trau_mux.h rs232.h openbscdefines.h rtp_proxy.h \
|
2010-02-09 20:50:25 +00:00
|
|
|
bsc_rll.h mncc.h transaction.h ussd.h gsm_04_80.h \
|
2010-02-20 16:29:27 +00:00
|
|
|
silent_call.h mgcp.h meas_rep.h rest_octets.h \
|
2010-04-06 09:55:37 +00:00
|
|
|
system_information.h handover.h mgcp_internal.h \
|
2011-10-10 07:11:13 +00:00
|
|
|
vty.h socket.h e1_config.h trau_upqueue.h token_auth.h \
|
2014-08-21 16:49:40 +00:00
|
|
|
handover_decision.h rrlp.h \
|
2012-06-16 06:59:56 +00:00
|
|
|
crc24.h gprs_llc.h gprs_gmm.h \
|
2016-04-20 15:11:43 +00:00
|
|
|
gb_proxy.h gprs_sgsn.h sgsn.h \
|
2012-06-16 06:59:56 +00:00
|
|
|
auth.h osmo_msc.h bsc_msc.h bsc_nat.h \
|
2010-09-15 14:29:25 +00:00
|
|
|
osmo_bsc_rf.h osmo_bsc.h network_listen.h bsc_nat_sccp.h \
|
bsc: on-demand setup of nanoBTS and HSL femto sockets
The daemons set up nanoBTS and HSL femto sockets by default, ie. the
three sockets to support these two drivers are open even if we have
no BTS of that kind.
This patch enables on-demand socket creation, ie. we only enable them
if we have one BTS at least that requires it.
I added two new attributes to the gsm_bts object, they are:
* the start() function includes the code that we need to run to start
the BTS. This new function contains the socket creation in the
particular case of nanoBTS and HSL femto.
* the started boolean, which is used to know if we have already
started the BTS, ie. we have already invoked start().
Note that, I have splitted the bts_model_*_init() function into two
functions, the _init() functions that register the BTS driver
and the _start() functions that start BTS driver on-demand.
While I was at it, I added several changes/cleanups to this patch:
* Group all bts_model_*_init() calls into one function bts_init(),
which is called in the initialization path of osmo-nitb and
osmo-bsc.
* Add openbsc/bss.h that contains the declaration of
bsc_bootstrap_network, bsc_shutdown_net and bts_init.
* Add missing e1inp_init() in osmo-bsc.
* Fix missing declaration of hsl_setup in openbsc/e1_input.h
2011-05-14 09:32:48 +00:00
|
|
|
osmo_msc_data.h osmo_bsc_grace.h sms_queue.h abis_om2000.h \
|
2014-08-20 21:47:15 +00:00
|
|
|
bss.h gsm_data_shared.h ipaccess.h mncc_int.h \
|
mgcp: add voice muxer support
This patch adds the voice muxer. You can use this to batch RTP
traffic to reduce bandwidth comsuption. Basically, osmux transforms
RTP flows to a compact batch format, that is later on decompacted
to its original form. Port UDP/1984 is used for the muxer traffic
between osmo-bsc_nat and osmo-bsc_mgcp (in the BSC side). This
feature depends on libosmo-netif, which contains the osmux core
support.
Osmux is requested on-demand via the MGCP CRCX/MDCX messages (using
the vendor-specific extension X-Osmux: on) coming from the BSC-NAT,
so you can selectively enable osmux per BSC from one the bsc-nat.cfg
file, so we have a centralized point to enable/disable osmux.
First thing you need to do is to accept requests to use Osmux,
this can be done from VTY interface of osmo-bsc_nat and
osmo-bsc_mgcp by adding the following line:
mgcp
...
osmux on
osmux batch-factor 4
This just initializes the osmux engine. You still have to specify
what BSC uses osmux from osmo-bsc_nat configuration file:
...
bsc 1
osmux on
bsc 2
...
bsc 3
osmux on
In this case, bsc 1 and 3 should use osmux if possible, bsc 2 does
not have osmux enabled.
Thus, you can selectively enable osmux depending on the BSC, and
we have a centralized point for configuration from the bsc-nat to
enable osmux on demand, as suggested by Holger.
At this moment, this patch contains heavy debug logging for each
RTP packet that can be removed later to save cycles.
The RTP ssrc/seqnum/timestamp is randomly allocated for each MDCX that
is received to configure an endpoint.
2014-02-05 17:56:17 +00:00
|
|
|
arfcn_range_encode.h nat_rewrite_trie.h bsc_nat_callstats.h \
|
2016-04-25 17:01:26 +00:00
|
|
|
osmux.h mgcp_transcode.h gprs_utils.h \
|
2016-04-25 17:07:34 +00:00
|
|
|
gprs_gb_parse.h smpp.h meas_feed.h \
|
2015-10-12 09:57:34 +00:00
|
|
|
gprs_gsup_client.h bsc_msg_filter.h \
|
2015-11-20 21:35:01 +00:00
|
|
|
oap.h oap_messages.h \
|
2016-05-20 19:38:32 +00:00
|
|
|
gtphub.h gprs_llc_xid.h gprs_sndcp.h \
|
|
|
|
iu.h
|
2010-02-16 16:51:42 +00:00
|
|
|
|
2010-03-23 06:40:46 +00:00
|
|
|
openbsc_HEADERS = gsm_04_08.h meas_rep.h bsc_api.h
|
2010-02-16 16:51:42 +00:00
|
|
|
openbscdir = $(includedir)/openbsc
|