aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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-25vty: Document parameters of the unit-id and the band selectionHolger Hans Peter Freyther1-2/+12
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-21Send RR paging requests to PCU, in order to page on PACCHAndreas Eversberg2-0/+35
2012-07-21Enable direct access to PDTCH queue of DSP by PCUAndreas Eversberg4-5/+25
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-20misc: Quote the warning to avoid additional warningHolger Hans Peter Freyther1-2/+2
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-16PCU: Add verion number of PCU interface to PCU INFO IND messageAndreas Eversberg1-0/+1
The client (PCU) can check if it is compiled with a different version.
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-16PCU interface: fix memory leaks in error pathsAndreas Eversberg1-0/+2
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-11OML: add missing ntohs() for UL/DL_TBF_EXTHarald Welte1-2/+2
Thanks to Andreas for spotting this.
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: remove german warnings from the codeHarald Welte1-2/+2
2012-07-08PCU: Add PCU socket interface to BTS.Andreas Eversberg6-16/+956
A special command line option "-P" is used to enable socket interface and signal available GPRS MO object to BSC.
2012-07-08Add BTS to list at the beginning of bts_init()Andreas Eversberg1-3/+6
During init process, signals might be sent. PCU receives these signals and requires that BTS instance is already in the list.
2012-07-08debug: Add new debugging class for PCU interface (DPCU)Andreas Eversberg1-0/+6
2012-07-08signal: Add signals for setting/change of GPRS MO attributesAndreas Eversberg1-0/+8
2012-07-08paging: Alow to store CCCH messages in paging recordsAndreas Eversberg1-30/+107
This is required for PCU to send IMMEDIATE ASSIGNMENT messages on PCH. A message in a paging record is sent only once.
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 Eversberg2-5/+11
2012-07-05paging: Expire paging requests after the expiration timeHolger Hans Peter Freyther1-1/+1
The paging needs to expire when the expiration time is smaller than the current time.
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-28Add 12.21 handling for GPRS NSE/NSVC/CELL MOHarald Welte2-0/+172
We now bring the GPRS related MO up in DEPENDENCY state and parse the various NS, BSSGP and RLC parameters as set by the BSC via 12.21/OML.
2012-06-21make sure we don't send CCCH LOAD IND before we have an Abis linkHarald Welte2-2/+2
2012-06-18rsl: use correct headroom size for load indicationsHarald Welte1-2/+2
2012-06-15use default value of 63 for maximum timing advanceHarald Welte1-0/+1
As the careful commitlog reader Andreas points out: When the BSC does not sent NM_ATT_MAX_TA, then it would be zero instead of the specified default value of 63.
2012-06-15Implement NM_ATT_MAX_TA in sysmobts backendHarald Welte1-0/+6
2012-06-15CCCH LOAD IND: Avoid divide-by-zeroHarald Welte1-2/+11
The total count of RACH or PCH slots should never be zero, as they constantly increment. However, just as a safeguard, we introduce an explicit handign to avoid divide-by-zero situations
2012-06-15RSL: Add CCCH LOAD INDICATION for RACHHarald Welte3-23/+63
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-14system information: avoid modulo 0 / SIGFPEHarald Welte1-3/+8
As Holger pointed out, it may well be the case that there are no system information messages to be sent at TC=4, and we should avoid a modulo by 0. I'm simply sending SI2 instead now, as it isn't forbidden to send it more often than the minimum at TC=2...
2012-06-14attempt to make CCCH Load Indications for PCH workHarald Welte4-16/+42
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 Welte2-4/+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-06-03sysinfo: Make our SI scheduling more completeHarald Welte1-5/+80
We now implement the fairly complex rules for schedulign of SI 2bis/2ter/2quater, 13 and 9 on TC=4 and TC=5 of the BCCH Norm. The patch is currently untested.
2012-06-02sysinfo: Schedule SI 2bis and 2terHarald Welte1-4/+4
In case we have neighbor cells in different bands, we should send those SI...
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.