/******************************************************************************
* Copyright (c) 2000-2019 Ericsson Telecom AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*
* Contributors:
*   Timea Moder
******************************************************************************/
//
//  File:               AAAInterface_3GPP_TS29273_f00.ddf
//  Description:        DDF for EPS AAA according to 3GPP TS 29.273 V15.0.0
//  Rev:                R55A
//  Prodnr:             CNL 113 462
///////////////////////////////////////////////


// APPLICATION-NAME: AAA
// APPLICATION-REVISION: V15_0_0

// AVP implementations according to: 
// 3GPP TS 29.273 V15.0.0 - EPS AAA interfaces based on the Diameter protocol

// Dependant applications
// IETF RFC 3588   - Diameter Base Protocol
// IETF RFC 4005   - Diameter Network Access Server Application

// 9.2.2
type enumerated Command_Code {  
  AA                     (265),
  Session_Termination    (275), 
  Abort_Session          (274)  
}

// 8.2.3.1
// AVP: Non-3GPP-User-Data (1500) 3GPP (10415)
type AVP_Grouped Non_3GPP_User_Data;

// 8.2.3.3
// AVP: Non-3GPP-IP-Access (1501) 3GPP (10415)
type enumerated Non_3GPP_IP_Access {
  NON_3GPP_SUBSCRIPTION_ALLOWED      (0),
  NON_3GPP_SUBSCRIPTION_BARRED       (1)
}

// 8.2.3.4
// AVP: Non-3GPP-IP-Access-APN (1502) 3GPP (10415)
type enumerated Non_3GPP_IP_Access_APN {
  NON_3GPP_APNS_ENABLE               (0),
  NON_3GPP_APNS_DISABLE              (1)
}

// 5.2.3.9
// AVP: AN-Trusted (1503) 3GPP (10415)
type enumerated AN_Trusted {
  TRUSTED                            (0),
  UNTRUSTED                          (1)
}

// 5.2.3.7
// AVP: ANID (1504) 3GPP (10415)
type AVP_UTF8String ANID;

// 8.2.3.13
// AVP: Trace-Info (1505) 3GPP (10415)
type AVP_Grouped Trace_Info;

// 5.2.3.12
// AVP: MIP-FA-RK (1506) 3GPP (10415)
type AVP_OctetString MIP_FA_RK;

// 5.2.3.13
// AVP: MIP-FA-RK-SPI (1507) 3GPP (10415)
type AVP_Unsigned32 MIP_FA_RK_SPI;

// 5.2.3.17
// AVP: PPR-Flags (1508) 3GPP (10415)
type AVP_Unsigned32 PPR_Flags;

// 5.2.3.18
// AVP: WLAN-Identifier (1509) 3GPP (10415)
type AVP_Grouped WLAN_Identifier;

// 8.2.3.19
// AVP: TWAN-Access-Info (1510) 3GPP (10415)
type AVP_Grouped TWAN_Access_Info;

// 8.2.3.20
// AVP: Access-Authorization-Flags (1511) 3GPP (10415)
type AVP_Unsigned32 Access_Authorization_Flags;

// 8.2.3.18
// AVP: TWAN-Default-APN-Context-Id (1512) 3GPP (10415)
type AVP_Unsigned32 TWAN_Default_APN_Context_Id;

// 9.2.3.1.4
// AVP: Trust-Relationship-Update (1515) 3GPP (10415)
type enumerated Trust_Relationship_Update {
  REQUEST_UPDATE          (1)
}

// 5.2.3.14
// AVP: Full-Network-Name (1516) 3GPP (10415)
type AVP_OctetString Full_Network_Name;

// 5.2.3.15
// AVP: Short-Network-Name (1517) 3GPP (10415)
type AVP_OctetString Short_Network_Name;

// 8.2.3.21
// AVP: AAA-Failure-Indication (1518) 3GPP (10415)
type AVP_Unsigned32 AAA_Failure_Indication;

// 5.2.3.19
// AVP: Transport-Access-Type (1519) 3GPP (10415)
type enumerated Transport_Access_Type
{
  BBF  (0)
}

// 5.2.3.20
// AVP: DER-Flags (1520) 3GPP (10415)
type AVP_Unsigned32 DER_Flags;

// 5.2.3.21
// AVP: DEA-Flags (1521) 3GPP (10415)
type AVP_Unsigned32 DEA_Flags;

// 9.2.3.1.5
// AVP: RAR-Flags (1522) 3GPP (10415)
type AVP_Unsigned32 RAR_Flags;

// 9.2.3.7
// AVP: DER-S6b-Flags (1523) 3GPP (10415)
type AVP_Unsigned32 DER_S6b_Flags;

// 5.2.3.22
// AVP: SSID (1524) 3GPP (10415)
type AVP_UTF8String SSID;

// 5.2.3.23
// AVP: HESSID (1525) 3GPP (10415)
type AVP_UTF8String HESSID;


// 5.2.3.24
// AVP: Access-Network-Info (1526) 3GPP (10415)
type AVP_Grouped Access_Network_Info;

// 5.2.3.25
// AVP: TWAN-Connection-Mode (1527) 3GPP (10415)
type AVP_Unsigned32 TWAN_Connection_Mode;

// 5.2.3.26
// AVP: TWAN-Connectivity-Parameters (1528) 3GPP (10415)
type AVP_Grouped TWAN_Connectivity_Parameters;

// 5.2.3.27
// AVP: Connectivity-Flags (1529) 3GPP (10415)
type AVP_Unsigned32 Connectivity_Flags;

// 5.2.3.28
// AVP: TWAN-PCO (1530) 3GPP (10415)
type AVP_Grouped TWAN_PCO;

// 5.2.3.29
// AVP: TWAG-CP-Address (1531) 3GPP (10415)
type AVP_Address TWAG_CP_Address;

// 5.2.3.30
// AVP: TWAG-UP-Address  (1532) 3GPP (10415)
type AVP_UTF8String TWAG_UP_Address;

// 5.2.3.31
// AVP: TWAN-S2a-Failure-Cause (1533) 3GPP (10415)
type AVP_Unsigned32 TWAN_S2a_Failure_Cause;

// 5.2.3.33
// AVP: SM-Back-Off-Timer (1534) 3GPP (10415)
type AVP_Unsigned32 SM_Back_Off_Timer;

// 5.2.3.33
// AVP: WLCP-Key (1535) 3GPP (10415)
type AVP_OctetString WLCP_Key;

// 9.2.3.2.6
// AVP: Origination-Time-Stamp (1536) 3GPP (10415)
type AVP_Unsigned64 Origination_Time_Stamp;

// 9.2.3.2.7
// AVP: Maximum-Wait-Time (1537) 3GPP (10415)
type AVP_Unsigned32 Maximum_Wait_Time;

// 7.2.3.5
// AVP: Emergency-Services (1538) 3GPP (10415)
type AVP_Unsigned32 Emergency_Services;

// 7.2.3.5
// AVP: AAR-Flags (1539) 3GPP (10415)
type AVP_Unsigned32 AAR_Flags;

// 5.2.3.35
// AVP: IMEI-Check-In-VPLMN-Result (1540) 3GPP (10415)
type AVP_Unsigned32 IMEI_Check_In_VPLMN_Result;

// 8.2.3.27
// AVP: ERP-Authorization (1541) 3GPP (10415)
type AVP_Unsigned32 ERP_Authorization;


