aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/abis.c
AgeCommit message (Collapse)AuthorFilesLines
2014-05-15abis: Separate initialization from connect for AbisHolger Hans Peter Freyther1-12/+11
Initialize the libosmo-abis VTY nodes more early so we can parse the config file that was created by "write". Introduce abis_init to initialize the libosmo-abis and modify abis_open to re-use an existing line. Update the comments. This has only been tried with the sysmobts-remote on x86. A TCP connection is opened toward the configured BSC. Fixes: SYS#285
2014-03-12misc: Fix the build breakage now that we have btsconfig.hHolger Hans Peter Freyther1-0/+2
Include the btsconfig.h for the PACKAGE_VERSION variable.
2013-11-14rsl: Rename abis_rsl_sendmsg to avoid symbol clash with libosmo-abisHolger Hans Peter Freyther1-1/+1
Nicolas ended up with linker issues due abis_rsl_sendmsg being defined twice. Rename our version of the function and update the code. Patched with: @i@ expression E; @@ - abis_rsl_sendmsg(E) + abis_bts_rsl_sendmsg(E)
2013-10-10misc: Fix resource leak when the ioctl is failingHolger Hans Peter Freyther1-2/+2
Fixes: Coverity CID 1040759
2013-10-06abis: Use OML remote (BSC) address if RSL CONNECT contains no IPHarald Welte1-0/+21
This introduces a new get_signlink_remote_ip() function whcih we also use in the RSL code to determine the RTP remote address if the CRCX/MDCX contains no remote IP address IE.
2013-10-06Call e1inp_vty_init() to make abis interface accessible from VTYHarald Welte1-0/+1
It might not be particularly useful, but then there's no disadvantage either...
2013-10-06migrate away from our own abis.c code to libosmoabisHarald Welte1-433/+145
libosmoabis has a BTS-side implementation of the IPA protocol for years, and osmo-bts should have used that all the time. Unfortunately it had its own local hack, this patch is migrating to the libosmocore implementation.
2012-06-21make sure we don't send CCCH LOAD IND before we have an Abis linkHarald Welte1-1/+1
2012-06-03Use git-generated PACKAGE_VERSION in IPA IDTAG_SWVERSIONHarald Welte1-2/+1
We previously used to send the bogus string "0815" which was a hack from early development time, but is obviously not a generally useful idea.
2012-04-05Increase head-room in IPA messages receivedHarald Welte1-1/+1
Without that headroom, I ran into an abort due to insufficient headroom in the LAPDm code.
2011-09-01abis.c: Remove dead codeHarald Welte1-3/+0
2011-07-01make it clear why we terminateHarald Welte1-2/+3
2011-07-01fix various compiler warningsHarald Welte1-0/+1
2011-07-01fix BTS initialization orderHarald Welte1-2/+7
The sequence is as follows: 0) start osmo-bts 1) start connection attempts to BTS 2) issue L1-RESET.req 3) receive L1-RESET.conf 4) issue RF-ACTIVATE.req 5) receive RF-ACTIVATE.conf 6) receive attributes for TRX 7) receive opstart for TRX 8) issue MPH-INIT.req [...] The important point here is: We don't want the BSC to set TRX attributes or do TRX opstart before our RF related hardware is initialized.
2011-06-29deactivate RF + exit when the Abis link is goneHarald Welte1-0/+8
The idea is that the BTS process is re-spawned from init/upstart/systemd
2011-06-29Fix memory leak in abis code: Free msgb after tx'ing itHarald Welte1-0/+1
2011-06-27re-work original osmo-bts with support for sysmocom femtobtsHarald Welte1-58/+86
This code re-works osmo-bts to add support for the upcoming sysmocom BTS. It also tries to add some level of abstraction between the generic part of a BTS (A-bis, RSL, OML, data structures, paging scheduling, BCCH/AGCH scheduling, etc.) and the actual hardware-specific bits. The hardware-specific bits are currently only implemented for the sysmocom femtobts, but should be (re-)added for osmocom-bb, as well as a virtual BTS for simulation purpose later. The sysmocom bts specific parts require hardware-specific header files which are (at least currently) not publicly distributed.
2011-05-22abis: use ipaccess protocol header from libosmogsmHarald Welte1-6/+6
2011-05-22[partial] port to new libosmocore-0.3 APIsHarald Welte1-13/+13
2011-03-04Import all C and Header files from jolly/bts branch of osmocom-bb.gitHarald Welte1-0/+488
The BTS code shall reside in a separate git repository, thus I'm importing the C and H files here.