osmo-bsc/tests/codec_pref
Sylvain Munaut aa82492ad6 assignment_fsm: Properly support assigning signalling mode TCH/x
To support the 3 possible preferences, the changes needed were:
 - Replace 'full_rate' bool with a 3 option enum to represent
   the channels types for signalling
 - Switch from _pref/_alt to using an array sorted in preference
   order

Originally merged as Change-Id I4c7499c8c866ea3ff7b1327edb3615d003d927d3,
reverted because the change broke voice calls. Re-submitting with the fix:
don't forget to set conn->assignment.requires_voice_stream.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Change-Id: I7513d2cbe8b695ba6f031ad11560c63a6535cf2d
2019-05-03 16:10:33 +02:00
..
Makefile.am codec_pref: move match_codec_pref() to separate c-file and add unit-test 2018-07-22 06:16:11 +00:00
codec_pref_test.c assignment_fsm: Properly support assigning signalling mode TCH/x 2019-05-03 16:10:33 +02:00
codec_pref_test.ok codec_pref: fix special handling for AMR rate configuration (S15-S0) 2019-03-19 13:29:10 +00:00