blob: ab42e5ddb7a931790f81ac219fb577030f4303bf [file] [log] [blame]
Harald Welte8fb759d2019-08-10 21:09:17 +02001;;
2;; %CopyrightBegin%
3;;
4;; Copyright (C) 2019 by Harald Welte. All Rights Reserved.
5;;
6;; This resembles 3GPP TS 29.273 version 15.3.0 Release 15
7;;
8;; Licensed under the Apache License, Version 2.0 (the "License");
9;; you may not use this file except in compliance with the License.
10;; You may obtain a copy of the License at
11;;
12;; http://www.apache.org/licenses/LICENSE-2.0
13;;
14;; Unless required by applicable law or agreed to in writing, software
15;; distributed under the License is distributed on an "AS IS" BASIS,
16;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17;; See the License for the specific language governing permissions and
18;; limitations under the License.
19;;
20;; %CopyrightEnd%
21;;
22
23;;
24;; Edits:
25;;
26;;
27
28@id 16777250
29@name diameter_3gpp_ts29_273
30@prefix diameter_aaa
31@vendor 10415 3GPP
32
33@inherits diameter_gen_base_rfc6733
34@inherits diameter_rfc4005_nasreq
35@inherits diameter_rfc4006_cc
36@inherits diameter_3gpp_base
37@inherits diameter_etsi_es283_034
38;; @inherits diameter_3gpp_ts29_061_gmb
39;; @inherits diameter_3gpp_ts29_214
40@inherits diameter_3gpp_ts29_229
41@inherits diameter_3gpp_ts32_299
42
43@inherits diameter_rfc7944
44@inherits diameter_rfc7683
Harald Weltec83d2fe2019-08-10 22:08:54 +020045@inherits diameter_rfc6942
46@inherits diameter_rfc4072
47@inherits diameter_rfc6734
48@inherits diameter_3gpp_break_circles
Harald Welte8fb759d2019-08-10 21:09:17 +020049;;@inherits diameter_rfc5778
50;;@inherits diameter_3gpp_ts29_212
51
52@avp_types
53
54 MIP6-Feature-Vector 124 Unsigned64 M
55 Service-Selection 493 UTF8String M
56 Mobile-Node-Identifier 506 UTF8String M
57 QoS-Capability 578 Grouped M
58 RAT-Type 1032 Enumerated MV
59 APN-Configuration 1430 Grouped MV
60 ANID 1504 UTF8String MV
61 Trace-Info 1505 Grouped V
Harald Weltec83d2fe2019-08-10 22:08:54 +020062 AN-Trusted 1503 Enumerated MV
Harald Welte8fb759d2019-08-10 21:09:17 +020063 MIP-FA-RK 1506 OctetString MV
64 MIP-FA-RK-SPI 1507 Unsigned32 MV
65 PPR-Flags 1508 Unsigned32 V
66 WLAN-Identifier 1509 Grouped V
67 TWAN-Access-Info 1510 Grouped V
68 Access-Authorization-Flags 1511 Unsigned32 V
69 TWAN-Default-APN-Context-Id 1512 Unsigned32 V
70 Full-Network-Name 1516 OctetString V
71 Short-Network-Name 1517 OctetString V
72 AAA-Failure-Indication 1518 Unsigned32 V
73 Transport-Access-Type 1519 Enumerated V
74 DER-Flags 1520 Unsigned32 V
75 DEA-Flags 1521 Unsigned32 V
76 SSID 1524 UTF8String V
77 HESSID 1525 UTF8String V
78 Access-Network-Info 1526 Grouped V
79 TWAN-Connection-Mode 1527 Unsigned32 V
80 TWAN-Connectivity-Parameters 1528 Grouped V
81 Connectivity-Flags 1529 Unsigned32 V
82 TWAN-PCO 1530 OctetString V
83 TWAG-CP-Address 1531 Address V
84 TWAG-UG-Address 1532 UTF8String V
85 TWAN-S2a-Failure-Cause 1533 Unsigned32 V
86 SM-Back-Off-Timer 1534 Unsigned32 V
87 WLCP-Key 1535 OctetString V
88 Emergency-Services 1538 Unsigned32 V
89 IMEI-Check-In-VPLMN-Result 1540 Unsigned32 V
90
91@messages
92
93 ;; 5.2.2.1.1 Diameter-EAP-Request (DER) Command
94 DER ::= < Diameter Header: 268, REQ, PXY >
95 < Session-Id >
96 { Auth-Application-Id }
97 { Origin-Host }
98 { Origin-Realm }
99 { Destination-Realm }
100 { Auth-Request-Type }
101 { EAP-Payload }
102 [ DRMP ]
103 [ Destination-Host ]
104 [ User-Name ]
105 [ Calling-Station-Id ]
106 [ RAT-Type ]
107 [ ANID ]
108 [ Full-Network-Name ]
109 [ Short-Network-Name ]
110 [ QoS-Capability ]
111 [ MIP6-Feature-Vector ]
112 [ Visited-Network-Identifier ]
113 [ Service-Selection ]
114 [ Terminal-Information ]
115 [ OC-Supported-Features ]
116 *[ Supported-Features ]
117 [ AAA-Failure-Indication ]
118 [ WLAN-Identifier ]
119 [ DER-Flags ]
120 [ TWAN-Connection-Mode ]
121 [ TWAN-Connectivity-Parameters ]
122 * 2 [ TWAG-CP-Address ]
123 [ ERP-RK-Request ]
124 *[ AVP ]
125
126 ;; 5.2.2.1.2 Diameter-EAP-Answer (DEA) Command
127 DEA ::= < Diameter Header: 268, PXY >
128 < Session-Id >
129 { Auth-Application-Id }
130 { Result-Code }
131 { Origin-Host }
132 { Origin-Realm }
133 { Auth-Request-Type }
134 [ DRMP ]
135 [ Experimental-Result ]
136 [ EAP-Payload ]
137 [ User-Name ]
138 [ Session-Timeout ]
139 [ Accoting-Interim-Interval ]
140 [ EAP-Master-Session-Key ]
141 [ Context-Identifier ]
142 [ APN-OI-Replacement ]
143 *[ APN-Configuration ]
144 [MIP6-Agent-Info ]
145 [ MIP6-Feature-Vector ]
146 [ Mobile-Node-Identifier ]
147 [ 3GPP-Charging-Characteristics ]
148 [ AMBR ]
149 *[ Redirect-Host ]
150 [ AN-Trusted ]
151 [ Trace-Info ]
Harald Weltec83d2fe2019-08-10 22:08:54 +0200152 [ Subscription-Id ]
Harald Welte8fb759d2019-08-10 21:09:17 +0200153 [ OC-Supported-Features ]
154 [ OC-OLR ]
155 ;;*[ Load ]
156 *[ Supported-Features ]
157 [ MIP-FA-RK ]
158 [ MIP-FA-RK-SPI ]
159 [ NSWO-Authorization ]
160 [ DEA-Flags ]
161 [ TWAN-Connection-Mode ]
162 [ TWAN-Connectivity-Parameters ]
163 [ WLCP-Key ]
164 [ Terminal-Information ]
165 [ UE-Usage-Type ]
166 [ Emergency-Services ]
167 [ Emergency-Info ]
168 [ Key ]
169 [ ERP-Realm ]
170 *[ AVP ]
171
172 ;; 5.2.2.2.1 Abort-Session-Request
173 ASR ::= < Diameter Header: 274, REQ, PXY >
174 < Session-Id >
175 { Origin-Host }
176 { Origin-Realm }
177 { Destination-Realm }
178 { Destination-Host }
179 { Auth-Application-Id }
180 [ DRMP ]
181 [ User-Name ]
182 [ Auth-Session-State ]
183 *[ AVP ]
184
185 ;; 5.2.2.2.2 Abort-Session-Answer
186 ASA ::= < Diameter Header: 274, PXY >
187 < Session-Id >
188 { Result-Code }
189 { Origin-Host }
190 { Origin-Realm }
191 [ DRMP ]
192 *[ AVP ]
193
194 ;; 5.2.2.2.3 Session-Termination-Request
195 STR ::= < Diameter Header: 275, REQ, PXY >
196 < Session-Id >
197 { Origin-Host }
198 { Origin-Realm }
199 { Destination-Realm }
200 { Auth-Application-Id }
201 { Termination-Cause }
202 [ DRMP ]
203 [ Destination-Host ]
204 [ User-Name ]
205 [ OC-Supported-Features ]
206 *[ AVP ]
207
208 ;; 5.2.2.2.4 Session-Termination-Answer
209 STA ::= < Diameter Header: 275, PXY >
210 < Session-Id >
211 { Result-Code }
212 { Origin-Host }
213 { Origin-Realm }
214 [ DRMP ]
215 [ OC-Supported-Features ]
216 [ OC-OLR ]
217 ;;*[ Load ]
218 *[ AVP ]
219
220 ;; 5.2.2.3.1 Re-Auth-Request
221 RAR ::= < Diameter Header: 258, REQ, PXY >
222 < Session-Id >
223 { Origin-Host }
224 { Origin-Realm }
225 { Destination-Realm }
226 { Destination-Host }
227 { Auth-Application-Id }
228 { Re-Auth-Request-Type }
229 [ DRMP ]
230 [ User-Name ]
231 *[ AVP ]
232
233 ;; 5.2.2.3.2 Re-Auth-Answer
234 RAA ::= < Diameter Header: 258, PXY >
235 < Session-Id >
236 { Result-Code }
237 { Origin-Host }
238 { Origin-Realm }
239 [ DRMP ]
240 *[ AVP ]
241
242 ;; 5.2.2.3.3 AA-Request
243 AAR ::= < Diameter Header: 265, REQ, PXY >
244 < Session-Id >
245 { Auth-Application-Id }
246 { Origin-Host }
247 { Origin-Realm }
248 { Destination-Realm }
249 { Auth-Request-Type }
250 [ DRMP ]
251 [ Destination-Host ]
252 [ User-Name ]
253 [ MIP6-Feature-Vector ]
254 [ Access-Network-Info ]
255 [ Local-Time-Zone ]
256 [ OC-Supported-Features ]
257 *[ AVP ]
258
259 ;; 5.2.2.3.4 AA-Answer
260 AAA ::= < Diameter Header: 265, PXY >
261 < Session-Id >
262 { Auth-Application-Id }
263 { Auth-Request-Type }
264 { Result-Code }
265 { Origin-Host }
266 { Origin-Realm }
267 [ DRMP ]
268 [ Experimental-Result ]
269 [ Session-Timeout ]
270 [ Acct-Interim-Interval ]
271 [ Context-Identifier ]
272 [ APN-OI-Replacement ]
273 *[ APN-Configuration ]
274 [ 3GPP-Charging-Characteristics ]
275 [ Trace-Info ]
Harald Weltec83d2fe2019-08-10 22:08:54 +0200276 [ Subscription-Id ]
Harald Welte8fb759d2019-08-10 21:09:17 +0200277 [ OC-Supported-Features ]
278 [ OC-OLR ]
279 [ UE-Usage-Type ]
280 [ Emergency-Info]
281 ;;*[ Load ]
282 *[ AVP ]
283
284@enum Transport-Acess-Type
285 BBF 0
286
Harald Weltec83d2fe2019-08-10 22:08:54 +0200287@enum AN-Trusted
288 TRUSTED 0
289 UNTRUSTED 1
290
Harald Welte8fb759d2019-08-10 21:09:17 +0200291@grouped
292
293WLAN-Identifier ::= < AVP Header: 1509 10415 >
294 [SSID ]
295 [HESSID ]
296 *[ AVP ]
297
298Access-Network-Info ::= < AVP Header: 1526 10415 >
299 [ SSID ]
300 [ BSSID ]
301 [ Location-Information ]
302 [ Location-Data ]
303 [ Operator-Name ]
304 [ Logical-Access-ID ]
305 *[ AVP ]
306
307TWAN-Connectivity-Parameters ::= < AVP Header: 1528 10415 >
308 [ Connectivity-Flags ]
309 [ Service-Selection ]
310 [ PDN-Type ]
311 * 2 [ Served-Party-IP-Address ]
312 [ TWAN-PCO ]
313 [ TWAG-UP-Address ]
314 [ TWAN-S2a-Failure-Cause ]
315 [ SM-Back-Off-Timer ]
316 *[ AVP ]
Harald Weltec83d2fe2019-08-10 22:08:54 +0200317
318TWAN-Access-Info::= < AVP Header: 1510 10415 >
319 [ Access-Authorization-Flags ]
320 [ WLAN-Identifier ]
321 *[ AVP ]