aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/tch.c
AgeCommit message (Collapse)AuthorFilesLines
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-06user DRTP where appropriate, not DL1CHarald Welte1-8/+8
2011-09-06More comprehensive AMR handlingHarald Welte1-32/+62
* 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-04AMR: double-check CMI/CMR/CMC valuesHarald Welte1-13/+59
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-03Add new ORTP based libosmo-trau based voice supportHarald Welte1-2/+333
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-24sysmobts: add a skeleton for codec frame processingHarald Welte1-0/+95