diff options
author | Max <msuraev@sysmocom.de> | 2017-05-22 16:07:04 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-05-24 22:12:56 +0000 |
commit | c8cf82059518855298b87da4757e8e1face74359 (patch) | |
tree | 29632a5a30ef38ea4ffebbc907f5949580e2ece9 /contrib/jenkins.sh | |
parent | 34e228a9bcf3ac37287bb5e684ace46818740f3b (diff) |
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
Diffstat (limited to 'contrib/jenkins.sh')
0 files changed, 0 insertions, 0 deletions