aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-04-25configure: Add LT_INIT macro to enable libtool configuration.fairwaves/static-fixAlexander Chemeris1-1/+1
Now we can use --enable-shared, --disable-shared, --enable-static, --disable-static, --with-pic, and --without-pic configure flags to choose whether we want dynamic or static library linking, etc. See the link for details: https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
2016-04-13jenkins: Add the build script from jenkins hereHolger Hans Peter Freyther1-0/+68
This can be used to replicate a build issue more easily. Build specific to the Octphy.
2016-04-13jenkins: Add the build script from jenkins hereHolger Hans Peter Freyther1-0/+74
This can be used to replicate a build issue more easily.
2016-04-01misc: Ignore files generated by a debian packaging buildHolger Hans Peter Freyther1-0/+11
2016-04-01debian: Create initial packaging for the osmo-bts-trxHolger Hans Peter Freyther7-0/+69
This is only with osmo-bts-trx as others require headers that are not packaged yet.
2016-03-22LC15: properly initialize unmapped phy instancesMax1-0/+7
Fixes: OS#1665
2016-03-22LC15: add stubs for phy link/instance defaultsMax1-0/+8
2016-03-22LC15: ignore build byproductsMax1-0/+5
2016-03-21octphy: fix for multiple trx with more than 1 dspMax2-2/+10
Explicitly store and use "center" arfcn used by each dsp (1 dsp corresponds to 1 phy link).
2016-03-18octphy: add example configuration with 2 trxMax1-0/+35
2016-03-18octphy: add support for multiple trx idsMax2-2/+4
2016-03-18octphy: use octasic's routines for debug outputMax1-2/+4
2016-03-17Fix typo in error messageMax1-1/+1
2016-03-17octphy: add missing include to fix the buildMax1-0/+1
2016-03-17Add utility to check proper scheduling of SIMax1-0/+91
There are several types of System Information messages with tricky scheduling rules described in 3GPP TS 05.02 § 6.3.1.3. This GNU Awk script takes in .csv file with sequence of scheduled SI messages (for example generated using tshark from GSMTAP capture - see usage note inside the script) and check the scheduling rules compliance.
2016-03-17Ignore binary and backup filesMax1-0/+2
Add missing entries to .gitignore
2016-03-17Add explicit check for SI2quater index and countMax1-2/+21
Right now we do not support multiple SI2quater messages, so return error if either index or count is non-zero.
2016-03-17Fix SI2ter schedulingMax1-2/+3
According to 3GPP TS 05.02 § 6.3.1.3 SI2ter messages should be scheduled in FN with TC=4 only if SI2bis messages are also available.
2016-03-16octphy: Enable TCH/H mode and begin testingHolger Hans Peter Freyther1-3/+0
Upcoming releases will support TCH/H and we should start to test the DSP->RTP code.
2016-03-15misc: Attempt to fix make distcheck and dumping docsHolger Hans Peter Freyther2-2/+2
The file has been renamed, attempt to catch up
2016-03-14Update configuration examplesHarald Welte1-4/+8
Add SysmoBTS-specific example. Remove outdated generic example which is no longer working.
2016-03-11Fix copy-paste issueMax1-1/+1
This issue prevented scheduling of SI 2quater messages.
2016-03-10octphy: Use the event defaults as baseHolger Hans Peter Freyther1-0/+3
Bad parameters are passed to the event structure and the default initialization should happen.
2016-03-10pcuif: Do not bump the PCU_IF versionHolger Hans Peter Freyther1-1/+1
I had accidently bumped the version as I thought that osmo_ph_pres_info_type was part of the ABI. It is not an only internal to the BTS. Revert this part of the change.
2016-02-22Fix ocmo-bts-octphy interaction with OsmoPCUMax6-14/+15
Previously osmo-bts-octphy have not provided in-band presence information which cause off-by-one errors and misinterpretation of ph_data_ind by PCU. This fixed now by adding support for explicitly passing PH-DATA presence info. Corresponding check and in-band passing of presence information are removed. Note: this requires libosmocore version with osmo_ph_pres_info_type support integrated. [hfreyther/max: Remove + 1 from the decoded length]
2016-02-15scheduler: Fix ARRAY_SIZE() in trx_sched_init()Harald Welte1-1/+1
We want the size of the array, not of the pointer to the array. Found by coverity (CID 1351422).
2016-02-15use unsigned int to compare wih ARRAY_SIZEHarald Welte1-1/+1
This is not really an issue, but makes coverity happy (CID 1351422).
2016-02-15sysmobts_vty: Fix null-check for pinstHarald Welte1-1/+1
There was a copy+paste error, checking for plink but we should check for pinst. This was found by coverity (CID 1351424).
2016-02-15Merge branch 'laforge/litecell15'Harald Welte59-191/+9586
2016-02-15LC15: remove bogus check_for_ciph_cmd() copyHarald Welte1-45/+0
2016-02-15LC15: set nominal transmit power of 37dBm for all TRXHarald Welte1-2/+5
2016-02-15LC15: Fix 'make dist' (missing include files)Harald Welte1-2/+2
2016-02-15Use consistent naming of binaries accross BTS modelsHarald Welte4-14/+14
Let's use one systematic naming schemes for all BTS models. osmobts-trx -> osmo-bts-trx sysmobts -> osmo-bts-sysmo lc15bts -> osmo-bts-lc15
2016-02-15make PCU socket and telnet port configurableHarald Welte6-8/+52
In some cases we'd like to run multiple instances of osmo-bts on a single machine. This is the case where we a multi-TRX PHY is to be used for several BTSs, or in case osmo-bts-trx has multple SDRs attached. This wa currently prevented by having a hard-coded PCU socket path and telnet port, which are now configurable via VTY / config file itself.
2016-02-15declare pcu_direct in pcu_if.hHarald Welte5-8/+4
2016-02-15move auto-band configuration commands to common/vty.cHarald Welte5-57/+27
It remains up to the individual BTS hardware models to decide whether or not to register those commands (depending on whether they support the feature) via cfg_bts_auto_band_cmd / cfg_bts_no_auto_band_cmd
2016-02-15LC15: Call l1if_reset() after l1if_open()Harald Welte2-4/+2
We want to start talking to the L1 from the point the PHY link has been opened, and not only once an OML connection has been established.
2016-02-15LC15: Remove clk_cal (another unused struct member)Harald Welte2-2/+0
2016-02-15LC15/sysmobts: Don't try to refer to fl1h from PHY configHarald Welte13-166/+121
At the time the phy link / phy instance level VTY configuration commands are parsed, we did not yet call l1if_open() and thus pinst->u.{lc15,sysmobts}.hdl == NULL. PHY or PHY instance specific configuration must thus be stored inside the phy_link or phy_instance itself, and not inside the (not yet existing) handle. We solve this by moving around some parameters: * clk_use_eeprom/clk_cal/clk_src/calib_path get replicated in phy_instance * min_qual_{rach,norm} are moved into the generic part (which means that osmo-bts-octphy and osmo-bts-trx should also implement them)
2016-02-15LC15: Remove unused clk_use_eeprom and clk_src fieldsHarald Welte2-3/+0
this is part of the copy+paste legacy from sysmobts and can be removed as it is not used.
2016-02-15sysmobts/LC15: Fix startup-time DSP trace flage configurationHarald Welte9-17/+98
Due to the changes introduced by the phy_link API, it's not easy to set the default DSP trace flags via a command line argument anymore. We now rather introduce a persitent VTY configuration command, by which the default DSP tracing configuration can be set (for each PHY). The persistent trace flags are stored in the phy_instance, while the current operational run-time flags are in fl1h->phy_instance.
2016-02-15introduce + use new generic vty_get_phy_instance()Harald Welte4-46/+32
this function is intended to be used by VTY commands that need to resolve a given PHY interface.
2016-02-15LC15: fix compiler warning against more recent libosmovtyHarald Welte1-1/+1
2016-02-15LC15: Fix printed msgq file names in error messagesHarald Welte1-4/+2
2016-02-15LC15: cosmetic whitespace fixesHarald Welte5-13/+13
2016-02-15LC15: Add example configuration file for Litecell 1.5Harald Welte1-0/+42
2016-02-15LC15: port litecell 1.5 support to recent osmo-bts masterHarald Welte10-351/+177
This includes changes required for * shared main() function accross all BTS models * use of the new phy_link / phy_instance infrastructure as the basis for true multi-TRX operation
2016-02-15LC15: configure.ac: Allow specifying an alternate include-dirHarald Welte2-1/+12
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: use talloc pool for msgb and ortp libraryYves Godin1-1/+1
by using a talloc pool, we avoid having to go back to the libc malloc pool all the time. The msgb allocations and libortp allocations happen quite frequently during processing and show up as one of the high priority items in osmo-bts profiles on sysmoBTS with 14 concurrent TCH/H calls (highest load scenario). talloc still consumes significant CPU, this is mostly due to the zero-initialization of all the associated buffers. Strictly speaking we shouldn't need this, but any change there would require lots of testing, as there might be hidden assumptions in the code? In some percentage of cases, talloc still seems to fall back on malloc for msgb allocations, which is currently a bit of a mystery. The pools certainly are large enough, talloc_reprt() rarely reports more than a few tens of kilobytes used by the msgb pool. From 2ecbf871301cdc36c0212dd7526fc94ffa4597d1