diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2019-03-01 10:40:48 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2019-03-11 09:08:31 +0100 |
commit | 94d79fdeef612bcc3216813e5d6ef3eaf6f652b1 (patch) | |
tree | 2ba0273c322f78b707ab9954e303bf92fac8a276 /tests/endian | |
parent | 3713af865503f78ad1a49604dc5d39908b94b2be (diff) |
gsm0808_utils: fix gsm48 multirate to S-bit converter
The function gsm0808_sc_cfg_from_gsm48_mr_cfg() is used to convert a
gsm48 multirate struct into a set of S-bits (S0 to S15). However, the
conversion function currently does not take into account that bit S1
actually stands for four rates at once (Config-NB-Code = 1). Lets make
sure that S1 is only set when the multirate configuration permits all
four required rates.
Change-Id: I6ad531d4e70c2252e32e2bbaca8e14a7ec6d9840
Related: SYS#4470
Diffstat (limited to 'tests/endian')
0 files changed, 0 insertions, 0 deletions