aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo
AgeCommit message (Collapse)AuthorFilesLines
2012-10-28sysmobts: Add support for reading calibration tables0.1.0Harald Welte6-9/+125
'trx-calibration-path' is the new VTY command indicating the path name where the calibration files can be found. Calibration is only implemented for SUPERFEMTO API version 2.4.0 or later.
2012-10-28l1_transp_fw: don't use printf() and dont print things twiceHarald Welte1-2/+10
2012-10-28properly display the header file versionsHarald Welte1-2/+3
2012-10-27sysmobts: Add code to read calibration filesHarald Welte1-0/+202
... and convert them to L1 primitives. The code is not yet used.
2012-10-27make it build against sysmobts v2 APO 0.1, 0.2, 1.0, 2.0, 2.1, 2.2, 2.4 and 3.0Harald Welte3-12/+40
2012-10-22Fix: Remove Bad frame Indicator from PDCH blocks before sending via GSMTAPAndreas Eversberg1-2/+10
2012-09-29Set correct GSMTAP channel type for PDTCH/PACCHAndreas Eversberg1-4/+4
2012-08-17sysmobts VTY: update to new libosmocoreHarald Welte1-64/+13
libosmocore 40832fcfb58c8c97c66e098c5705352ac5beea8e and later contain the vty_cmd_string_from_valstr() function, so we shouldn't have a local / deprecated copy anymore.
2012-08-09sysmobts: Do not ignore the band configuration of the BTS.Holger Hans Peter Freyther1-4/+2
The band was derived from the ARFCN but this does not work for PCS1900/DCS1800 due overlapping ARFCNs. Use the already existing band configuration to select the band for the MphInitReq. The dsp firmware will complain if the band/arfcn do not match.
2012-07-26PCU: Removed -P option, so GPRS support is always enabledAndreas Eversberg1-11/+7
2012-07-26sysmobts: Support older firmware on the RevB hardwareHolger Hans Peter Freyther4-3/+17
For the firmware used on RevB the GsmL1_Prim_t was bigger than the femtobts control structure. Solve it by introducing a macro that will select the biggest size and use this macro. This is a follow up fix for 08fce19cfce84432fbf8293318486a96437a3427.
2012-07-25vty: Document the gsmtap SAPI and the dsp trace flags parametersHolger Hans Peter Freyther3-8/+63
Introduce femtobts_tracef_docs with some more information about the traceflags, add parameters to the vty_cmd_string_from_valstr for specifying the separator, the suffix and if the name should be lowered.
2012-07-22l1_if: indicate against which api header files we were compiledHarald Welte1-0/+4
2012-07-22determine (and use) the API version as indicated in the header filesHarald Welte2-0/+13
From our header files v2.4 onwards, we include some macros that allow us to do compile-time checks for the API header version. As older headers don't have those macros, we have to fall back to assume it will be v2.2
2012-07-21Enable direct access to PDTCH queue of DSP by PCUAndreas Eversberg3-5/+18
Use "-P -M" to enable PCU and direct access.
2012-07-20sysmobts: The array size for the clocksources has increased to 10.Holger Hans Peter Freyther1-1/+1
2012-07-19Allow L1 forward proxy to provide all 4 queues to seperate applicationsAndreas Eversberg5-127/+115
Different applications can now connect to L1 forward proxy or access DSP directly, if they use different message queues.
2012-07-19Allocate correct message size for L1 primitivesAndreas Eversberg3-3/+3
This is required for using firmware v2.4
2012-07-16sysmobts L1: fix memory leaks for GPRSAndreas Eversberg1-7/+7
we have to hand off the PH-RTS.ind to the PCU interface _before_ we allocate a response msgb/primitive.
2012-07-11add new sysmobst-mgr daemonHarald Welte8-1/+747
This daemon is taking care of counting the number of hours in operation and to watch the system temperature as determined by internal temperature sensors. Later, it will export an external interface for firmware reload, as well as a way to raise OML ALARMs in case of temperature issues or other problems.
2012-07-09l1_if: skip processing of measurement results on PDTCHHarald Welte1-0/+5
In case of PDTCH, the PCU has to process measurements, not the BTS.
2012-07-08PCU: Add PCU socket interface to BTS.Andreas Eversberg2-11/+96
A special command line option "-P" is used to enable socket interface and signal available GPRS MO object to BSC.
2012-07-08lchan: Activate PTCCH/PRACH/PDTCH/PACCH when activating PDCHAndreas Eversberg1-2/+15
2012-07-08Fixed check for RACH (random access) delayAndreas Eversberg1-8/+8
2012-07-08Fixes for handling of GPRS NSE/NSVC/CELL MOAndreas Eversberg1-0/+3
2012-07-05l1_if: don't enable any GSMTAP by defaultHarald Welte1-3/+0
the user has to explicitly enable it in the VTY
2012-07-05sysmobts_vty: Fix setting GSMTAP sapi, as well as save/restore in cfgHarald Welte1-2/+38
2012-07-05sysmobts: avoid sending duplicate RSL CHAN ACT ACKHarald Welte1-3/+6
This is just an intermediary hack, until we get proper lchan manager threads...
2012-06-15Implement NM_ATT_MAX_TA in sysmobts backendHarald Welte1-0/+6
2012-06-15RSL: Add CCCH LOAD INDICATION for RACHHarald Welte1-0/+31
We now count the total number of RACH slots, the number with rx level above the busy threshold, and the number of valid access bursts. This data is used to generate RSL CCCH LOAD INDICATION for the RACH.
2012-06-05sysmobts: The meaning of the clock value changed from v1 to v2Holger Hans Peter Freyther2-4/+17
In v2 the calibration value is the clock error in ppb that needs to be compensated. Create a V2 specific implementation. Write the clock value unconditionally as it is initialized to 0 by default and not 0xffff.
2012-06-05sysmobts-v1: Fix compilation by using the right defineHolger Hans Peter Freyther1-2/+2
2012-06-03Use git-generated PACKAGE_VERSION in IPA IDTAG_SWVERSIONHarald Welte1-2/+0
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-06-01sysmobts: set the RF ACTIVE LED when we bring RF upHarald Welte4-2/+131
Once we get RF-ACTIVATE.conf from L1, we now enable the corresponding LED. We also switch it off on RF-DEACTIVATE.conf. We do _not_ switch it off when osmo-bts crashes or terminates before RF-DEACTIVATE.conf. The latter is intentional, as RF may very well still be active at that point. The re-spawning script will re-set the DSP and therby turn off the RF and then disable the LED. A better solution might be to do all this in the kernel driver for the DSP.
2012-05-31add /var/lock/bts_rf_lock and /var/run/osmo-bts.pid for rf controlHarald Welte1-1/+31
an external application can create /var/lock/bts_rf_lock and then kill the pid in /var/run/osmo-bts.pid in order to shut down the BTS. Any re-spawning scripts will trigger, but osmo-bts will refuse to start up until /var/lock/bts_rf_lock is removed again.
2012-05-31sysmobts: fix double-free if msgq cannot be openedHarald Welte1-4/+3
2012-05-13sysmobts l1: make sure to read messages of arbitrary sizeHarald Welte1-1/+7
... and warn if the size is not what we expect. This is required to work with sysmobts-v2 firmware >= v2.1, as the SuperFemto_Prim_t is now larger than the GsmL1_Prim_t.
2012-05-13Adapt to L1 firmware/API version 2.1Harald Welte3-23/+13
2012-05-12sysmobts: Document the values of the clock-source in the vty commandHolger Hans Peter Freyther1-1/+5
We need to have a documentation for each possible value, add some simple ones for the available clock sources.
2012-05-12sysmobts: Save the clock-source to the config fileHolger Hans Peter Freyther2-4/+8
Make the clock names lower case to match with the vty command.
2012-05-12sysmobts: Add Network Listen as clock source for the btsHolger Hans Peter Freyther1-0/+1
2012-04-28sysmo-bts: Use HW_SYSMOBTS_V1 to select the development hardwareHolger Hans Peter Freyther4-8/+8
2012-04-28sysmo-bts: Move the payload setting into a new methodHolger Hans Peter Freyther1-21/+14
Make this code a bit easier to read by moving the payload setting into a new method.
2012-04-26fix the idle filling to comply with 04.06 5.4.2.3 (UI frame 0 byte len)Harald Welte1-1/+1
We used to send some crap before, which most phones happily accepted but some (particularly the Wavecom Q2686) didn't really like at all.
2012-04-20lchan: I forgot to handle TchH in my recent lchan fixes, add it to another placeHolger Hans Peter Freyther1-0/+1
Harald fixed the issue for the activation by adding TchH, but this needs to be added for de-activation as well.
2012-04-19sach_deact -> sacch_deact (follow spelling fix in openbsc)Harald Welte1-3/+3
2012-04-19add vty-configurable loopback modeHarald Welte3-1/+83
this allows the BTS to loop-back any incoming data on a TCH
2012-04-19Fix TCH/H channel activation after zecke's recent lchan fixesHarald Welte1-0/+1
2012-04-19add VTY command to manually alter transmit powerHarald Welte3-1/+34
this allows for quick manual tx power changes from the VTY, particularly useful in type approval or other measurements.
2012-04-19l1_if: allow for l1prim or sysprim without a completion callbackHarald Welte1-2/+8