Commit Graph

264 Commits

Author SHA1 Message Date
p1-bmu 8b355936d8 mobile: fix calling method in TS31111 2021-05-12 15:10:02 +02:00
p1-bmu 2bdda757f0 mobile: fix import of pycrate err in 31111 2021-05-11 11:35:52 +02:00
p1-bmu 8de6e3c24a mobile: extend 29.274 GTP-C IE definitions 2021-05-07 17:35:31 +02:00
p1-bmu 31d33073d8 mobile: add req / resp dict for PFCP 2021-05-07 10:34:03 +02:00
p1-bmu 490217fab6 mobile: remove unneeded import from ISUP 2021-05-06 13:57:13 +02:00
p1-bmu 8cc277c995 mobile: here is the complete and almighty PFCP implem... that was hard 2021-05-06 13:56:45 +02:00
p1-bmu 0fc92149b6 mobile: add more PFCP IEs 2021-05-04 17:40:06 +02:00
p1-bmu 644b07db06 mobile: align extension field in all GTP-C IE structures 2021-05-04 12:29:53 +02:00
p1-bmu a860d327c0 mobile: add PFCP to the init file 2021-05-04 12:29:15 +02:00
p1-bmu 85cb3739af mobile: add initial support for PFCP 2021-04-30 19:22:40 +02:00
p1-bmu caa234a1c0 mobile: add some comments for GTP-C 2021-04-30 19:20:47 +02:00
p1-bmu e30acd6242 mobile: add some decode methods on IEs, and fix IMEISV struct 2021-03-17 15:30:01 +01:00
p1-bmu b103968e8a mobile: fix some 5G NAS MM IE tag or name 2021-03-17 15:29:11 +01:00
p1-bmu c16aa9301b mobile: add encode / decode for the APN IE 2021-03-17 15:28:26 +01:00
p1-bmu 3b052e4e71 mobile: support invalid content in PLMN IE 2021-03-17 09:24:52 +01:00
Vadim Yanitskiy 21c8e247c8 mobile/GSMTAP: fix set_dicauto() applied to wrong field
The 9-th field is 'frame_number', for which set_dicauto() does not
make any sense.  The correct field is, indeed, 'sub_type'.
2021-02-23 01:34:41 +01:00
p1-bmu c8868b3050 mobile: add clear-text IEs list to 5G MM messages 2021-02-12 13:59:21 +01:00
p1-bmu d8c4a03601 mobile: add a get_time() API to NAS timers 2021-02-12 13:58:49 +01:00
p1-bmu 4f6bcc7b28 mobile: enable listing clear-text IEs in 5G NAS messages 2021-02-12 13:57:59 +01:00
p1-bmu 5ab5d7c0cf mobile: remove old commented stuff 2021-01-25 16:31:07 +01:00
p1-bmu 30a792efdf mobile: fix crappy license header in MAP files 2021-01-25 16:30:05 +01:00
p1-bmu ec42bf4a2e mobile / corenet: add 5G NAS import in global NAS 2021-01-25 16:29:07 +01:00
p1-bmu 7a551b8dbb mobile: fix 5GSID S-TMSI format and naming 2021-01-19 09:59:12 +01:00
p1-bmu c376d66e66 mobile: add SMC cases in NAS 5G MM Cause dict 2021-01-15 17:30:50 +01:00
p1-bmu 543e0f7515 mobile: add an export filter and fix an optional IE in 5GMM 2021-01-13 17:15:27 +01:00
p1-bmu 4f17dfa275 mobile: add more 5G SUPI formats 2020-12-07 15:07:52 +01:00
p1-bmu f28f4c9e39 mobile: enable complete setting of 5GSID through a list of values 2020-12-01 11:06:46 +01:00
p1-bmu 1f569ccce3 mobile: set the PLMN default value to 001.01 2020-12-01 10:39:20 +01:00
p1-bmu eed707253c mobile: fix SCCP unknown parameter decoding and few other stuff, also required for ISUP 2020-10-27 18:04:04 +01:00
p1-bmu ca6ddbcfef mobile: finalize ISUP support, with all messages and parameters 2020-10-27 18:03:15 +01:00
p1-bmu 3bdb89a14d mobile: initial support for all ISUP parameters 2020-10-26 20:34:50 +01:00
p1-bmu 6b8691bfec mobile: fix 5GMM security header index in encrypt / decrypt 2020-10-13 09:49:28 +02:00
p1-bmu 53ed6fe817 mobile: fix NAS bearer in the 24.501 5G MM security header 2020-10-12 09:24:58 +02:00
p1-bmu 2423fad453 mobile: add SST dict for the 5G NAS 2020-10-01 13:08:22 +02:00
mich 7b6adf6979 mobile: fix attribute chg for Alt() object 2020-09-03 17:25:52 +02:00
mich af53f620c1 mobile: align NAS LTE to rel;16 2020-08-21 13:24:38 +02:00
mich 822bdda332 mobile: finalize 5G NAS update 2020-08-21 12:50:32 +02:00
mich 0c59985ab6 mobile: complete TSNAF structure definition 2020-08-20 17:13:21 +02:00
mich 7bc69fb559 mobile: final update of the 5GSM to Rel.16 2020-08-20 12:26:47 +02:00
mich 01333c687e mobile: partial 24.501 IE update to Rel.16 2020-08-19 18:30:39 +02:00
mich 736221a28a mobile: align 24.501 5GSM to Rel.16 2020-08-19 17:10:08 +02:00
mich 50973825c3 mobile: cosmetic changes in NAS ATSSS 2020-08-19 16:47:44 +02:00
mich ead357d114 mobile: add TS 24.193 NAS protocol 2020-08-19 15:29:02 +02:00
mich af99d6333a mobile: add placeholder for TS 24.519 NAS protocol 2020-08-19 15:28:32 +02:00
mich 1ba75e590b mobile: adapt 4G and 5G NAS with extended Layer3E class 2020-08-18 19:01:25 +02:00
mich e681930fc5 mobile: update NAS 5G structure to frozen rel.16 2020-08-18 18:37:17 +02:00
mich c51d5fc58f mobile: fix 5GMMRegistrationRequest Update Type tag 2020-06-22 10:02:54 +02:00
mich b632943003 mobile: remove duplicate globals in TS24501_IE 2020-06-19 18:58:55 +02:00
mich decc023abd remove crappy non-ascii (hidden) characters 2020-06-16 16:59:50 +02:00
mich 2d61be3350 q 2020-06-15 16:59:44 +02:00
mich c61b8bc0aa mobile: fix the reset of SMS UD value 2020-06-15 09:59:10 +02:00
mich 7abd4c7413 mobile: fix (again) SCCP LUDT / LUDTS pointers handling 2020-04-17 17:22:29 +02:00
mich bf9e07ed52 mobile: fix Ptr value computation for LUDT / LUDTS 2020-03-27 14:25:39 +01:00
mich 5801e329f0 mobile: change the SCCP header spare field to handling, and associated repr dict 2020-02-12 11:52:33 +01:00
mich ad045b4d4f mobile: fix SIGTRAN data transport global value 2020-02-12 11:50:57 +01:00
mich 6773add91c mobile: add MAP Errors into the MAPAppCtx module 2020-02-11 11:53:06 +01:00
mich 7f87504edc mobile: fix SUCI null scheme naming 2020-01-31 17:53:36 +01:00
Benoit Michau ac85bc4db8
Merge pull request #74 from axilirator/fixeria/fixes
Fix incorrect field order in SMS_SUBMIT, SMS_DELIVER and  SMS_STATUS_REPORT TPDUs
2020-01-28 14:44:03 +01:00
mich 5b6d35d153 mobile: fix SMS with 7bit DCS user data 2020-01-28 14:41:09 +01:00
mich b812ad8743 mobile: fix again SMS 7bit codec for messages with UDH 2020-01-28 12:27:56 +01:00
mich b9297332c3 mobile: fix SMS 7bit codec for fragmented message 2020-01-28 11:55:54 +01:00
Vadim Yanitskiy 8404debca4 mobile/TS23040_SMS: fix incorrect field order in TPDUs
Unfortunately, the message format definitions of the transport layer
in subclause 9.2.2 of 3GPP TS 23.040 are ambiguous. In particular,
the order in tables defining basic elements does not match the
order defined in the message layout tables.

Most implementations including Wireshark and TTCN-3 L3 definitions
by Ericsson [1] follow the order defined the those layout tables.
For example, this is how tshark dissects an SMS-SUBMIT message:

  GSM SMS TPDU (GSM 03.40) SMS-SUBMIT
  0... .... = TP-RP: TP Reply Path parameter is not set in this SMS SUBMIT/DELIVER
  .0.. .... = TP-UDHI: The TP UD field contains only the short message
  ..1. .... = TP-SRR: A status report is requested
  ...0 0... = TP-VPF: TP-VP field not present (0)
  .... .1.. = TP-RD: Instruct SC to reject duplicates
  .... ..01 = TP-MTI: SMS-SUBMIT (1)

This order has been manually verified by sending two short messages
with and without status report request (TP-SRR) enabled. Let's also
follow the order defined in the layout tables.

[1] https://git.eclipse.org/c/titan/titan.ProtocolModules.MobileL3_v13.4.0.git/tree/src/MobileL3_SMS_Types.ttcn
2020-01-28 02:57:14 +07:00
mich 6e03f570e9 mobile: add a reminder on the SUPI representation 2020-01-27 10:47:22 +01:00
mich 794eaa1b00 osmo: add support for the osmocom-bb L1CTL protocol 2020-01-17 14:27:11 +01:00
mich 899e63b002 mobile: fix import in TS29002 MAPAppCtx 2020-01-16 12:27:12 +01:00
mich e9dd64d833 mobile: few improvements for 5G NAS 2019-12-19 10:09:27 +01:00
mich 8f7eed991c mobile: add UE policy decoding within NAS 5G 2019-12-18 16:38:23 +01:00
mich 893ebd2df0 mobile: fix NAS 5G payload container handling 2019-12-18 16:35:12 +01:00
mich db701f91c8 mobile: draft support for 5G NAS UE policy protocol 2019-12-18 14:43:19 +01:00
mich be0ba1ed89 mobile: fix few 5G-related IEs 2019-12-13 15:43:00 +01:00
mich ca9f87abd5 mobile: rationalize some decoding routines for 24008 and 24501 IE 2019-12-12 15:00:16 +01:00
mich d49f3183a8 mobile: add MAPIE to __init__ 2019-12-06 18:08:40 +01:00
mich e42e23135e mobile: fix SNSSAI length detautomation 2019-12-06 11:59:36 +01:00
mich 1849c28c9f mobile: add 5G NAS to the global NAS PDU parser 2019-12-06 11:40:33 +01:00
mich 8bcb62b2c2 mobile: fix 24501 IE QoSRule decoding 2019-12-06 11:38:44 +01:00
mich 7e0c8cc2b4 mobile: add the MAP 29.002 AddressString specific structure 2019-12-05 12:44:25 +01:00
mich f94d1f5595 mobile: few fixes in the 5G NAS 2019-12-04 17:06:56 +01:00
mich 20f86648d6 mobile: fix 5G NAS prot disc parser 2019-12-03 18:52:38 +01:00
mich 62b6c6336c mobile: full 5G NAS codec, to be confronted to real-world PDU 2019-12-03 15:21:21 +01:00
mich 53b08239fd mobile: almost finishing 5G NAS 2019-12-02 18:39:42 +01:00
mich f388afebe8 mobile: more 5GSM NAS structures 2019-11-29 16:59:47 +01:00
mich cd7384fbc9 mobile: 5G MM and IE completed 2019-11-28 14:48:35 +01:00
mich 9c0d9b8bc9 mobile: always more 5GMM and IE structures 2019-11-27 17:12:08 +01:00
mich 73725d69b5 mobile: more 5G IE and 5GMM msg 2019-11-26 18:34:57 +01:00
mich 33faee13b4 mobile: harmonize some _from_char() handling and continue with more 5G IEs 2019-11-26 18:08:23 +01:00
mich 24bbd6dbe3 mobile: more 5G NAS signalling 2019-11-21 17:06:36 +01:00
mich b584a114d4 mobile: fix 5G IE UEStatus naming 2019-11-19 18:34:02 +01:00
mich 250c25317b mobile: add more 5G NAS IE 2019-11-19 18:31:01 +01:00
mich ecf6843575 mobile: some more 5G NAS IE 2019-11-19 11:22:13 +01:00
mich 56ea805a9d mobile: starting a 5G NAS skeleton 2019-11-08 17:57:50 +01:00
mich 4b6f882df4 mobile: update LTE NAS to 3GPP Rel.16 2019-11-08 16:11:02 +01:00
mich 05b4d00efb mobile: add specific functions for working with MAP application contexts 2019-11-04 10:51:56 +01:00
mich c291365f4d SCCP: add get/set_addr() method for GT 2019-10-08 12:23:22 +02:00
mich 01228d6ac6 mobile: fix typo in TAR dict for SAT 2019-09-18 15:26:05 +02:00
mich 3eab9d6ccc mobile: fix GTPC Cause content 2019-09-13 18:41:44 +02:00
mich 3919b5c8e7 mobile: fix extended IE in GTPC IE header 2019-09-06 18:18:31 +02:00
mich 7b1271c7d1 mobile: add some specific SMS UDH structures in 23.040 2019-09-06 18:18:04 +02:00
mich d1bb8a0aac mobile: export RP addresses for PP-SMS 2019-09-04 15:46:30 +02:00
mich 830fde0793 mobile: extend the handling of SAT/STK structures 2019-09-04 15:45:56 +02:00
mich e35c8cbffb mobile: refactor SCCP calling / called addresses into a single common class 2019-09-03 12:11:41 +02:00