Commit Graph

84 Commits

Author SHA1 Message Date
p1-bmu bd02f24940 mobile.GTP: add ReqResp dict and simplify parsing when ignoring the msg initiator 2022-03-09 18:38:28 +01:00
p1-bmu 736458858e test: add unit tests for GTPv1-C 2022-03-07 10:09:27 +01:00
p1-bmu ca7e9b4895 mobile: fix last GTPv1-C issues and introduce some basic tests, to be enhanced 2022-02-18 20:51:59 +01:00
p1-bmu 55594c6ff2 test: add an additional GTPv2-C pdu 2022-02-01 11:57:23 +01:00
Vadim Yanitskiy 43ef5aa80b pycrate_osmo: s/SEDebugMuxMsg/DebugMuxFrame/
Strictly speaking, what we have in SEDebugMux.py is a frame, which
may optionally contain a message.  Let's rename the class to avoid
confusion.
2022-01-19 03:46:05 +06:00
p1-bmu ad6678a071 osmo: fix file header for SEDebugMux and add a description in the README 2022-01-14 09:40:36 +01:00
Vadim Yanitskiy c0790fbd98 pycrate_osmo: add Sony Ericsson DebugMux frame definition
DebugMux is a vendor specific interface exposed by nearly all old
Sony Ericsson phones and modems.  Similar to the Qualcomm's Diag
interface, DebugMux can be used to obtain logging messages from
different sub-systems, including the baseband.

Unfortunately, Sony Ericsson never published any documentation
describing the protocol.  All information was obtained by analyzing
serial port traces and reverse-engineering DebugMuxSrv.exe.
2022-01-14 02:51:02 +06:00
p1-bmu a260a84e0a test: add test vectors for GTP-U GPDU 2021-10-22 13:40:11 +02:00
jewalt 3a3bf6ccbd mobile: fix GSM SIB2 decode of Range256 BAList
Since there are spare bits in the BA list for Range256 and Range128, be
sure to only try and decode for the number of elements that should be
there.

Also, fix a bug in the CellFreqList decoding

close: 151
2021-10-13 11:15:19 -06:00
p1-bmu 839291c8e8 asn1dir: update all RAN ASN.1 specs to 3GPP rel.16 and adapt few stuff to it 2021-09-22 16:38:14 +02:00
p1-bmu 3ae75e1ba4 test: add few more GTPC / PFCP test msg 2021-06-28 13:05:01 +02:00
p1-bmu b1dd4d5fb7 test: remove the version indication from __init__ 2021-05-18 10:22:23 +02:00
p1-bmu 09fe41bd34 add ISUP and PFCP tests in the setup test routine 2021-05-06 13:56:11 +02:00
p1-bmu 7eff861370 test: add test for PFCP, enable test for ISUP and adjust few others 2021-05-04 15:09:45 +02:00
p1-bmu da5afc091e test: add some more ISUP tests 2020-10-28 11:46:12 +01:00
p1-bmu 613d86b736 test: introduce few tests for ISUP 2020-10-27 18:04:37 +01:00
p1-bmu 19bc00410b test: only cosmetic changes 2020-09-21 11:48:32 +02:00
p1-bmu f6ded2c3ec Merge branch 'OER_implementation' of https://github.com/JNevrly/pycrate into JNevrly-OER_implementation 2020-09-16 18:51:22 +02:00
p1-bmu 88ad3e92b6 test: fix the numbering of the tests 2020-09-14 17:28:06 +02:00
Josef 5ae20d1111 Updated test definition file. 2020-09-14 10:29:13 +02:00
Josef 4294178967 Fixed SEQUENCE preamble bug after checking in ASN.1 playground. 2020-09-11 10:33:11 +02:00
Josef 28074e7f4b Support for SET OF, SEQUENCE OF including *_ws methods. 2020-09-10 12:12:11 +02:00
Josef d931221943 Support for Sequence and Set including *_ws methods.
Fixed CHOICE extension bug.
2020-09-09 15:50:20 +02:00
Josef 38d96d9e15 Fixed JER tests after master merge. 2020-09-02 16:02:20 +02:00
Josef ffc679dd34 Merge branch 'master' into OER_implementation 2020-09-02 14:00:10 +02:00
Josef 3dc1e3bb67 CHOICE support including *_ws methods. 2020-08-31 16:42:10 +02:00
Josef 9272ea75fc Strings support including *_ws methods. 2020-08-28 15:42:53 +02:00
Josef cfcee98533 Fixed bug with fixed-length bitstring encoding. Added test cases for fixed-size BitString and OctetStrings. 2020-08-28 11:09:20 +02:00
Josef d66c1fac2d OctetString support including *_ws methods. 2020-08-27 18:36:44 +02:00
Josef 97a0888934 BitString support including *_ws methods. 2020-08-27 16:35:09 +02:00
mich b7ee5e834d ether: enable external module to be loaded for SCTP CRC 2020-08-21 13:31:47 +02:00
Josef a66c6006b5 OID support including *_ws methods. 2020-08-20 16:27:37 +02:00
Josef 07a8b63d1a Enumerated support including *_ws methods. 2020-08-20 15:27:04 +02:00
Josef ecddbd4d23 Real support including *_ws methods. 2020-08-20 12:16:56 +02:00
Josef be43a25681 Null, Bool, Integer support including *_ws methods. 2020-08-19 13:49:38 +02:00
Josef b7ad06a92f Null, Bool, Integer support (without *_ws methods). 2020-08-18 17:46:39 +02:00
mich 383fd140a6 test: add more asn1rt tests taken from recent github issues 2020-06-22 12:35:29 +02:00
mich e5fcbfb594 asn1rt: add an almighty reset_val() method to reset the entire content of an ASN.1 object 2020-02-25 10:20:48 +01:00
mich 0a500811d9 ether: add a complete SCTP handler 2020-02-07 15:10:53 +01:00
mich e9dd64d833 mobile: few improvements for 5G NAS 2019-12-19 10:09:27 +01:00
mich 6f275524d5 test: enable both ASN.1 rt fuzz tests 2019-12-12 15:00:49 +01:00
mich c1ee7d17da test: add 5G NAS test vectors 2019-12-06 18:08:09 +01:00
mich f6cefd7aec asn1rt: add more checks to catch errors properly 2019-12-06 11:37:10 +01:00
mich 7c1e437d46 test: add a basic example of some coverage-guided fuzzing test 2019-11-26 15:50:56 +01:00
mich c291365f4d SCCP: add get/set_addr() method for GT 2019-10-08 12:23:22 +02:00
mich f2ee79837e test: add some GTPC and Diameter test messages taken from nextepc repo 2019-08-16 18:31:21 +02:00
mich 790d5cdb8b test: add new tests to the std setup test suite 2019-08-09 17:41:04 +02:00
mich 81cb15e07a core: enable the setting of the Alt()._sel selector callback as class attribute 2019-08-09 17:28:19 +02:00
mich 5e753f7631 test: add tests for GTPv2-C and Diameter 2019-08-08 17:35:59 +02:00
mich da0e9157fe core: add support for encoded strings, e.g. UTF-8, in the base types 2019-08-01 16:41:31 +02:00