summaryrefslogtreecommitdiffstats
path: root/tests/gsup
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-05-22 16:07:04 +0200
committerHarald Welte <laforge@gnumonks.org>2017-05-24 22:12:56 +0000
commitc8cf82059518855298b87da4757e8e1face74359 (patch)
tree29632a5a30ef38ea4ffebbc907f5949580e2ece9 /tests/gsup
parent34e228a9bcf3ac37287bb5e684ace46818740f3b (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 'tests/gsup')
0 files changed, 0 insertions, 0 deletions