osmo-msc/openbsc
Pablo Neira Ayuso 0d2881ad58 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-22 21:03:35 +02:00
..
contrib gprs: Add a lua script to collect buffers on the downlink. 2011-05-10 18:45:35 +02:00
debian debian: update Changelog 2011-05-11 22:31:49 +02:00
doc examples: automatically copy all examples in dist and install it to docdir 2011-05-11 22:14:59 +02:00
include bsc: on-demand setup of nanoBTS and HSL femto sockets 2011-05-22 21:03:35 +02:00
src bsc: on-demand setup of nanoBTS and HSL femto sockets 2011-05-22 21:03:35 +02:00
tests misc: Use the osmo_init code for signals and logging 2011-05-12 16:11:14 +02:00
tools hlrstat: Print numeric MCC/MNC in case no name is available 2010-01-01 15:08:38 +01:00
.gitignore re-structure the OpenBSC directory layout 2011-03-03 23:29:05 +01:00
AUTHORS add sylvain and andreas as authors 2010-01-10 18:21:33 +01:00
COPYING License change: We are now AGPLv3+ instead of GPLv2+ 2011-01-01 15:39:34 +01:00
Makefile.am examples: automatically copy all examples in dist and install it to docdir 2011-05-11 22:14:59 +02:00
README update README with URL of the homepage 2010-05-04 08:10:18 +02:00
configure.in examples: automatically copy all examples in dist and install it to docdir 2011-05-11 22:14:59 +02:00
git-version-gen automatically include program version and print it from vty and --version 2010-03-23 00:09:32 +08:00
openbsc.pc.in Install gsm_04_08.h and required headers into a openbsc/ 2010-02-16 17:51:42 +01:00

README

About OpenBSC
=============

OpenBSC is a minimalistic implementation of the GSM Network, with
particular emphasis on the functionality typically provided by the BSC,
MSC, HLR, VLR and SMSC.

Its currently supported interfaces towards the BTS are:

 * Classic A-bis over E1 using a mISDN based E1 interface. In other
   words, you can connect existing GSM Base Transceiver Station (BTS)
   through E1 to OpenBSC.  So far, we have only tested the Siemens BS-11
   Test reports with other BTS are much appreciated!

 * A-bis over IP as used by the ip.access nanoBTS product family

You can find the project documentation at http://openbsc.gnumonks.org/

This project is still in its early days, and there are lots of areas where it
doesn't behave as per GSM spec.

	Harald Welte <laforge@gnumonks.org>


libosmocore
===========

Please note that as of March 2010, OpenBSC has a dependency to a library
called "libosmocore".  You can obtain that library from

	git://git.osmocom.org/libosmocore.git