Commit Graph

264 Commits

Author SHA1 Message Date
p1-bmu ae3df5b25d mobile.GTPU: export GTPUDispatcher 2022-03-16 18:14:27 +01:00
p1-bmu c51f6c31e6 mobile.GTPv2: add a dict with all interfaces supported 2022-03-16 18:14:06 +01:00
p1-bmu f3a539d4a6 mobile.GTP: align GTPIEs API to GTPv2 2022-03-16 18:13:31 +01:00
p1-bmu 0d02e5dfb2 mobile.GTP: handle GTP IE unicity with their name, and not their type 2022-03-15 17:16:32 +01:00
p1-bmu 6ca34bd75b mobile.GTP: reformat GTPIEs and GTPMsg with proper MAND and OPT attributes, aligning with GTPv2-C 2022-03-14 17:41:36 +01:00
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 f83e92af4a mobile.GTP: add all IEs for GTPv1-C and encoding / decoding routines 2022-03-07 10:08:58 +01:00
p1-bmu e93c4b7b0f mobile.GTPv2-C: use IPAddr and align some classes' name with GTPv1-C 2022-03-07 10:06:34 +01:00
p1-bmu 9960a79a3f mobile.PFCP: use IPAddr and enhance FQDN repr 2022-03-07 10:05:26 +01:00
p1-bmu 7512bb4e21 mobile: add a basic IPAddr Buf subclass in 24008_IE 2022-03-07 10:04:30 +01:00
p1-bmu ef0052f08d mobile: add a TODO to MCC_MNC to reuse the external project MCC_MNC 2022-03-04 13:27:56 +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 b0cd1c45b1 mobile: fix APN decodig routine for good 2022-02-18 20:51:19 +01:00
p1-bmu 452a92c580 mobile: fix APN and DNN encoding and decoding routines 2022-02-18 20:31:06 +01:00
p1-bmu 5c5faacb3a mobile: initial support for GTPv1-C, without support for specific IE structures 2022-02-18 19:48:29 +01:00
p1-bmu 1ea3d66000 GTPv1: define root struct for IE 2022-02-15 17:49:31 +01:00
p1-bmu a4c3a06b63 mobile: prepare support for GTPv2 from 29.060 2022-02-14 17:57:44 +01:00
Benoit Michau 84cb0ddead
Merge pull request #175 from axilirator/fixeria/rrctl
pycrate_osmo: add RRCTL protocol definition
2022-02-01 14:07:21 +01:00
Vadim Yanitskiy a3013b3ea6 pycrate_mobile: raise PycrateErr in {BufBCD,PLMN}.set_val()
Without this patch, an unexpected value (e.g. an integer) passed
to {BufBCD,PLMN}.set_val() would be silently ignored and the
actual value would remain unchanged.
2022-02-01 16:43:33 +06:00
p1-bmu 0630cc425d GTPv2c: fix cause extension transparency 2022-02-01 11:13:01 +01:00
p1-bmu 356c5db3d8 mobile: fix Q.931 AccessTransport structure in ISUP 2022-01-21 09:00:10 +01:00
jewalt 722ee3e6d3 fix: handle decode of _FreqListRange for Range512,256,128
Since Range512, Range256, and Range128 are all _freqListRange and have
the same basic decode operation, they are decoded the same, but Range256
and Range128 add the decoded ARFCNs to the origin ARFCN mod 1024.
Range512 does not add to the original ARFCN.
2021-11-29 15:37:05 -07:00
p1-bmu f68c8485ec GTPC: fix APNRateControlStatus initialization 2021-11-09 10:46:58 +01:00
p1-bmu 93ab3bfbd7 mobile: ease setting 4G / 5G UESecCap value fromo a list 2021-10-25 16:16:48 +02:00
p1-bmu 8024f883ad PFCP: enable export filter 2021-10-25 11:07:30 +02:00
p1-bmu 285d8932cb PFCP: version up 2021-10-22 13:52:59 +02:00
p1-bmu 84fa11dcc6 keep being nice with py2 2021-10-22 13:52:43 +02:00
p1-bmu e8df8d5e09 GTP-U: add the subprotocol for PDU Session mgt in GTP-U header, as used in 5G 2021-10-22 13:31:21 +02:00
p1-bmu 202deaac08 PFCP: remove dummy print 2021-10-22 12:03:07 +02:00
p1-bmu 9c4cd1ea98 GSM BCCH: add orig-arfcn part of the list for variable bitmap 2021-10-22 12:02:14 +02:00
p1-bmu cd5de71631 PFCP: fix the setting of IE values 2021-10-21 16:24:10 +02:00
p1-bmu 107023bace GTP-U: restore the export filter 2021-10-20 12:31:27 +02:00
p1-bmu 11c791572c GTP-U: complete rework of the Extension Headers 2021-10-20 12:29:04 +02:00
p1-bmu 6e5457fb36 GSM BCCH: further fix frequency ranges decoding 2021-10-15 11:22:44 +02:00
p1-bmu 6497bd2bd4 Merge branch 'fix151' of git://github.com/jewalt/pycrate into jewalt-fix151 2021-10-14 09:28:15 +02:00
p1-bmu 5ff21a9ffc SCCP: fix GT address decoding cornercase 2021-10-14 09:27:54 +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 4cbd784214 5GS IE: kind reminder on easing the 5GSID manipulation 2021-10-12 17:27:22 +02:00
p1-bmu 6e971e9dd1 GTP-U: fix default value in Protocol Type header field 2021-10-12 16:25:59 +02:00
p1-bmu bb67b3f954 mobile: enhance the decoding of 5G SNSSAI 2021-06-30 17:02:40 +02:00
p1-bmu 034be6d918 mobile: add routine for initializing GTP-C IEs 2021-06-25 10:12:21 +02:00
p1-bmu ef75d5b275 mobile: update GTP-U to rel.17 2021-05-26 15:08:33 +02:00
p1-bmu 5dd61d4ee5 mobile: remove crappy cmt from GTPC 2021-05-25 13:44:15 +02:00
p1-bmu a6323ae0fc mobile: fix TEID bl in OuterHeaderCreation in PFCP 2021-05-25 13:43:58 +02:00
p1-bmu f2598488eb mobile: add status dict in 31.115 secure chan response 2021-05-21 14:01:17 +02:00
p1-bmu 7863a549f2 mobile: finish GTP-C support including SRVCC messages 2021-05-20 22:01:26 +02:00
p1-bmu 446ba9b708 remove version indication from __init__.py files 2021-05-17 17:28:51 +02:00
p1-bmu fdd45370ca mobile: update GTP-C v2 to Rel.17 2021-05-17 17:06:54 +02:00
p1-bmu 42a74abbbe mobile: update GTP-C IEs 2021-05-14 10:07:22 +02:00
p1-bmu a553247d0f mobile: enhance padding routing in a TS29244 IE 2021-05-12 15:10:39 +02:00