aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts
AgeCommit message (Collapse)AuthorFilesLines
2012-07-16PCU: Add verion number of PCU interface to PCU INFO IND messageAndreas Eversberg1-0/+3
The client (PCU) can check if it is compiled with a different version.
2012-07-08PCU: Add PCU socket interface to BTS.Andreas Eversberg3-1/+20
A special command line option "-P" is used to enable socket interface and signal available GPRS MO object to BSC.
2012-07-08PCU: Add PCU socket interface prototype header fileAndreas Eversberg1-0/+138
2012-07-08debug: Add new debugging class for PCU interface (DPCU)Andreas Eversberg1-0/+1
2012-07-08signal: Add signals for setting/change of GPRS MO attributesAndreas Eversberg1-0/+4
2012-07-08paging: Alow to store CCCH messages in paging recordsAndreas Eversberg1-0/+4
This is required for PCU to send IMMEDIATE ASSIGNMENT messages on PCH. A message in a paging record is sent only once.
2012-06-15RSL: Add CCCH LOAD INDICATION for RACHHarald Welte2-0/+6
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-14attempt to make CCCH Load Indications for PCH workHarald Welte2-1/+5
2012-06-03sysinfo: Make our SI scheduling more completeHarald Welte1-0/+3
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-04-19lchan: Send the ACT ACK/NACK after the Layer1 has handled act/deactHolger Hans Peter Freyther1-0/+1
Send the RSL ACT ACK/NACK after the Layer1 firmware has acked the activation/deactivation. In case the channel can not be activated we will send a NACK. In case the channel can not be deactivated we will send an ACK and the next time the channel is activated we will send a NACK. The release ack will be sent once the TxDownlink of the TCH/SDCCH is closed. Change the rsl_tx_chan_nack method to create a new msgb to be used by the hardware layer, change the return value to ask the caller to delete the msgb.
2012-04-19lchan: Similar to OpenBSC use a set method to change the stateHolger Hans Peter Freyther1-0/+3
By making all modifications through lchan_set_state we can easily add code to verify the state transition.
2012-04-19ciphering: Better state tracking and HACK around L1 race conditionHarald Welte1-0/+8
We now check if the received message is an LAPDm I frame in order to determine if we have received the first valid encrypted message on the radio link. This relates to the fact that we often see 'old' UI frames coming up from L1, even after it has confirmed decryption has been enabled.
2012-03-18Ensure that ADM_STATE IE is presnent when sending NM_MT_CHG_ADM_STATE_ACKHarald Welte1-0/+1
2011-12-11bts.h: lchan_init_lapdm is listed twice, remove oneHolger Hans Peter Freyther1-2/+0
2011-12-01paging: Provide functions to check the internal state of the paging systemHolger Hans Peter Freyther1-0/+5
2011-11-24RSL: Actually check if BSC-requested cipher is supportedHarald Welte1-0/+3
2011-11-07audio: Make bts_model_rtp_rx_cb compatible with the prototypeHolger Hans Peter Freyther1-1/+1
2011-10-12add VTY based way to set clock calibration of sysmobts L1Harald Welte1-0/+3
2011-09-19fix various compiler warnings across the codeHarald Welte2-0/+4
this deals with unused cocde, unused variables and undeclared symbols in various places.
2011-09-09Introduce new amr.[ch] for AMR related functionsHarald Welte2-1/+15
2011-09-08add commands to configure RTP jitter bufferHarald Welte1-0/+1
there's one global setting for the BTS default value, plus an interactive command to change the buffer of an active lchan on the fly
2011-09-04add minimal configuration file supportHarald Welte2-1/+6
this config file allows configuration of unit id, oml ip, and local rtp bind IP.
2011-09-03Add new ORTP based libosmo-trau based voice supportHarald Welte1-0/+3
Using osmo-bts-sysmo and this code, it is now possible to do FR and AMR based voice calls on TCH/F. A lot of CPU is wasted in the conversion between the RTP formats and the L1 specific formats for the codec frames. All data needs to be shifted by four bits, and the order of bits needs to be reversed in every byte.
2011-07-21Use libosmotrau for RTP supportHarald Welte1-1/+1
This only implements creating, binding, connecting and free'ing RTP sockets, not yet anything regarding receiving or transmitting codec frames on them. You will need the rtp branch of libosmocore for libosmotrau
2011-07-21remove old RTP code from osmocom-bb/jolly/bts branchHarald Welte1-47/+0
Instead, I will base on the existing RTP code in openbsc
2011-07-05logging: Add DSP log subsystemHarald Welte1-0/+1
2011-07-01fix various compiler warningsHarald Welte1-0/+5
2011-07-01fix BTS initialization orderHarald Welte1-1/+1
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 Welte2-0/+3
The idea is that the BTS process is re-spawned from init/upstart/systemd
2011-06-29implement baseic uplink measurement processing + reportingHarald Welte2-1/+15
* gather measurements from each PH-DATA.ind * check every TDMA frame about meas period expiration * compute averages after period expired * put MS DL MEAS REP into RSL MEAS RES messages, include UL meas bugs: * L3 INFO content seems to have some offset * is_sub is not set anywhere * measurement periods might have up/downlink offset
2011-06-28implement RSL DEACTIVATE SACCHHarald Welte1-0/+1
2011-06-27paging: add paging_reset() functionHarald Welte1-0/+2
2011-06-27re-work original osmo-bts with support for sysmocom femtobtsHarald Welte12-169/+211
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-36/+1
2011-05-22[partial] port to new libosmocore-0.3 APIsHarald Welte4-9/+8
2011-03-04Fix include paths and start to make code compileHarald Welte2-0/+4
(still lots of missing references into osmocom-bb code)
2011-03-04Add autotools skeleton codeHarald Welte2-0/+27
2011-03-04Import all C and Header files from jolly/bts branch of osmocom-bb.gitHarald Welte6-0/+299
The BTS code shall reside in a separate git repository, thus I'm importing the C and H files here.