aboutsummaryrefslogtreecommitdiffstats
path: root/tests/rlcmac/RLCMACTest.ok
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-10-07 18:30:30 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-10-20 15:36:01 +0200
commit089d734cd1a8751b796db911cd8d14c2a859ca71 (patch)
tree53bdf60ad76047cb8b7effe89c7263b40bf3e767 /tests/rlcmac/RLCMACTest.ok
parentc90e6f8de11ef40a9055ce316efd563cebf8caa6 (diff)
csn1: Add unit test showing RadioAccess Capability decoding failure
This RA Cap creaes a decoding error on our CSN1 decoder, but seems to be handled properly by wireshark's own decoder as well as pycrate. The ending bit of last byte in "MS RA capability 1" has a "1" which according to spec should flag the existance of DownlinkDualCarrierCapability_r7, but nothing else comes after it. This matches the expectancies as per Length field of the first RA Cap. Related: SYS#5552 Related: OS#4955 Related: OS#5020 Change-Id: I51235e8575f4b992b44078713ec67bbccfd13293
Diffstat (limited to 'tests/rlcmac/RLCMACTest.ok')
-rw-r--r--tests/rlcmac/RLCMACTest.ok5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/rlcmac/RLCMACTest.ok b/tests/rlcmac/RLCMACTest.ok
index 5bf38a22..27800b0d 100644
--- a/tests/rlcmac/RLCMACTest.ok
+++ b/tests/rlcmac/RLCMACTest.ok
@@ -212,3 +212,8 @@ decode_egprs_pkt_ch_req(0x671) returns 0
decode_egprs_pkt_ch_req(0x6f9) returns 0
==> Emergency call
decode_egprs_pkt_ch_req(0x7ea) returns -8
+*** testRAcap4 ***
+=== Test decoding of MS RA Capability 4===
+decode_gsm_ra_cap() returns -5
+GPRS multislot class = 0
+EGPRS multislot class = 0