aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-02-10update config file to parse correctlyHarald Welte1-7/+1
2012-01-23misc: Check return value of msgb _alloc functionsHolger Hans Peter Freyther3-27/+111
Attempt to catch all functions that allocate a msgb and didn't check the return value of the allocation.
2012-01-15ipa: Send the DLCX Indication with the right message discriminatorHolger Hans Peter Freyther1-2/+2
The IPA messages for RTP should use the IPA vendor as message discriminator.
2012-01-14efr: Add efr to the femtobts_tch_pl_names arrayHolger Hans Peter Freyther2-1/+2
Parts of the code check if GsmL1_TchPlType_Efr is defined, others parts don't. Follow the easy route and assume it is defined.
2012-01-14oml: Use talloc_free(ptr) instead of talloc_free(ptr_to_ptr)Holger Hans Peter Freyther1-1/+1
tp_merged points to memory allocated by talloc_zero, no need to hand the address of that to talloc itself.
2012-01-14oml: Mention the SAPI that is activated in the log messageHolger Hans Peter Freyther1-2/+2
I was wondering why the channel was activated twice but it needs to be activated for each SAPI.
2012-01-14bts: Use msgb_dequeue and msgb_enqueue for the AGCH queueHolger Hans Peter Freyther1-11/+4
The TODO item still applies to somehow limit the queue of incoming messages and drop older ones first. A sane limit would be the number of channels (+ or * 2).
2012-01-14sysmo: handle_ph_data_ind has paths rc is not initializedHolger Hans Peter Freyther1-1/+1
rc might not be initialized when going through the default statement but also hitting a break inside the switch case statement for GsmL1_Sapi_Sacch. l1_if.c:530:2: warning: Undefined or garbage value returned to caller return rc;
2012-01-14RSL: fix typo in commentHarald Welte1-1/+1
2012-01-14OML SET CHAN ATTR: merge TS attributes (not BTS) and fix mem leakHarald Welte1-1/+5
We have to * merge the new attributes with the exiting TS (not BTS) attributes * in case of success, attach the new merged attributes to our state * in case of success, free the old attributes Thanks to Holger for pointing this out.
2012-01-11sysmo-bts: The code is not used (and built), remove it.Holger Hans Peter Freyther1-54/+0
The BTS is using the LAPDm code in polling mode, there will be no callbacks (e.g. a BTS does not transmit RACH bursts). Remove the code.
2011-12-11bts.h: lchan_init_lapdm is listed twice, remove oneHolger Hans Peter Freyther1-2/+0
2011-12-01test: Introduce a very simple test for the paging subsystemHolger Hans Peter Freyther8-1/+196
Check that adding a paging command works, check that it is expired after the first call to paging_gen_msg. The test will be extended to test the scheduling and selection of the various paging messages.
2011-12-01paging: Provide functions to check the internal state of the paging systemHolger Hans Peter Freyther2-0/+20
2011-12-01paging: Do not crash if we get called for the wrong frame/t1/t2/t3Holger Hans Peter Freyther1-2/+12
If someone wants to have paging for a wrong frame, gracefully return and do not fill the output buffer. Because we are on the wrong frame I think it is best to not fill the frame, this is why I did not add a check to l1_if.c to generate an empty frame.
2011-11-29misc: Move the cmr_index into the #if 0 block as it is only used thereHolger Hans Peter Freyther1-1/+2
2011-11-29LAPDm: Use lapdm_channel_exit() and avoid copy+paste bugHarald Welte1-2/+1
We have to either lapdm_exit() both DCCH and ACCH (not 2x ACCH) or rather call lapdm_channel_exit() which does that for us. Thanks to Holger Freyther for spotting this bug.
2011-11-24RSL: Actually check if BSC-requested cipher is supportedHarald Welte3-2/+10
2011-11-07audio: Make bts_model_rtp_rx_cb compatible with the prototypeHolger Hans Peter Freyther2-5/+5
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-11-07config: Rename llapdm -> llapd in the example configurationHolger Hans Peter Freyther1-1/+1
2011-10-12add VTY based way to set clock calibration of sysmobts L1Harald Welte6-3/+114
2011-09-19fix various compiler warnings across the codeHarald Welte12-93/+59
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 Welte5-93/+140
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 Welte4-1/+94
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-07auto-generate a version0.0.1Harald Welte2-2/+155
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-07depend on more recent libosmo-trau for polling supportHarald Welte1-1/+1
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-04update screenrc; we no longer have the '-B' command line optionHarald Welte1-1/+1
2011-09-04update configure.ac to make sure we have libosmocore-0.3.9Harald Welte1-1/+1
2011-09-04add minimal example config fileHarald Welte1-0/+33
2011-09-04add minimal configuration file supportHarald Welte6-27/+322
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