Commit Graph

935 Commits

Author SHA1 Message Date
p1-bmu 55594c6ff2 test: add an additional GTPv2-C pdu 2022-02-01 11:57:23 +01:00
Vadim Yanitskiy 12c13ed98d pycrate_osmo: add missing SEDebugMux module to __init__.py 2022-02-01 16:43:33 +06: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 a2c33338e6 tools: extend pycrate_map_op_info to also support Camel operations 2022-01-21 16:22:41 +01:00
p1-bmu b6e12c6eac media: fix filter dict in PNG 2022-01-21 12:01:25 +01:00
p1-bmu 356c5db3d8 mobile: fix Q.931 AccessTransport structure in ISUP 2022-01-21 09:00:10 +01:00
p1-bmu f90d265160 asn1rt: enhance the possibilities for per-object BER encoding variations 2022-01-19 14:46:41 +01:00
Benoit Michau 97291e5d5e
Merge pull request #171 from axilirator/fixeria/sedbgmux
pycrate_osmo.SEDebugMux: add inner message definitions
2022-01-19 10:27:06 +01:00
Vadim Yanitskiy cce155d71d pycrate_osmo.SEDebugMux: add inner message definitions 2022-01-19 03:48:01 +06:00
Vadim Yanitskiy 8f0d39af4f pycrate_osmo.SEDebugMux: use camel case for field names
This way the protocol definition is closer to the original DebugMux
terminology found in format strings of the firmware images.
2022-01-19 03:46:05 +06: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
Benoit Michau d12bbccf1d
Merge pull request #170 from axilirator/fixeria/fixes
pycrate_osmo/L1CTL: fix wrong parent class in L1CTLTrafficInd
2022-01-14 12:59:28 +01:00
Vadim Yanitskiy f8aa13b958 pycrate_osmo/L1CTL: fix wrong parent class in L1CTLTrafficInd 2022-01-14 15:00:27 +06:00
p1-bmu 6a447666ed osmo: add extra dependency info for crcmod in the readme and setup 2022-01-14 09:46:20 +01: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
Benoit Michau ed5913e4b9
Merge pull request #169 from axilirator/fixeria/sedbgmux
pycrate_osmo: add Sony Ericsson DebugMux frame definition
2022-01-14 09:25:08 +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 45da0268e3 asn1dir: add ETSI ITS IS spec 2021-12-15 10:25:12 +01:00
p1-bmu 77e70e48cd asn1c: bypass WITH COMPONENTS constraints applied to formal parameters 2021-12-15 09:09:24 +01:00
Benoit Michau 4059af03c4
Merge pull request #163 from jewalt/fix161
fix: handle decode of _FreqListRange for Range512,256,128
2021-12-08 12:43:39 +01:00
p1-bmu f62d031ae3 ether: fix VLAN type automation, and some more cleanup 2021-12-06 16:35:43 +01:00
p1-bmu e1bd91c781 asn1c: fix CHARACTER STRING definition 2021-12-01 08:41:32 +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 26c1a0a6bd asn1: update TCAP-MAP module with MAP rel.16 2021-11-18 15:19:54 +01:00
p1-bmu 4c00269b85 Merge branch 'asn1c_2021' 2021-11-10 16:34:20 +01:00
p1-bmu b43d5ef37e asn1c: disable ITS IEEE1609 2.1 which does not compile 2021-11-10 16:31:52 +01:00
p1-bmu e64f914b82 asn1c: add more ITS modules 2021-11-10 16:31:03 +01:00
p1-bmu dafd8b4ad8 asn1c: add few more ETSI ITS modules 2021-11-10 16:28:26 +01:00
p1-bmu 6fc75f6d96 asn1c: some more ITS stuff (not completely working) and all modules regenerated 2021-11-10 15:39:47 +01:00
p1-bmu b1e8193fc0 asn1rt: just provide some more comment / docstr 2021-11-10 15:38:04 +01:00
p1-bmu 7a362d5079 asn1c: disable code generation for WITH COMPONENTS constraints as they are not visible 2021-11-10 15:36:31 +01:00
p1-bmu bdc6e83043 asn1dir: add ITS IEEE1609.2 module 2021-11-10 11:23:55 +01:00
p1-bmu 965cb456d7 asn1c: enhance WITH COMPONENTS parsing 2021-11-10 11:23:15 +01:00
p1-bmu f88f4eb1f6 asn1c: fix LTE and NR RRC asn1 files and modules 2021-11-09 17:41:21 +01:00
p1-bmu 68608b49a8 asn1c: support C-style comments 2021-11-09 16:06:15 +01:00
p1-bmu 5372dcda0d asn1c: enable improper extension notation for size and alphabet constraint 2021-11-09 15:48:17 +01:00
p1-bmu 315bd60b98 CSN1: fix serialization with unset value 2021-11-09 10:50:43 +01:00
p1-bmu f68c8485ec GTPC: fix APNRateControlStatus initialization 2021-11-09 10:46:58 +01:00
p1-bmu c70b331b53 asn1c: add warning on unprocessed constraint 2021-11-09 10:46:02 +01:00
p1-bmu 2757678df1 asn1c: initiate work on asn1c with the last ITU-T version of 2021 in mind 2021-11-08 12:30:26 +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 8992bdfd28 readme: add ref to PDUSess proto 2021-10-25 11:06:58 +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 a260a84e0a test: add test vectors for GTP-U GPDU 2021-10-22 13:40:11 +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 c1a042758e core: fix _env attribute management for Alt() and corresponding representation 2021-10-22 13:30:43 +02:00
p1-bmu 202deaac08 PFCP: remove dummy print 2021-10-22 12:03:07 +02:00