aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2019-03-14configure.ac: Add flag to enable/disable build of ipaccess related utilsPau Espin Pedrol1-1/+4
Change-Id: Iff70dc46c77b2ac58351ad9a91caf3f524c6fd89
2018-06-07dissolve libbsc: move all to src/osmo-bsc, link .o filesNeels Hofmeyr1-7/+1
Move all of libbsc/ into osmo-bsc/, and separate/move some implementations to allow linking from utils/* and ipaccess/* without pulling in unccessary dependencies. Some utilities use gsm_network and gsm_bts structs, which already include data structures for fairly advanced uses. Move initialization that only osmo-bsc needs into new bsc_network_init() and bsc_bts_alloc_register() functions, so that the leaner tools can use the old gsm_* versions without the need to link everything (e.g. handover and lchan alloc code). In some instances, there need to be stubs if to cut off linking "just before the RSL level" and prevent dependencies from creeping in. - abis_rsl_rcvmsg(): the only program currently interpreting RSL messages is osmo-bsc, the utils are merely concerned with OML, if at all. - paging_flush_bts(): ip.access nanobts models call this when the RSL link is dropped. Only osmo-bsc actually needs to do anything there. - on_gsm_ts_init(): the mechanism to trigger timeslot initialization is related to OML, while this action to take on init would pull in RSL dependencies. utils/ and ipaccess/ each have a stubs.c file to implement these stubs. Tests implement stubs inline where required. From src/utils/, src/ipaccess/ and tests/*/, link in .o files from osmo-bsc/. In order for this to work, the osmo-bsc subdir must be built before the other source trees. (An alternative would be to include the .c files as sources, but that would re-compile them in every source tree. Not a large burden really, but unless linking .o files gives problems, let's have the quicker build.) Minor obvious cleanups creep in with this patch, I will not bother to name them individually now unless code review asks me to. Rationale: 1) libbsc has been separate to use it for osmo-nitb and osmo-bsc in the old openbsc.git. This is no longer required, and spreading over libbsc and osmo-bsc is distracting. 2) Recently, ridiculous linking requirements have made adding new functions cumbersome, because libbsc has started depending on osmo-bsc/*.c implementations: on gscon FSM and bssap functions. For example, neither bs11_config nor ipaccess-config nor bts_test need handover_cfg or BSSMAP message composition. It makes no sense to link the entire osmo-bsc to it, nor do we want to keep adding stubs to each linking realm. Change-Id: I36a586726f5818121abe54d25654819fc451d3bf
2018-02-14drop libcommon-cs completelyNeels Hofmeyr1-1/+0
Change-Id: I07d4a48af3154ee4d904686f230a51b8b8a94ff9
2018-02-14drop libcommon completely, move remaining files to libbscNeels Hofmeyr1-1/+0
Move gsm_data.c and handover_cfg.c to libbsc, where they belong. This leaves libcommon utterly empty, drop it. Change-Id: I6178061fa30c7e1a4c22c29d3c8f508b1033569f
2017-12-19Remove dead code left over from NITB splitHarald Welte1-1/+0
There still is a lot of dead code that we inherited from the NITB days, let's remove more of it. libtrau will be re-introduced as part of osmo-mgw later. Change-Id: I8e0af56a158f25a4f1384d667c03eb20e72df5b8
2017-12-10OML: expand status reporting checksMax1-1/+1
* check GPRS state: if GPRS is enabled for the BTS but NSE, CELL or both NSVC are locked than report it as degraded * check TRX usability: use already available function to check that TRX is actually usable when reporting OML status via CTRL * fix tests linking: libbsc is using gsm48_create_mm_serv_rej() which is defined in libcommon-cs but neither libbsc itself nor tests using it are actually linked against libcommon-cs Related: OS#2486 Change-Id: I9dce1d3b0cabe149a90cfca58a3fe55f8d6a72bc
2017-11-07mgcp: use osmo-mgw to switch RTP streamsPhilipp Maier1-1/+0
osmo-bsc currently negotiates the RTP stream directly with the BTS and reports back the RTP IP/Port on the BTS. This works fine for a single BTS, but for Handover the port/ip pointing to the MSC side must not change, so an entity in between the BTSs and the MSC is required. Integrate the mgcp-client and use osmo-mgw to switch the RTP streams. Depends: osmo-mgw Ib5fcc72775bf72b489ff79ade36fb345d8d20736 Depends: osmo-mgw I44b338b09de45e1675cedf9737fa72dde72e979a Depends: osmo-mgw I29c5e2fb972896faeb771ba040f015592487fcbe Change-Id: Ia2882b7ca31a3219c676986e85045fa08a425d7a
2017-09-03configure.ac: remove --enable-osmo-bsc, --enable-natHarald Welte1-12/+1
This is the OsmoBSC project. Disabling the build of the BSC would be somewhat odd, so let's remove the option. Also, OsmoBSC depends on libosmo-sccp now, so we must unconditionally depend on it. As a result, we can remove the --enable-nat option, as this was only to avoid a mandatory libosmo-sccp requirement in historical times. Change-Id: Icfee8a904d33b7c13ab8d185d64fb5c2337d8640
2017-08-30split off osmo-bsc: remove files, apply buildNeels Hofmeyr1-4/+0
Change-Id: I64d84c52f6e38e98144eb9be8f0ab82e0e1f6cca
2017-08-30move to osmo-mgw.git: osmo-bsc_mgcp and libmgcp as libosmo-legacy-mgcpNeels Hofmeyr1-2/+0
Rewire build and includes to libosmo-legacy-mgcp. Drop osmo-bsc_mgcp and related python tests, now found in osmo-mgw.git. libosmo-legacy-mgcp is installed from osmo-mgw, hence add the dependency to jenkins.sh (so far using the pre_release branch). Change-Id: Ic99d681759edce11564da62500c2aac5cf5fffe2
2017-08-30move libiu to osmo-iuh/libosmo-ranapNeels Hofmeyr1-7/+0
Remove libiu here, use the functions from libosmo-ranap instead, by applying the ranap_ / RANAP_ prefix. Corresponding change-id in osmo-iuh.git is I6a3f7ad15be03fb94689b4af6ccfa828c25f45c0 To be able to run the msc_vlr tests for RAN_UTRAN_IU without Iu client headers available, add iu_dummy.h, containing mere function signatures that match iu_dummy.c and a mostly empty struct ranap_ue_conn_ctx. Make sure we can build with and without --enable-iu: include osmo-iuh headers only with --enable-iu. Change-Id: Ib8c4fcdb4766c5e575618b95ce16dce51063206b
2017-08-27Implement IuCS (large refactoring and addition)Neels Hofmeyr1-1/+1
osmo-nitb becomes osmo-msc add DIUCS debug log constant add iucs.[hc] add msc vty, remove nitb vty add libiudummy, to avoid linking Iu deps in tests Use new msc_tx_dtap() instead of gsm0808_submit_dtap() libmgcp: add mgcpgw client API bridge calls via mgcpgw Enable MSC specific CTRL commands, bsc_base_ctrl_cmds_install() still needs to be split up. Change-Id: I5b5b6a9678b458affa86800afb1ec726e66eed88
2017-08-27Add libvlr implementationHarald Welte1-0/+1
Original libvlr code is by Harald Welte <laforge@gnumonks.org>, polished and tweaked by Neels Hofmeyr <nhofmeyr@sysmocom.de>. This is a long series of trial-and-error development collapsed in one patch. This may be split in smaller commits if reviewers prefer that. If we can keep it as one, we have saved ourselves the additional separation work. Related: OS#1592 Change-Id: Ie303c98f8c18e40c87c1b68474b35de332033622
2017-08-27move openbsc/* to repos rootNeels Hofmeyr1-0/+60
This is the first step in creating this repository from the legacy openbsc.git. Like all other Osmocom repositories, keep the autoconf and automake files in the repository root. openbsc.git has been the sole exception, which ends now. Change-Id: I9c6f2a448d9cb1cc088cf1cf6918b69d7e69b4e7
2009-06-10move openbsc into its own subdirectoryHarald Welte1-27/+0
2009-06-08Add the isdnsync program which enable layer1 and layer2 on a cardHolger Freyther1-1/+3
this small tool is used to enable layer 1 and 2 on a given isdn card. the card can be used to retrieve clock signal from a network. layer 2 (PTP) is required to keep layer 1 without interruption. this tool works on e1 and s0 cards. to use the clock signal with other cards, interconnection with a clock-slave-card is required. (Andreas Eversberg)
2009-06-02[misc] Search for the crypt symbol to conditionally enable crypt in VTYHolger Freyther1-2/+2
It will define -DVTY_CRYPT_PW= if crypt is found. If -lcrypt is needed, $(LIB_CRYPT) will be -lcrypt. Compiles on OS X and Linux and reenables crypt. Patch by: Lars Immisch
2009-05-21vty: disable password encryption, remove dependency to lcryptHarald Welte1-2/+2
2009-05-01bs11_config build fixHarald Welte1-1/+2
2009-04-30add new 'ipaccess-config' program to set Unit ID and primary OML NVRAM ↵Harald Welte1-1/+4
parameters of ip.access BTS
2009-03-11[misc] Make distcheck work againHolger Freyther1-0/+1
2009-03-10make telnet interface use VTY codeHarald Welte1-3/+3
2009-03-10import VTY code from zebra/quagga (from my cardshell project)Harald Welte1-1/+3
2009-02-20[build] Create a libbsc.a as noinst_LIBRARY, link bsc_hack and tests against itHolger Freyther1-2/+5
Link the tests against the libbsc.a to avoid most of the breakage when creating new symbols.
2009-02-19we need tlv_parse.c in bs11_config nowHarald Welte1-1/+1
2009-02-17[utils] Create gsm_utils for 7bit encoding and decoding...Holger Freyther1-1/+1
2009-02-14[signal] Add generic signal registration and dispatch...Holger Freyther1-1/+1
This will be used for generic registration and dispatching of any kind of event. We will have different areas (like with the debug interface) and each layer can define their own struct for the event message... This is not tested yet
2009-02-14add tlv_parser code to Makefile.amHarald Welte1-1/+1
2009-02-14add new program to use UDP broadcast packets to find ip.access BTS in the ↵Harald Welte1-1/+3
network
2009-02-13preliminary ip.access BTS support, as of now only OML singalling worksHarald Welte1-1/+1
2009-02-09* add trau_mux implementation to relay from one incoming TRAUHarald Welte1-2/+3
channel to another one (simple voice call switching) * add a way more generic E1 input layer, abstracting out the misdn low-level interface. This also adds infrastructure for multiple TRX in one BTS, as well as multiple BTS on one E1 link * add a E1 subchannel multiplexer for sending multiple 16kbit sub-channels one one 64kBps E1 channel * add TRAU IDLE frame generation * terminate bsc_hack in case there is a E1 / mISDN init error * introduce 'e1_config.c' file with static configuration of our E1 setup (which TRX/BTS is configured for which TEI/SAPI/E1). This should later become a config file rather than a compiled C file. WARNING: all this compiles but is not tested yet. Expect fix-up committs over the next hours or so
2009-02-01* improve parsing of status/phase response from BTSHarald Welte1-1/+1
* split rs232 support into separate file (like misdn.c)
2009-01-29* use select loop based rx/tx processing in bs11_configHarald Welte1-1/+1
* improve parsing/generation of fake lapd header
2009-01-18add bs11_config as LMT alternativeHarald Welte1-1/+3
2009-01-06Start creating a paging layer...Harald Welte1-1/+1
You can request to open a channel to a MS and the paging layer will call you once the channel is allocated. Internally the CCCH Load Indication will be handled and retry to page a terminal.
2009-01-05make sure we build (even if not use) subchan_demux and trau_frame codeHarald Welte1-1/+2
2009-01-02Add simplistic telnet control interfaceHolger Freyther1-1/+1
This might turn into a complete wire protocol with special client software. For now it will be a simple client interface that you can use with telnet to do certain things. This is using flex to implement the parsing. Implementation and more commands will follow.
2008-12-31Move the db_test.c to a specific test directoryHolger Freyther1-4/+1
2008-12-28Start implementing GSM 04.11 (short message service)Daniel Willmann1-1/+2
2008-12-27rewrite db backendJan Luebbe1-1/+2
2008-12-27Move the debug code to a separate debug.cHolger Freyther1-1/+1
2008-12-27Introduce a simple timer API....Holger Freyther1-1/+1
One can use add_timer or schedule_timer to add a timer. After the timeout time has been reached the callback will be called. One can call add_time/schedule_timer and del_timer from within the callback.
2008-12-27db: add GPL headers and integrate with autofooJan Luebbe1-1/+4
2008-12-25add channel allocator to makefileHarald Welte1-1/+1
2008-12-23autoconfHarald Welte1-0/+7