Skip to content
Success

Changes

Summary

  1. gsm0808: fix wrong codec defaults for OFR_AMR_WB (details)
  2. gsm0808: add function to convert amr gsm0408 setings to gsm0808 (details)
Commit 4b081b1d8862114f59af433b943dea86ce47ac71 by pmaier@sysmocom.de
gsm0808: fix wrong codec defaults for OFR_AMR_WB
3GPP TS 48.008 chapter 3.2.2.103 states that the configuration bits of
OFR_AMR_WB are coded as follows:
"S0, S2, S4 indicates the supported Codec Configurations. S1, S3, S5,
S6, S7 are reserved and coded with zeroes."
The current default setting of 0x3F violates this requirement. Lets set
the "forbidden" settings zu zero and keep only the allowed ones.
Change-Id: I4a481def59e9c98cfdcafc2b80c0ac7df0c14130
The file was modifiedinclude/osmocom/gsm/protocol/gsm_08_08.h
Commit 2fd4fe6aa109c8df50baac465f0393a303a64dd2 by pmaier@sysmocom.de
gsm0808: add function to convert amr gsm0408 setings to gsm0808
Add a function to convert struct gsm48_multi_rate_conf, which holds the
codec settings for AMR, to S0-S15 bit representation as defined in 3GPP
TS 48.008 3.2.2.49
Change-Id: I4e656731b16621736c7a2f4e64d9ce63b1064e98 Related: OS#3548
The file was modifiedinclude/osmocom/gsm/gsm0808_utils.h
The file was modifiedsrc/gsm/gsm0808_utils.c
The file was modifiedsrc/gsm/libosmogsm.map
The file was modifiedtests/gsm0808/gsm0808_test.c
The file was modifiedinclude/osmocom/gsm/protocol/gsm_08_08.h
The file was modifiedtests/gsm0808/gsm0808_test.ok