all SWx related diameter files

This commit is contained in:
Alexander Couzens 2023-05-21 15:16:09 +03:00
parent 3a11e01ac5
commit 25b3b52424
7 changed files with 187 additions and 6 deletions

View File

@ -24,6 +24,8 @@
@vendor 10415 3GPP
@inherits diameter_gen_base_rfc6733
@inherits diameter_etsi_es283_035
@inherits diameter_rfc4005_nasreq
;; only attributes required by other applications are defined
@ -41,10 +43,10 @@
SIP-Authenticate 609 OctetString MV
SIP-Authorization 610 OctetString MV
SIP-Authentication-Context 611 OctetString MV
;; SIP-Auth-Data-Item 612 Grouped MV
SIP-Auth-Data-Item 612 Grouped MV
SIP-Item-Number 613 Unsigned32 MV
Server-Assignment-Type 614 Enumerated MV
;; Deregistration-Reason 615 Grouped MV
Deregistration-Reason 615 Grouped MV
Reason-Code 616 Enumerated MV
Reason-Info 617 UTF8String MV
Charging-Information 618 Grouped MV
@ -63,7 +65,7 @@
;; Associated-Identities 632 Grouped V
Originating-Request 633 Enumerated MV
Wildcarded-Public-Identity 634 UTF8String V
;; SIP-Digest-Authenticate 635 Grouped V
SIP-Digest-Authenticate 635 Grouped V
Digest-Realm 104 UTF8String M ;; RFC-4590
Digest-Algorithm 111 UTF8String M ;; RFC-4590
Digest-QoP 110 UTF8String M ;; RFC-4590
@ -110,3 +112,34 @@
*[ Acct-Application-Id ]
*[ Vendor-Specific-Application-Id ]
*[ AVP ]
;; 6.3.13
SIP-Auth-Data-Item ::= < AVP Header: 612 10415 >
[ SIP-Item-Number ]
[ SIP-Authentication-Scheme ]
[ SIP-Authenticate ]
[ SIP-Authorization ]
[ SIP-Authentication-Context ]
[ Confidentiality-Key ]
[ Integrity-Key ]
[ SIP-Digest-Authenticate ]
[ Framed-IP-Address ]
[ Framed-IPv6-Prefix ]
[ Framed-Interface-Id ]
*[ Line-Identifier ]
*[AVP]
;; 6.3.16
Deregistration-Reason ::= < AVP Header: 615 10415 >
{ Reason-Code }
[ Reason-Info ]
* [AVP]
;; 6.3.36
SIP-Digest-Authenticate ::= < AVP Header: 635 10415>
{ Digest-Realm }
{ Digest-QoP }
{ Digest-HA1}
[ Digest-Algorithm ]
*[ AVP ]

View File

@ -200,6 +200,10 @@
Event-Threshold-Event-1I 1662 Integer32 V
Restoration-Priority 1663 Unsigned32 V
;; TODO: AVPs from 11.8 onwards. SWx required AVPs
UE-Usage-Type 1680 Unsigned32 V
Core-Network-Restrictions 1704 Unsigned32 V
@messages
;; 7.2.3 Update-Location-Request

View File

@ -32,9 +32,17 @@
@vendor 10415 3GPP
@inherits diameter_gen_base_rfc6733
@inherits diameter_3gpp_base
@inherits diameter_3gpp_break_circles
@inherits diameter_3gpp_ts29_212
@inherits diameter_3gpp_ts29_272
@inherits diameter_3gpp_ts32_299
@inherits diameter_etsi_es283_034
@inherits diameter_rfc4006_cc
@inherits diameter_rfc5580
@inherits diameter_rfc5778
@inherits diameter_rfc7683
@inherits diameter_rfc7944
@avp_types
MIP6-Feature-Vector 124 Unsigned64 M ;; 5.2.3.3
@ -115,7 +123,7 @@ TWAN-Connectivity-Parameters ::= < AVP Header: 1528 10415 >
;; 8.2.3.1
Non-3GPP-User-Data ::= < AVP Header: 1500 10415 >
[ Subscription-ID ]
[ Subscription-Id ]
[ Non-3GPP-IP-Access ]
[ Non-3GPP-IP-Access-APN ]
*[ RAT-Type ]

View File

@ -36,13 +36,16 @@
@inherits diameter_rfc5447
@inherits diameter_rfc5778
@inherits diameter_rfc7683
@inherits diameter_rfc7944
@inherits diameter_rfc8583
@inherits diameter_3gpp_base
@inherits diameter_3gpp_break_circles
@inherits diameter_3gpp_ts29_212
@inherits diameter_3gpp_ts29_229
@inherits diameter_3gpp_ts29_272
@inherits diameter_3gpp_ts32_299
@inherits diameter_3gpp_ts29_273
@inherits diameter_3gpp_ts32_299
@messages

View File

@ -0,0 +1,75 @@
;;
;; %CopyrightBegin%
;;
;; Copyright (C) 2023 by sysmocom - s.m.f.c. GmbH <info@sysmocom.de>
;; Author: Alexander Couzens <lynxis@fe80.eu>
;;
;; 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%
;;
@id 16777231
@name diameter_etsi_es283_035
@prefix diameter_e4
@vendor 13019 ETSI
@inherits diameter_gen_base_rfc6733
;; only attributes required by other applications are defined
@avp_types
Location-Information 350 Grouped V ;; 7.3.1
Policy-Control-Contact-Point 351 DiameterIdentity V ;; 7.3.2
Terminal-Type 352 OctetString V ;; 7.3.3
Requested-Information 353 Enumerated V ;; 7.3.4
Event-Type 354 Enumerated V ;; 7.3.6
Line-Identifier 500 OctetString V ;; 7.3.5
Civic-Location 355 OctetString V ;; 7.3.1.A
Geospatial-Location 356 OctetString V ;; 7.3.1.B
@grouped
;; 7.3.1
Location-Information ::= < AVP Header: 350 13019 >
[Line-Identifier]
[Civic-Location]
[Geospatial-Location]
*[AVP]
;; 7.3.4
@enum Requested-Information
IP-CONNECTIVITY-USER-ID 0
LOCATION-INFORMATION 1
POLICY-CONTROL-CONTACT-POINT 2
ACCESS-NETWORK-TYPE 3
TERMINAL-TYPE 4
LOGICAL-ACCESS-ID 5
PHYSICAL-ACCESS-ID 6
;; 7.3.6
@enum Event-Type
USER-LOGON 0
LOCATION-INFORMATION-CHANGED 1
POLICY-CONTROL-CONTACT-POINT-CHANGED 2
ACCESS-NETWORK-TYPE-CHANGED 3
TERMINAL-TYPE-CHANGED 4
LOGICAL-ACCESS-ID-CHANGED 5
PHYSICAL-ACCESS-ID-CHANGED 6
IP-ADDRESS-CHANGED 7
INITIAL-GATE-SETTING-CHANGED 8
QOS-PROFILE-CHANGED 9
USER-LOGOFF 10

View File

@ -31,9 +31,13 @@
@inherits diameter_gen_base_rfc6733
;; only used AVP are defined here.
;; ===========================================================================
@avp_types
Operator-Name 126 OctetString -
Location-Information 127 OctetString -
Location-Data 128 OctetString -

54
dia/diameter_rfc8583.dia Normal file
View File

@ -0,0 +1,54 @@
;;
;; %CopyrightBegin%
;;
;; Copyright (C) 2023 by sysmocom - s.m.f.c. GmbH <info@sysmocom.de>
;; Author: Alexander Couzens <lynxis@fe80.eu>
;;
;; 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 1
@inherits diameter_gen_base_rfc6733
;; only used AVP are defined here.
;; ===========================================================================
@avp_types
SourceID 649 DiameterIdentity - ;; 7.4
Load 650 Grouped - ;; 7.1
Load-Type 651 Enumerated - ;; 7.2
Load-Value 652 Unsigned64 - ;; 7.3
@grouped
;; 7.1
Load ::= < AVP Header: 650 >
[ Load-Type ]
[ Load-Value ]
[ SourceID ]
* [ AVP ]
@enum Load-Type
HOST 0 ;; The load report is for a host.
PEER 1 ;; The load report is for a peer.