libosmocore/src/coding
Max c8cf820595 Distinguish between unsupported and invalid MCS
Previously MCS0 was incorrectly set for some of type1 header values
while according to 3GPP TS 44.060 it can only be set for type3. Fix
this:

* use EGPRS_MCS* constants instead of magic values
* do not set MCS0 for reserved bits values in EGPRS header type1
* return different error codes for invalid and unsupported MCS as well
  as for other decoding errors

Note: there's no need to adjust tests because MCS0 decoding is not
supported but it's better to explicitly distinguish between unsupported
and invalid values nevertheless.

Change-Id: Id665d5c0cf50efa18b1bcbf4f17359418a380f9e
Related: OS#1524
2017-05-24 22:12:56 +00:00
..
Makefile.am add libpseudotalloc as super-simplistic talloc replacement 2017-05-17 15:15:52 +01:00
gsm0503_coding.c Distinguish between unsupported and invalid MCS 2017-05-24 22:12:56 +00:00
gsm0503_interleaving.c libosmocoding: migrate transcoding routines from OsmoBTS 2017-03-07 01:06:38 +07:00
gsm0503_mapping.c libosmocoding: migrate transcoding routines from OsmoBTS 2017-03-07 01:06:38 +07:00
gsm0503_parity.c libosmocoding: migrate transcoding routines from OsmoBTS 2017-03-07 01:06:38 +07:00
gsm0503_tables.c libosmocoding: migrate transcoding routines from OsmoBTS 2017-03-07 01:06:38 +07:00
libosmocoding.map libosmocoding: migrate transcoding routines from OsmoBTS 2017-03-07 01:06:38 +07:00