aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/bts_ipaccess_nanobts.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-27Revert "HACK: disable NM_ATTR for CELL GLOBAL ID for sysmo-bts"Harald Welte1-2/+2
This reverts commit 8b65ab9d9133efe53a058733d492ac0595040fb4, which should never have been committed to master. In fact, it is not even needed anymore with recent osmo-bts code.
2011-06-09HACK: disable NM_ATTR for CELL GLOBAL ID for sysmo-btsHarald Welte1-2/+2
Do not commit this to master. It disables a non-standard IE in the BTS attributes.
2011-06-03gsm_data_shared: introduce 'struct gsm_abis_mo'Harald Welte1-1/+1
... as a common wrapper around nm_attr and nm_state
2011-05-22bsc: on-demand setup of nanoBTS and HSL femto socketsPablo Neira Ayuso1-1/+11
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-06src: use namespace prefix osmo_signal*Pablo Neira Ayuso1-1/+1
Summary of changes: s/signal_cbfn/osmo_signal_cbfn/g s/register_signal_handler/osmo_signal_register_handler/g s/unregister_signal_handler/osmo_signal_unregister_handler/g s/dispatch_signal/osmo_signal_dispatch/g
2011-04-18misc: Remove sys/types.h includes from the filesHolger Hans Peter Freyther1-1/+0
These are not needed any more. We used them for u_int types but we now use uint which comes from stdint.h
2011-04-18misc: Move from u_int to uint types of stdint.hHolger Hans Peter Freyther1-5/+5
This was done with sed on the files.
2011-03-23src: use new library libosmogsm and new path to headers in libosmocorePablo Neira Ayuso1-1/+1
libosmogsm is a new library that is distributed in the libosmocore. Now, openbsc depends on it. This patch gets openbsc with this change. This patch also rewrites all include path to the new osmocom/[gsm|core] Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-03-06OML: Include a pointer to the BTS in NM STATE CHANGE signalsHarald Welte1-0/+3
... this allows the BTS driver to decide if it should handle the event at all
2011-03-04prefix sub-directories containing libraries with 'lib'Harald Welte1-0/+447
... and make sure tests work again after restructuring