diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-10-07 18:30:30 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-10-20 15:36:01 +0200 |
commit | 089d734cd1a8751b796db911cd8d14c2a859ca71 (patch) | |
tree | 53bdf60ad76047cb8b7effe89c7263b40bf3e767 /tests/rlcmac/RLCMACTest.ok | |
parent | c90e6f8de11ef40a9055ce316efd563cebf8caa6 (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.ok | 5 |
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 |