Skip to content
Success

Changes

Summary

  1. tests: add unit tests for osmo_rtp2trau() (details)
Commit dabf07a7dd61e0067f583e728d6d07844cc65c63 by falcon
tests: add unit tests for osmo_rtp2trau()

The suite of unit tests added in this patch exercises osmo_rtp2trau()
followed by osmo_trau_frame_encode() for the following combinations
of speech codec and TRAU frame type:

* FR and EFR codecs, TRAU-16k frames, both DL and UL
* HRv1 codec, TRAU-8k format, DL only

(RTP->TRAU conversion for HRv1 does not currenty support TRAU-UL
output.)

All output TRAU frames contained in rtp2trau_*.ok files (expected
output for unit tests) have been manually checked with Themyscira
decoding utilities trau-parse-hex (16k) and trau-hr-dump-hex (8k);
these utilities in turn were developed to analyze TRAU frame streams
captured from historical BTS and TRAU equipment, hence the chain of
truth reference comparison is traceable to pre-existing historical
hardware implementations of GSM 08.60 and 08.61 specs.

Change-Id: Ia5ca8af6bd3a899253bbcc718b70e43f2265b495
The file was addedtests/trau_conv/rtp2trau_fr_dl2.ok
The file was modifiedtests/Makefile.am
The file was addedtests/trau_conv/efr_speech_twts001_good.hex
The file was addedtests/trau_conv/rtp2trau_efr_ul2.ok
The file was addedtests/trau_conv/tw5reader.h
The file was addedtests/trau_conv/rtp2trau_fr_ul2.ok
The file was addedtests/trau_conv/rtp2trau_fr_dl1.ok
The file was addedtests/trau_conv/fr_speech_twts001_mix.hex
The file was addedtests/trau_conv/rtp2trau_efr_dl1.ok
The file was addedtests/trau_conv/hr_speech_ts101318.hex
The file was addedtests/trau_conv/fr_speech_twts001_good.hex
The file was addedtests/trau_conv/efr_speech_basic.hex
The file was modified.gitignore
The file was addedtests/trau_conv/tw5reader.c
The file was addedtests/trau_conv/rtp2trau_efr_dl2.ok
The file was addedtests/trau_conv/rtp2trau_fr_ul3.ok
The file was addedtests/trau_conv/rtp2trau_hr_dl.ok
The file was addedtests/trau_conv/rtp2trau_efr_ul3.ok
The file was addedtests/trau_conv/rtp2trau_efr_ul1.ok
The file was addedtests/trau_conv/efr_speech_twts001_mix.hex
The file was addedtests/trau_conv/rtp2trau_gen.c
The file was modifiedtests/testsuite.at
The file was addedtests/trau_conv/hr_speech_rfc5993.hex
The file was addedtests/trau_conv/fr_speech_basic.hex
The file was addedtests/trau_conv/rtp2trau_fr_ul1.ok