From 0c621fdfc65ea63d183c014b5921b4fef9b1e0e1 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sat, 20 May 2023 22:31:49 +0300 Subject: [PATCH] dia: add 29.273 / SWx --- dia/diameter_3gpp_ts29_273.dia | 169 +++++++++++++++++++++++++ dia/diameter_3gpp_ts29_273_swx.dia | 193 +++++++++++++++++++++++++++++ 2 files changed, 362 insertions(+) create mode 100644 dia/diameter_3gpp_ts29_273.dia create mode 100644 dia/diameter_3gpp_ts29_273_swx.dia diff --git a/dia/diameter_3gpp_ts29_273.dia b/dia/diameter_3gpp_ts29_273.dia new file mode 100644 index 0000000..96f779e --- /dev/null +++ b/dia/diameter_3gpp_ts29_273.dia @@ -0,0 +1,169 @@ +;; +;; %CopyrightBegin% +;; +;; Copyright (C) 2023 by sysmocom - s.m.f.c. GmbH +;; Author: Alexander Couzens +;; +;; This resembles 3GPP TS 29.273 version 15.4.0 Release 15 +;; +;; Licensed under the Apache License, Version 2.0 (the "License"); +;; you may not use this file except in compliance with the License. +;; You may obtain a copy of the License at +;; +;; http://www.apache.org/licenses/LICENSE-2.0 +;; +;; Unless required by applicable law or agreed to in writing, software +;; distributed under the License is distributed on an "AS IS" BASIS, +;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +;; See the License for the specific language governing permissions and +;; limitations under the License. +;; +;; %CopyrightEnd% +;; + +;; +;; Edits: +;; +;; + +@id 0 +@name diameter_3gpp_ts29_273 +;;@prefix diameter_3gpp +@vendor 10415 3GPP + +@inherits diameter_gen_base_rfc6733 +@inherits diameter_3gpp_ts32_299 +@inherits diameter_rfc5580 +@inherits diameter_rfc5778 + +@avp_types + MIP6-Feature-Vector 124 Unsigned64 M ;; 5.2.3.3 + 3GPP-AAA-Server-Name 318 DiameterIdentity MV ;; 8.2.3.24 + Mobile-Node-Identifier 506 UTF8String M ;; 5.2.3.2 + + Non-3GPP-User-Data 1500 Grouped MV ;; 8.2.3.1 + Non-3GPP-IP-Access 1501 Enumerated MV ;; 8.2.3.3 + Non-3GPP-IP-Access-APN 1502 Enumerated MV ;; 8.2.3.4 + AN-Trusted 1503 Enumerated MV ;; 5.2.3.9 + ANID 1504 UTF8String MV ;; 5.2.3.7 + Trace-Info 1505 Grouped V ;; 8.2.3.13 + MIP-FA-RK 1506 OctetString MV ;; 5.2.3.12 + MIP-FA-RK-SPI 1507 Unsigned32 MV ;; 5.2.3.13 + PPR-Flags 1508 Unsigned32 V ;; 8.2.3.17 + WLAN-Identifier 1509 Grouped V ;; 5.2.3.18 + TWAN-Access-Info 1510 Grouped V ;; 8.2.3.19 + Access-Authorization-Flags 1511 Unsigned32 V ;; 8.2.3.20 + TWAN-Default-APN-Context-Id 1512 Unsigned32 V ;; 8.2.3.18 + ;; 1513 - 1515 reserved + Full-Network-Name 1516 OctetString V ;; 5.2.3.14 + Short-Network-Name 1517 OctetString V ;; 5.2.3.15 + AAA-Failure-Indication 1518 Unsigned32 V ;; 8.2.3.21 + Transport-Access-Type 1519 Enumerated V ;; 5.2.3.19 + DER-Flags 1520 Unsigned32 V ;; 5.2.3.20 + DEA-Flags 1521 Unsigned32 V ;; 5.2.3.21 + RAR-Flags 1522 Unsigned32 V ;; 9.2.3.1.5 + DER-S6b-Flags 1523 Unsigned32 V ;; 9.2.3.7 + SSID 1524 UTF8String V ;; 5.2.3.22 + HESSID 1525 UTF8String V ;; 5.2.3.23 + Access-Network-Info 1526 Grouped V ;; 5.2.3.24 + TWAN-Connection-Mode 1527 Unsigned32 V ;; 5.2.3.25 + TWAN-Connectivity-Parameters 1528 Grouped V ;; 5.2.3.26 + Connectivity-Flags 1529 Unsigned32 V ;; 5.2.3.27 + TWAN-PCO 1530 OctetString V ;; 5.2.3.28 + TWAG-CP-Address 1531 Address V ;; 5.2.3.29 + TWAG-UP-Address 1532 UTF8String V ;; 5.2.3.30 + TWAN-S2a-Failure-Cause 1533 Unsigned32 V ;; 5.2.3.31 + SM-Back-Off-Timer 1534 Unsigned32 V ;; 5.2.3.32 + WLCP-Key 1535 OctetString V ;; 5.2.3.33 + Origination-Time-Stamp 1536 Unsigned64 V ;; 9.2.3.2.6 + Maximum-Wait-Time 1537 Unsigned32 V ;; 9.2.3.2.7 + Emergency-Services 1538 Unsigned32 V ;; 7.2.3.4 + AAR-Flags 1539 Unsigned32 V ;; 7.2.3.5 + IMEI-Check-In-VPLMN-Result 1540 Unsigned32 V ;; 5.2.3.35 + ERP-Authorization 1541 Unsigned32 V ;; 8.2.3.27 + +@grouped + +;; 5.2.3.18 +WLAN-Identifier ::= < AVP Header: 1509 10415 > + [ SSID ] + [ HESSID ] + *[ AVP ] + +;; 5.2.3.24 +Access-Network-Info ::= < AVP Header: 1526 10415 > + [ SSID ] + [ BSSID ] + [ Location-Information ] + [ Location-Data ] + [ Operator-Name ] + [ Logical-Access-ID ] + *[ AVP ] + + +;; 5.2.3.26 +TWAN-Connectivity-Parameters ::= < AVP Header: 1528 10415 > + [ Connectivity-Flags ] + [ Service-Selection ] + [ PDN-Type ] + * 2 [ Served-Party-IP-Address ] + [ TWAN-PCO ] + [ TWAG-UP-Address ] + [ TWAN-S2a-Failure-Cause ] + [ SM-Back-Off-Timer ] + *[ AVP ] + +;; 8.2.3.1 +Non-3GPP-User-Data ::= < AVP Header: 1500 10415 > + [ Subscription-ID ] + [ Non-3GPP-IP-Access ] + [ Non-3GPP-IP-Access-APN ] + *[ RAT-Type ] + [ Session-Timeout ] + [ MIP6-Feature-Vector ] + [ AMBR ] + [ 3GPP-Charging-Characteristics ] + [ Context-Identifier ] + [ APN-OI-Replacement ] + *[ APN-Configuration ] + [ Trace-Info ] + [ TWAN-Default-APN-Context-Id ] + *[ TWAN-Access-Info] + [ UE-Usage-Type ] + [ Emergency-Info ] + [ ERP-Authorization ] + [ Core-Network-Restrictions ] + *[ AVP ] + +;; 8.2.3.13 +Trace-Info ::= < AVP Header: 1505 10415> + [Trace-Data] + [Trace-Reference] + *[AVP] + +;; 8.2.3.19 +TWAN-Access-Info::= < AVP Header: 1510 10415 > + [ Access-Authorization-Flags ] + [ WLAN-Identifier ] + *[ AVP ] + + +;; enums +;; 5.2.3.9 +@enum AN-Trusted + TRUSTED 0 + UNTRUSTED 1 + +;; 5.2.3.19 +@enum Transport-Access-Type + BBF 0 + +;; 8.2.3.3 / 1501 +@enum Non-3GPP-IP-Access + NON_3GPP_SUBSCRIPTION_ALLOWED 0 + NON_3GPP_SUBSCRIPTION_BARRED 1 + +;; 8.2.3.4 +@enum Non-3GPP-IP-Access-APN + NON_3GPP_APNS_ENABLE 0 + NON_3GPP_APNS_DISABLE 1 diff --git a/dia/diameter_3gpp_ts29_273_swx.dia b/dia/diameter_3gpp_ts29_273_swx.dia new file mode 100644 index 0000000..a9cb510 --- /dev/null +++ b/dia/diameter_3gpp_ts29_273_swx.dia @@ -0,0 +1,193 @@ +;; +;; %CopyrightBegin% +;; +;; Copyright (C) 2023 by sysmocom - s.m.f.c. GmbH +;; Author: Alexander Couzens +;; +;; This resembles 3GPP TS 29.273 version 15.4.0 Release 15 +;; +;; Licensed under the Apache License, Version 2.0 (the "License"); +;; you may not use this file except in compliance with the License. +;; You may obtain a copy of the License at +;; +;; http://www.apache.org/licenses/LICENSE-2.0 +;; +;; Unless required by applicable law or agreed to in writing, software +;; distributed under the License is distributed on an "AS IS" BASIS, +;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +;; See the License for the specific language governing permissions and +;; limitations under the License. +;; +;; %CopyrightEnd% +;; + +;; +;; Edits: +;; +;; + + +@id 16777265 +@name diameter_3gpp_ts29_273_swx +;;@prefix diameter_3gpp +@vendor 10415 3GPP + +@inherits diameter_gen_base_rfc6733 + +@inherits diameter_rfc5447 +@inherits diameter_rfc5778 +@inherits diameter_3gpp_base +@inherits diameter_3gpp_break_circles +@inherits diameter_3gpp_ts29_229 +@inherits diameter_3gpp_ts29_272 +@inherits diameter_3gpp_ts32_299 + +@inherits diameter_3gpp_ts29_273 + +@messages + +;; 8. SWx +;; 8.2.2.1 Multimedia-Auth-Request + + MAR ::= < Diameter Header: 303, REQ, PXY > + < Session-Id > + { Auth-Session-State } + { Origin-Host } + { Origin-Realm } + { Destination-Realm } + { User-Name } + { Vendor-Specific-Application-Id } + { SIP-Auth-Data-Item } + { SIP-Number-Auth-Items } + [ Destination-Host ] + [ RAT-Type ] + [ DRMP ] + [ ANID ] + [ Visited-Network-Identifier] + [ Terminal-Information ] + [AAA-Failure-Indication ] + [ OC-Supported-Features ] + *[ Supported-Features ] + *[ AVP ] + +;; 8.2.2.1 Multimedia-Auth-Answer + MAA ::= < Diameter Header: 303, PXY > + < Session-Id > + { Auth-Session-State } + { Origin-Host } + { Origin-Realm } + { Vendor-Specific-Application-Id } + { User-Name} + [ DRMP ] + [ Result-Code ] + [ Experimental-Result ] + [ SIP-Number-Auth-Items ] + *[ SIP-Auth-Data-Item ] + [ 3GPP-AAA-Server-Name ] + [ OC-Supported-Features ] + [ OC-OLR ] + *[ Load ] + *[ Supported-Features ] + *[ AVP ] + +;; 8.2.2.2 Push-Profile-Request + PPR ::= < Diameter Header: 305, REQ > + < Session-Id > + { Auth-Session-State } + { Origin-Host } + { Origin-Realm } + { Destination-Host } + { Destination-Realm } + { Vendor-Specific-Application-Id } + { User-Name } + [ DRMP ] + [ Non-3GPP-User-Data ] + [ PPR-Flags ] + *[ Supported-Features ] + *[ AVP ] + +;; 8.2.2.2 Push-Profile-Answer + PPA ::= < Diameter Header: 305, PXY > + < Session-Id > + { Auth-Session-State } + { Origin-Host } + { Origin-Realm } + { Vendor-Specific-Application-Id } + [ DRMP ] + [ Result-Code ] + [ Experimental-Result ] + [ Access-Network-Info ] + [ Local-Time-Zone ] + *[ Supported-Features ] + *[ AVP ] + +;; 8.2.2.3 Server-Assignment-Request + SAR ::= < Diameter Header: 301, REQ, PXY > + < Session-Id > + { Vendor-Specific-Application-Id } + { Auth-Session-State } + { Origin-Host } + { Origin-Realm } + { Destination-Realm } + { User-Name } + { Server-Assignment-Type } + [ DRMP ] + [ Destination-Host ] + [ Service-Selection ] + [ Context-Identifier ] + [ MIP6-Agent-Info ] + [ Visited-Network-Identifier ] + *[ Active-APN ] + [ OC-Supported-Features ] + *[ Supported-Features ] + [ Terminal-Information ] + [ Emergency-Services ] + *[ AVP ] + +;; 8.2.2.3 Server-Assignment-Answer + SAA ::= < Diameter Header: 301, PXY > + < Session-Id > + { Vendor-Specific-Application-Id } + { Auth-Session-State } + { Origin-Host } + { Origin-Realm } + { User-Name} + [ DRMP ] + [ Result-Code ] + [ Experimental-Result ] + [ Non-3GPP-User-Data ] + [ 3GPP-AAA-Server-Name ] + [ OC-Supported-Features ] + [ OC-OLR ] + *[ Load ] + *[ Supported-Features ] + *[ AVP ] + +;; 8.2.2.4 Registration-Termination-Request + RTR ::=< Diameter Header: 304, REQ, PXY > + < Session-Id > + { Vendor-Specific-Application-Id } + { Auth-Session-State } + { Origin-Host } + { Origin-Realm } + { Destination-Host } + { Destination-Realm } + { User-Name } + { Deregistration-Reason } + [ DRMP ] + *[ Supported-Features ] + *[ AVP ] + +;; 8.2.2.4 Registration-Termination-Answer + RTA ::=< Diameter Header: 304, PXY > + < Session-Id > + { Vendor-Specific-Application-Id } + { Auth-Session-State } + { Origin-Host } + { Origin-Realm } + [ DRMP ] + [ Result-Code ] + [ Experimental-Result ] + *[ Supported-Features ] + *[ AVP ] +