diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2019-02-27 16:48:25 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2019-03-11 09:08:31 +0100 |
commit | 3713af865503f78ad1a49604dc5d39908b94b2be (patch) | |
tree | 9a2728d3d95832fa973ec341d874124c8ae30f15 /tests/ussd | |
parent | 3a5045302f51faf104e64783977f710d36e06e3f (diff) |
gsm0808_utils: fix gsm48 multirate configuration generator
The function gsm0808_sc_cfg_from_gsm48_mr_cfg() takes an S15 to S0
bitmask and converts that bitmask into an AMR multirate configuration
struct.
Unfortunately the current implementation implements 3GPP TS 28.062,
Table 7.11.3.1.3-2 wrongly in some aspects. Lets fix this.
- Fix wrong interpretation of the bitpatterns
- 5,15K is invalid and must never be selected
- Make sure that no more than 4 rates are selected in the active set
- Extend unit-test
Change-Id: I6fd7f4073b84093742c322752f2fd878d1071e15
Related: SYS#4470
Diffstat (limited to 'tests/ussd')
0 files changed, 0 insertions, 0 deletions