mirror of https://gerrit.osmocom.org/libosmocore
gsm0503_coding: use ahs tables when encoding ahs codec id
The encoder function gsm0503_tch_ahs_encode uses gsm0503_afs_ic_ubit when encoding the CMR or FT (depends on the frame number). This is not correct. It should use gsm0503_ahs_ic_ubit instead. Change-Id: Id250b2102ac79ff222bd3ad9d1abc4b60abdd12b Related: SYS#5549
This commit is contained in:
parent
4bedb53b34
commit
6be7e9dac0
|
@ -3007,7 +3007,7 @@ int gsm0503_tch_ahs_encode(ubit_t *bursts, const uint8_t *tch_data, int len,
|
|||
return -1;
|
||||
}
|
||||
|
||||
memcpy(cB, gsm0503_afs_ic_ubit[id], 4);
|
||||
memcpy(cB, gsm0503_ahs_ic_ubit[id], 4);
|
||||
|
||||
gsm0503_tch_hr_interleave(cB, iB);
|
||||
|
||||
|
|
Loading…
Reference in New Issue