aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-11-07audio: Make bts_model_rtp_rx_cb compatible with the prototypeHolger Hans Peter Freyther1-4/+4
2011-11-07sysmo-bts: Include bts.h for bts_shutdown, remove unused variableHolger Hans Peter Freyther1-2/+1
2011-11-07common: Include bts.h for bts_shutdownHolger Hans Peter Freyther1-0/+1
2011-11-07sysmo-bts: Use the z modifier to print the result of sizeofHolger Hans Peter Freyther2-4/+4
2011-11-07sysmobts-vty: Fix compiler warnings about the clock valueHolger Hans Peter Freyther1-2/+1
The first one just sets the val to 0xffff, the second converted the value to integer twice. sysmobts_vty.c: In function ‘cfg_trx_clkcal_def’: sysmobts_vty.c:109:15: warning: unused variable ‘clkcal’ [-Wunused-variable] sysmobts_vty.c: In function ‘cfg_trx_clkcal’: sysmobts_vty.c:122:15: warning: unused variable ‘clkcal’ [-Wunused-variable]
2011-10-12add VTY based way to set clock calibration of sysmobts L1Harald Welte5-3/+111
2011-09-19fix various compiler warnings across the codeHarald Welte10-93/+55
this deals with unused cocde, unused variables and undeclared symbols in various places.
2011-09-09sysmobts: fix initial codec mode computationHarald Welte1-5/+1
There is no off-by-one between osmocom and L1 definitions...
2011-09-09sysmobts: channel activation changes for v2.4 L1 DSP firmwareHarald Welte1-13/+32
We now have to explicitly indicate the tchPlType at channel activation type, so L1 knows which channel decoder to use (FR, EFR, AMR, ...) Also, we properly implement the initial codec mode selection as per TS 05.09
2011-09-09AMR: change definition of amr_get_initial_mode() return valueHarald Welte1-4/+6
AMR: return AMR_CODEC_MODE (0..3) instead of full range
2011-09-09Introduce new amr.[ch] for AMR related functionsHarald Welte3-92/+125
2011-09-09OML: make sure max_power_red is scaled by 2 to convert from 12.21 to dBmHarald Welte1-2/+3
2011-09-09update osmo-bts to conform to L1 v2.4 API changesHarald Welte1-0/+7
2011-09-09Inquire DSP/FPGA version at BTS boot and check band compatibilityHarald Welte3-2/+100
2011-09-08add commands to configure RTP jitter bufferHarald Welte3-1/+93
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-07make sure 'band' will correctly parse the crap that libosmocore generatesHarald Welte1-1/+1
2011-09-07store the last SID frame of a given LCHAN so we can repeat itHarald Welte1-2/+50
repeating the last SID frame is required during 20ms intervals where we don't get a new SID update (SID RTP frames are valid up to 160ms)
2011-09-07use osmo_ortp in POLLING mode instead of select loop integrationHarald Welte2-4/+24
This solves a lot of the problems we've been seeing in the context of large jitter (uRTP) or classic RTP with SID frames
2011-09-07add RTP loggingHarald Welte1-1/+7
2011-09-06user DRTP where appropriate, not DL1CHarald Welte1-8/+8
2011-09-06RSL: get rid of some compiler warningsHarald Welte1-2/+1
2011-09-06More comprehensive AMR handlingHarald Welte2-33/+153
* parse AMR multirate config form 04.08 IE into easier format * CMR, CMC and CMI on the L1 side are an _index_ into the current mode array * Fix conversion of AMR SID frames from RTP -> L1
2011-09-04add minimal configuration file supportHarald Welte4-26/+316
this config file allows configuration of unit id, oml ip, and local rtp bind IP.
2011-09-04AMR: double-check CMI/CMR/CMC valuesHarald Welte2-18/+76
We have to make sure that a phone cannot request codec modes which are not part of the active set...
2011-09-03Sysmobts L1: Implement HR codec supportHarald Welte1-3/+22
We don't really know if the HR encoding is compatible with other equipment, but it _should_ follow Chapter 5.2 of ETSI TS 101 318. Please note that RFC5993 also specifies a way to encode GSM-HR into RTP, we do not try to be compatible with that. The only difference seems to be one additional TOC octet at the beginning of the payload field.
2011-09-03Fix MODE MODIFY for multirate configuration on TCH/HHarald Welte1-1/+16
using this configuration we can have successful AMR/HR (5.9) calls
2011-09-03Add new ORTP based libosmo-trau based voice supportHarald Welte8-58/+785
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-09-03remove dead code / dead fule common/voice.cHarald Welte2-20/+1
2011-09-01abis.c: Remove dead codeHarald Welte1-3/+0
2011-07-24sysmobts: add a skeleton for codec frame processingHarald Welte8-7/+146
2011-07-24RSL: send CRCX/MDCX related messages as msg discriminator ip.accessHarald Welte1-4/+14
2011-07-21Use libosmotrau for RTP supportHarald Welte4-106/+233
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 Welte2-517/+0
Instead, I will base on the existing RTP code in openbsc
2011-07-13RSL: fix transmission of RR ciphering mode command via LAPDmHarald Welte1-11/+19
We didn't correctly format the RSLms message that went into LAPDm, causing LAPDm to drop the message. Also, disable the fake CIPH MODE COMPLETE generation hack for now
2011-07-12update the HACK to delay the fake CIPHERING MODE COMPLETEHarald Welte1-10/+39
When seinding the fake CIPH MOD COMPL, we should wait a bit, as otherwise it will reach the MSC _before_ we ever get the (still unencrypted) CLASSMARK update from the MS.
2011-07-07RSL: include fake IMEISV if we send fake CIPH MODE COMPLHarald Welte1-4/+26
If the MSC requests us to include the IMEISV in the ciph mode complete, we respond with a fake IMEISV
2011-07-07RSL: ciphering IE length can be '1' in case of 'no ciphering'Harald Welte1-1/+2
2011-07-07increae the RACH quality threshold to 5dB C/IHarald Welte1-1/+1
2011-07-07RSL: Send fake CIPHERING MODE COMPLETEHarald Welte1-1/+33
we do this as a hack as long as the MSC assumes the BTS supports A5, but the L1 really doesn't support it yet.
2011-07-07RSL: implement RSL ENCR CMD, feed L3_INFO to LAPDmHarald Welte1-5/+65
This is not full encrpytion support, the bts-model part still needs to detect the ENCR CMD when de-queueing from LAPDm and enable the de-ciphering, detect the arrival of the first encrypted frame, etc, enable en-ciphering, ...
2011-07-05sysmbts L1 if: implement 'dead DSP L1 detection'Harald Welte3-0/+30
when we activate the SCH in the DSP, we start a 5-second timer. If we ever do not receive any MPH-TIME.ind primitives from L1 within that time frame, we stop the process (and will be re-spawned)
2011-07-05l1_if: send EMPTY-FRAME.req instead of fill frame on TCH/F + FACCHHarald Welte1-2/+18
2011-07-05L1/OML: De-activate L1 SAPIs in opposite order of activationHarald Welte1-2/+2
L1 wants TCH to be activated before FACCH, and it wants FACCH to be de-activated before TCH. By iterating the array in iverse order, we ensure this.
2011-07-05increase RACH threshold to 1 dB C/IHarald Welte1-1/+1
2011-07-05add some missing #include directivesHarald Welte1-0/+2
2011-07-05add command line option '-p' to specify DSP trace flags as hex maskHarald Welte1-1/+7
2011-07-05Fix compilation of paging.cHarald Welte1-2/+2
Sometimes I really feel stupid...
2011-07-05paging: Fix 'empty paging' message contentsHarald Welte1-1/+1
Thanks to Dieter Spaar for spotting this bug
2011-07-05paging: correct contents of L2 Pseudo-LengthHarald Welte1-2/+4
thanks to Dieter Spaar for spotting this one
2011-07-05add VTY commands for setting and showing DSP trace flagsHarald Welte5-1/+216