aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2018-05-03Bump version: 0.7.0.183-c45a-dirty → 0.8.00.8.0Pau Espin Pedrol1-8/+8
Change-Id: I92b7b584beac870d1dccc9d5637fa54154b6db03
2018-04-09octphy: integrate octasics latest header releasePhilipp Maier1-7/+77
At the moment osmo-bts does not compile with the latest header file release from OCTSDR-2G-02.10.00-B1837-ALPHA as there are struct members removed and new ones added. The changes do not affect actual functionality in the existing code. The only affected parts are vty functions that query status information about the clock sync manager. - Add detection logic in configure.ac to detect if the affected struct members are present - Add conditional compiling to handle the different combinations of available struct members. Change-Id: Ic38d8dc35522205c4ffab583b4e61b5ef03cdba2 Related: SYS#4139 Patch-by: Octasic inc.
2018-03-17Add 'osmo-bts-omldummy' to bring up only OML without RSLHarald Welte1-0/+1
This is used only in integration testing, where in the TTCN-3 testsuite we currently have no A-bis OML implementation, but only a RSL one. Change-Id: Id8e5f34091e6e32621d8c8673de7ea848dfd252f
2018-03-13configure: add --enable-werrorNeels Hofmeyr1-0/+21
Provide a sane means of adding the -Werror compiler flag. Currently, some of our jenkins.sh add -Werror by passing 'CFLAGS="-Werror"', but that actually *overwrites* all the other CFLAGS we might want to have set. Maintain these exceptions from -Werror: a) deprecation (allow upstream to mark deprecation without breaking builds); b) "#warning" pragmas (allow to remind ourselves of errors without breaking builds) As a last configure step before generating the output files, print the complete CFLAGS and CPPFLAGS by means of AC_MSG_RESULT. Change-Id: I5b37602a117350159183fb53ac330294b94f4195
2018-01-22sysmobts: move header check to appropriate placeMax1-11/+8
Move the header check specific to sysmoBTS 2050 next to generic sysmoBTS header check. Change-Id: I165c373b58146658a5a69a2d7222d60cff4db79a
2018-01-21sysmobts: remove weird default header locationMax1-4/+0
The sysmoBTS-specific headers were never looked for in the current directory. None of the CI tests use it as well. None of the other BTS models use such defaults. Let's just drop this to restore expected header location semantics. Change-Id: I0b2906e284e1e22a960c4f0f1f38724de009eda5
2018-01-21Move -I inside *INCDIR variableMax1-7/+7
Previouslywe could end-up passing empty '-I' to compilerif corresponding _INCDIR variable was not defined during the ./configure step. This is apparently tolerated by gcc but still seems like a wrong thingto do. Let's fix this by moving -I inside of *_INCDIR. Change-Id: I80915e5756d1bf64d789cfd5341fdd417ca8eed9
2018-01-21sysmobts: use proper includes for sbts2050 testMax1-1/+1
When testing for sbts2050_header.h during ./configure stage, use proper include path defined earlier. Change-Id: I55e50f612ab2a082b34096d71359dd08da150cf1
2018-01-21Remove unneeded LIBOSMOCORE_CFLAGS from testsMax1-3/+3
When testing for the presence of particular BTS model-specific header during ./configure step, we don't need to add LIBOSMOCORE_CFLAGS because none of those headers use it for compilation. Moreover, adding it might hide the problem if the headers under check are available in the same location where libosmocore headers were checked out. Change-Id: I64bf1acb9db999567e8a2a6690cfc96d6e4b7ee1
2018-01-19Enable optional static buildsMax1-1/+1
The default (for both manual and .deb builds) is to use shared build (as before) - the static build is entirely optional. Change-Id: Iabdebefef5c07dd1cd4b94b29ca40c6be0f8adda
2018-01-19Allow specifying sysmocom headers explicitlyMax1-0/+17
Add configure option --with-sysmobts=$INCDIR (like for LC1.5). Use to fix the jenkins build to fix the build after migration to stow, where we can no longer use a commin -I to include the sysmobts headers as well. Tweaked-by: neels Change-Id: I0416a9f4c428189cd9c3909c8bd016ca2908128a
2018-01-16Move sysmobts-calib into osmo-bts-sysmoMax1-0/+8
It's prerequisite for jenkins tests fix after migration to stow. The sysmobts-calib uses hand-coded Makefile instead of automake which makes it hard to properly propagate build flags. Also, make it optional to enable excluding it from certain jenkins tests. Change-Id: I3b54bfa5ef1d89092f6cf13dc27de10874b31b18
2017-12-21Add --enable-sanitize configure optionMax1-0/+9
Change-Id: I4e31e20ef2361c8f251f3ab04a0ac86e23d2e8a1
2017-10-28configure.ac: Fix Mailing list addressHarald Welte1-1/+1
We've had openbsc.org ages ago but have moved everything to osmocom.org at some point in 2010/2011. This should have been updated back then Change-Id: I5da8e9fba8f15719414fa81e2a6211f906329c2e
2017-10-27update dependencies to latest libosmo-*Harald Welte1-7/+7
We can either try to really build with those old versions or find the minimum version, or we can simply require latest version of all libosmo*, which is the safeest choice for now. Change-Id: I08915540b92d5135b0c325e30b5b6e24f88e6282
2017-10-23Move power loop to generic testsMax1-0/+1
There's nothing sysmobts specific in this test so let's move it into separate directory and run unconditionally. The test itself is unaltered except for intro text. Change-Id: I0d1957cd9cf5497826be095c7a42b7bb4fa10397 Related: OS#2223
2017-10-08Remove build dependency on legacy OpenBSCMax1-17/+1
* copy-paste gsm_data_shared.* from OpenBSC master * remove corresponding configure check and option * remove .deb dependency Actual refactoring with removal of unnecessary structures/parts, moving common OpenBSC/OsmoBSC parts into libraries etc. are left for further patches. Current patch will make coexistence with *BSC easier and will simplify our build infrastructure. Change-Id: I9f004fb5c4c1db29d4792dfd281d388c7063da13 Related: OS#1923
2017-07-22lc15: port lc15bts-mgr dependency changesMax1-0/+1
That's mostly changes related to lc15bts-mgr from https://gitlab.com/nrw_noa/osmo-bts branch nrw/litecell15 based on eb5b7f80510b603579f7af6d7d5ead296c2fa260 commit: * adjust comments to simplify further diffs * add libsystemd dependency to lc15bts-mgr * add software watchdog which uses it * ocxo calibration and gps related code Change-Id: I475a330af771891ba3c897294ce0dd57ec2ba8db Related: SYS#3732
2017-07-13VIRT-PHY: Initial check-in of a new virtual BTSHarald Welte1-0/+1
This patch adds a virtual physical layer designed to simulate the Um air interface between BTS and MS. It does so by encapsulating MAC blocks (Layer 2 PDUs) via GSMTAP and sending them through multicast UDP streams, both in uplink and in downlink. The purpose of this is enable testing without any radio hardware or related licenses. OsmocomBB has recently received as similar patch-set, adding a virty_phy executable that can be run on a PC instead of the classic 'layer1' firmware on a real phone. Using GSMTAP means that one can use unmodified wireshark to decode the messages exchanged on the virtual Um layer. This code was originally started by Harald in January 2016, continued by Sebastian Stumpf in late 2016 and early 2017, and finally completed by Harald in July 2017. Change-Id: I1bf7670975b1e367c1c62983020865a043542622
2017-07-10measurement: fix measurment reportPhilipp Maier1-0/+1
The end of the measurement reporting period is not aligned with the SACCH block where the results are reported. The tables that are used to detect the end of the measurement period are therefore wrong. The frame number of the SACCH block must be used and not the TDMA frame number (modulo 104) of the measurement reporing interval. The tables are oriented to the frame number of the first SACCH block, at the beginning of an interval. However, when a SACCH block is received it will always contain the result of the recently passed measurement reporting period. To match the tables, introduce another lookup table to remap each SACCH block that ends to the matching beginning block number. Change-Id: I1eef894e6f15b4449fc8926bebb118624efc7924
2017-07-10Use release helper from libosmocoreMax1-0/+4
Change-Id: Ib8efd2095fcf759276299b516d495219105c1f2b Related: OS#1861
2017-05-22Remove redundant testMax1-1/+0
After switching to libosmocoding there's no need in low-level bursts test which is part of libosmocoding anyway. Change-Id: Icb8caf62ac653a39a7a82f2225e8edeab7f5afb5
2017-05-22osmo-bts-trx: use libosmocodingMax1-0/+1
Remove built-in functions and use libosmocoding instead. Change-Id: I1b41bb1a8de655639107ec1f3b75afc240fd316f
2017-04-13octphy: set tx/rx antenne IDs via VTYPhilipp Maier1-0/+7
add support for the TX/RX antenna-id feature that has been introduced with release OCTSDR-2G-02.07.00-B1314-BETA. The user can now set individual ID numbers for the TX and for the RX antenna. Change-Id: I872fe3c4d7b593358a4ce2f02cf0726611b9f3aa
2017-04-13octphy: add conditional compilation to support latest octasic header releasePhilipp Maier1-1/+37
With octasics latest release (octsdr-2g-02.07.01-B1351-beta), some struct members are moved or renamed. This patch adds ifdef-logic and configure checks to restore compatibilty. Change-Id: I73287983e8bed8bf64b2ab87e6b810c2c59ea6fd
2017-02-07Add new unit-test for transmit power computation codeHarald Welte1-0/+1
This tests the computations of the tx_power.c code using sysmoBTS 1002, 1020, 1100 and 2050 values, as well as the power ramping code. Change-Id: I1cc88d4c6edff326e2e67d4f869aa02c9b2b1ac5
2016-11-27octphy: multi-trx support: fix AC_CHECK orderPhilipp1-1/+1
The header file octphy/octvc1/gsm/octvc1_gsm_default.h is not visible to the configure script when the octphy header files are referenced via --with-octsdr-2g instead having them installed in /usr/local/include. This results in a failed AC_CHECK_MEMBER check for tOCTVC1_GSM_TRX_CONFIG.usCentreArfcn, even if header files with multi-trx support are used. The configure.ac script manipulates the CPPFLAGS in order to make the octphy include files visible to AC_CHECK_ and restores the original CPPFLAGS when done. This is required when --with-octsdr-2g is used. AC_CHECK_MEMBER is executed before the CPPFLAGS are manipulated. This causes no issues if the headers are properly installed to /usr/local/include, but does not work when --with-octsdr-2g is used. This commit moves the AC_CHECK_MEMBER command into the section where the manipulated CPPFLAGS are valid in order to fix the problem described above See also commit: f5494e84e898f947190466d30d5f932bac0fadf9 Change-Id: I7bdfa4449cd6061c395cce315b372c2833520e37
2016-10-06octphy: reintroducing multi-trx supportPhilipp1-0/+1
The multi-trx had to be removed because of build conflicts with octphy header that lack the struct members for needed to support multi-trx. For details see the following revert-commits: ed6b48e4a5fba07c3ecccf689991799ae13a2aaa c9a1f284acf518cb4e62c3898e20398ed53807c3 This commit reintroduces multi trx support and ads an ifdef decision to ensure that header files without multi-trx support still work. Change-Id: I7f9b2906cc149c817183745b4c96bcc7f9ebdad0
2016-10-02configure: check for pkg-config presenceNeels Hofmeyr1-0/+7
Change-Id: Ifee0434dfa275f9faa517c740fd8577930f37188
2016-10-02build: be robust against install-sh files above the root dirNeels Hofmeyr1-0/+3
Explicitly set AC_CONFIG_AUX_DIR. To reproduce the error avoided by this patch: rm install-sh # in case it was already generated. touch ../install-sh # yes, outside this source tree autoreconf -fi This will produce an error like ... configure.ac:16: error: required file '../ltmain.sh' not found configure.ac:5: installing '../missing' src/Makefile.am: installing '../depcomp' autoreconf: automake failed with exit status: 1 See also automake (vim `which automake`) and look for 'sub locate_aux_dir'. Change-Id: I02153ad52faf1465e9f7821378e04118f17352d2
2016-02-15LC15: configure.ac: Allow specifying an alternate include-dirHarald Welte1-0/+11
The user can now use ./configure --with-litecell15=/my/local/path
2016-02-15LC15: configure.ac: use --enable-litecell15 insteda of --enable-litecell15-btsHarald Welte1-5/+5
2016-02-15LC15: Add initial support for the NuRAN Wireless Litecell 1.5Yves Godin1-0/+9
This commit adds basic support for the Litecell 1.5. Multi-TRX is not supported yet. Instead, multiple instances of the BTS can be launched using command line parameter -n <HW_TRX_NR> to specify if TRX 1 or 2 must be used by the bts. Note that only TRX 1 opens a connection to the PCU. Full support for GPRS on both TRX will come at the same time than the multi-TRX support. The BTS manager has been adapted to match the new hardware but otherwise it has not been improved or changed compared to the one used on the SuperFemto/Litecell (sysmobts).
2016-01-16Add support for Octasic OCTSDR-2G GSM PHYHarald Welte1-0/+20
This adds support for a new PHY to OsmoBTS, the Octasic OCTSDR-2G PHY. This is a proprietary GSM PHY running on a familty of Octasic DSPs.
2015-11-05Don't blindly link against '-lortp' but use pkg-config for thatHarald Welte1-0/+1
This also ensures that a missing ortp library dependency is discovered at configure time already
2015-11-05Revert "configure.ac: Add subdir-objects to suppress warnings"Harald Welte1-1/+1
This reverts commit 94a05abb98fcb1a5002f327888635f3af860c9a9. The tests don't work well with subdir-objects, so we have to live with the warnings meanwhile until somebody finds time to find the magic spell to solve the autotools quest.
2015-10-12configure.ac: Better description for --enable-sysmocom-bts and --enable-trxHarald Welte1-4/+4
2015-10-12configure.ac: Add subdir-objects to suppress warningsHarald Welte1-1/+1
automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities.
2015-10-12configure.ac: Depend on libosmotrau 0.3.2 (ortp statistics)Harald Welte1-1/+1
2015-10-12configure.ac: Only require libgps if building for sysmoBTSHarald Welte1-1/+3
2015-09-22Add test case for successful handover and unsuccessful handoverAndreas Eversberg1-0/+1
2015-09-22TRX: Replaced GSM 06.10 ordering table by table in libosmocodecAndreas Eversberg1-0/+1
2015-09-22Add test code for testing GSM burst transcodingAndreas Eversberg1-0/+1
2015-09-22TRX: Introduce osmobts-trx, a layer 1 implementation for OpenBTS tranceiversAndreas Eversberg1-0/+9
The code is quite complete, TCH and PDCH channels are not yet tested.
2015-01-09sysmobts: Initial version to use libgps to determine FIX stateHolger Hans Peter Freyther1-0/+1
We should only calibrate the clock if there is a GPS fix. Start gpsd to determine if there is a fix or not. Work around trimble decoding issues (sent an email upstream). We need to gain some more experience to see if there memory leaks. We also need to re-schedule the calibration depending on the outcome.
2014-08-24fix build problem introduced with control interfaceHarald Welte1-0/+1
2014-08-24New generic transmit power handlingHarald Welte1-2/+2
In order to support transmit power reduction by thermal management as well as the variety of new internal / external PA configurations of BTSs, we need a slightly more complex system. Also, as at high power a single dB can be quite a big difference, we are now doing all computations in milli-dB(m), i.e. 1/10000 bel. Ramping is now used both for up and down ramping, as that is useful in cases where you want to gracefully shut down a cell by shrinking its radius, gradually handing over subscribers to neighboring cells. Furthermore, this code is becoming part of the 'common' codebase, as it is not really specific to how sysmobts is working. The user can specify a single aggregate value for external system gain/attenuation. Let's say you have 1dB loss of antenna cable, so you can put that as 'user-gain -1' into the config, which means that a 'transmit power of 20dBm' will be compensatet for that and the TRX is instructed to output 21dBm to compensate the cable loss. Similarly, external PAs can be described by a positive user-gain. One of the next steps will be to communicate those values and the nominal power capability of the specific BTS to the BSC, so the BSC will automatically show correct signal levels in the VTY and log files. The code includes provisions for future extensions regarding * an external and an internal PA with calibration tables * a thermal attenuation setting to be controlled by the site manager
2014-05-22common: Ignore "si.valid" outside of _MAX_SYSINFO_TYPEHolger Hans Peter Freyther1-0/+1
Limit the range from 0 to (_MAX_SYSINFO_TYPE - 1) instead of 0 to 31. This way we will never access the lchan->si.buf[] out of bounds. This is only a theoretical issue though as the code filling the lchan->si.buf for the SACCH will not have valid >= _MAX_SYSINFO_TYPE. Add a small regression test to check we still schedule all SIs. Fixes: CID 1040765
2014-03-12misc/sysmobts: Another small change to help in finding the headerHolger Hans Peter Freyther1-0/+3
We could have a dedicated configure/cflag for the header files but for now search in the standard directories.
2014-03-12misc/sysmobts_misc.c: Read temperature from microcontrollerÁlvaro Neira Ayuso1-0/+10
Add function for requesting the temperature information to the microcontroller. I have added a function that we can extend for requesting more information but in this case we only need to know the temperature. I have added to a microcontroller temperature handling function in the manager for monitoring this information. Signed-off-by: Alvaro Neira Ayuso <anayuso@sysmocom.de>