Commit 977774a7 authored by pintar's avatar pintar
Browse files

Enumerated types and AVP Codes for GX interface

parent 60b10832
Loading
Loading
Loading
Loading
+291 −3
Original line number Diff line number Diff line
@@ -228,7 +228,6 @@ group BasicTypesAndConstants{
          const integer c_vendIdFlow_Status_AVP := 511;         					//Ref: ETSI TS 129 214 Flow_Status AVP																
          const integer c_vendIdFlow_Usage_AVP := 512;          					//Ref: ETSI TS 129 214 Flow_Usage AVP																
          const integer c_vendIdFlows_AVP := 510;          							//Ref: ETSI TS 129 214 Flows_AVP																
          const integer c_vendIdIP_CAN_Type_AVP := 1027;							//Ref: ETSI TS 129 212 IP CAN Type AVP								
          const integer c_vendIdMax_Requested_Bandwidth_DL_AVP := 515;         		//Ref: ETSI TS 129 214 FMax_Requested_Bandwidth_DL AVP																
          const integer c_vendIdMax_Requested_Bandwidth_UL_AVP := 516;         		//Ref: ETSI TS 129 214 FMax_Requested_Bandwidth_UL AVP																
          const integer c_vendIdMedia_Component_Description_AVP := 517;          	//Ref: ETSI TS 129 214 Media_Component_Decription_AVP																
@@ -237,7 +236,6 @@ group BasicTypesAndConstants{
          const integer c_vendIdMedia_Type_AVP := 520;          					//Ref: ETSI TS 129 214 Media_Type AVP																
          const integer c_vendIdMPS_Identifier_AVP := 528;        					//Ref: ETSI TS 129 214 MPS_Identifier AVP																
          const integer c_vendIdReservation_Priority_AVP := 458;					//Ref: ETSI TS 129 214 Reservation_Priority AVP
          const integer c_vendIdRAT_Type_AVP := 1032;								//Ref: ETSI TS 129 212 RAT Type AVP
          const integer c_vendIdRR_Bandwidth_AVP := 521;         					//Ref: ETSI TS 129 214 RR Bandwidth_AVP																
          const integer c_vendIdRS_Bandwidth_AVP := 522; 							//Ref: ETSI TS 129 214 RS Bandwidth_AVP								
          const integer c_vendIdService_Info_Status_AVP := 527; 					//Ref: ETSI TS 129 214 Service_Info AVP												
@@ -248,6 +246,85 @@ group BasicTypesAndConstants{
          const integer c_vendIdSponsored_Connectivity_Data_AVP := 530;				//Ref: ETSI TS 129 214 Sponsored_Conectivity_Data AVP															
          const integer c_vendIdAbort_Cause_AVP := 500;         					//Ref: ETSI TS 129 214 Abort Cause AVP																
       	}//end of group VendorIdConstantsRx
       	group VendorIdConstantsGx_Sd{
          const integer c_vendIdAccess_Network_Charging_Identifier_Gx_AVP := 1022; 	//Ref: ETSI TS 129 212 Access_Network_Charging_Identifier_Gx_AVP
          const integer c_vendIdAllocation_Retention_Priority_AVP := 1034; 			//Ref: ETSI TS 129 212 Allocation_Retention_Priority_AVP
          const integer c_vendIdAN_GW_Address_AVP := 1050; 							//Ref: ETSI TS 129 212 AN_GW_Address_AVP
          const integer c_vendIdAPN_Aggregate_Max_Bitrate_DL_AVP := 1040; 			//Ref: ETSI TS 129 212 APN_Aggregate_Max_Bitrate_DL_AVP
          const integer c_vendIdAPN_Aggregate_Max_Bitrate_UL_AVP := 1041; 			//Ref: ETSI TS 129 212 Aggregate_Max_Bitrate_UL_AVP
          const integer c_vendIdBearer_Control_Mode_AVP := 1023; 					//Ref: ETSI TS 129 212 Bearer_Control_Mode_AVP
          const integer c_vendIdBearer_Identifier_AVP := 1020; 						//Ref: ETSI TS 129 212 Bearer_Identifier_AVP
          const integer c_vendIdBearer_Operation_AVP := 1021; 						//Ref: ETSI TS 129 212 Bearer_Operation_AVP
          const integer c_vendIdBearer_Usage_AVP := 1000; 							//Ref: ETSI TS 129 212 Bearer_Usage_AVP
          const integer c_vendIdCharging_Rule_Install_AVP := 1001; 					//Ref: ETSI TS 129 212 Charging_Rule_Install_AVP
          const integer c_vendIdCharging_Rule_Remove_AVP := 1002; 					//Ref: ETSI TS 129 212 Charging_Rule_Remove_AVP
          const integer c_vendIdCharging_Rule_Definition_AVP := 1003; 				//Ref: ETSI TS 129 212 Charging_Rule_Definition_AVP
          const integer c_vendIdCharging_Rule_Base_Name_AVP := 1004; 				//Ref: ETSI TS 129 212 Charging_Rule_Base_Name_AVP
          const integer c_vendIdCharging_Rule_Name_AVP := 1005; 					//Ref: ETSI TS 129 212 Charging_Rule_Name_AVP
          const integer c_vendIdCharging_Rule_Report_AVP := 1018; 					//Ref: ETSI TS 129 212 Charging_Rule_Report_AVP
          const integer c_vendIdCharging_Correlation_Indicator_AVP := 1073; 		//Ref: ETSI TS 129 212 Charging_Correlation_Indicator_AVP
          const integer c_vendIdCoA_IP_Address_AVP := 1035; 						//Ref: ETSI TS 129 212 CoA_IP_Address_AVP
          const integer c_vendIdCoA_Information_AVP := 1039; 						//Ref: ETSI TS 129 212 CoA_Information_AVP
          const integer c_vendIdCSG_Information_Reporting_AVP := 1071; 				//Ref: ETSI TS 129 212 CSG_Information_Reporting_AVP
          const integer c_vendIdDefault_EPS_Bearer_QoS_AVP := 1049; 				//Ref: ETSI TS 129 212 Default_EPS_Bearer_QoS_AVP
          const integer c_vendIdEvent_Report_Indication_AVP := 1033; 				//Ref: ETSI TS 129 212 Event_Report_Indication_AVP
          const integer c_vendIdEvent_Trigger_AVP := 1006; 							//Ref: ETSI TS 129 212 Event_Trigger_AVP
          const integer c_vendIdFlow_Direction_AVP := 1080; 						//Ref: ETSI TS 129 212 Flow_Direction_AVP
          const integer c_vendIdFlow_Information_AVP := 1058; 						//Ref: ETSI TS 129 212 Flow_Information_AVP
          const integer c_vendIdFlow_Label_AVP := 1057; 							//Ref: ETSI TS 129 212 Flow_Label_AVP
          const integer c_vendIdIP_CAN_Type_AVP := 1027; 							//Ref: ETSI TS 129 212 IP_CAN_Type_AVP
          const integer c_vendIdGuaranteed_Bitrate_DL_AVP := 1025; 					//Ref: ETSI TS 129 212 Guaranteed_Bitrate_DL_AVP
          const integer c_vendIdGuaranteed_Bitrate_UL_AVP := 1026; 					//Ref: ETSI TS 129 212 Guaranteed_Bitrate_UL_AVP
          const integer c_vendIdMaximum_Bandwidth_AVP := 1082; 						//Ref: ETSI TS 129 212 Maximum_Bandwidth_AVP
          const integer c_vendIdMax_Supported_Bandwidth_DL_AVP := 1083; 			//Ref: ETSI TS 129 212 Max_Supported_Bandwidth_DL_AVP
          const integer c_vendIdMax_Supported_Bandwidth_UL_AVP := 1084; 			//Ref: ETSI TS 129 212 Max_Supported_Bandwidth_UL_AVP
          const integer c_vendIdMetering_Method_AVP := 1007; 						//Ref: ETSI TS 129 212 Metering_Method_AVP
          const integer c_vendIdMonitoring_Key_AVP := 1066; 						//Ref: ETSI TS 129 212 Monitoring_Key_AVP
          const integer c_vendIdNetwork_Request_Support_AVP := 1024; 				//Ref: ETSI TS 129 212 Network_Request_Support_AVP
          const integer c_vendIdOffline_AVP := 1008; 								//Ref: ETSI TS 129 212 Offline_AVP
          const integer c_vendIdOnline_AVP := 1009; 								//Ref: ETSI TS 129 212 Online_AVP
          const integer c_vendIdPacket_Filter_Content_AVP := 1059; 					//Ref: ETSI TS 129 212 Packet_Filter_Content_AVP
          const integer c_vendIdPacket_Filter_Identifier_AVP := 1060; 				//Ref: ETSI TS 129 212 Packet_Filter_Identifier_AVP
          const integer c_vendIdPacket_Filter_Information_AVP := 1061; 				//Ref: ETSI TS 129 212 Packet_Filter_Information_AVP
          const integer c_vendIdPacket_Filter_Operation_AVP := 1062; 				//Ref: ETSI TS 129 212 Packet_Filter_Operation_AVP
          const integer c_vendIdPacket_Filter_Usage_AVP := 1072; 					//Ref: ETSI TS 129 212 Packet_Filter_Usage_AVP
          const integer c_vendIdPDN_Connection_ID_AVP := 1065; 						//Ref: ETSI TS 129 212 PDN_Connection_ID_AVP
          const integer c_vendIdPrecedence_AVP := 1010; 							//Ref: ETSI TS 129 212 Precedence_AVP
          const integer c_vendIdPre_emption_Capability_AVP := 1047; 				//Ref: ETSI TS 129 212 Pre_emption_Capability_AVP
          const integer c_vendIdPre_emption_Vulnerability_AVP := 1048; 				//Ref: ETSI TS 129 212 Pre_emption_Vulnerability_AVP
          const integer c_vendIdPriority_Level_AVP := 1046; 						//Ref: ETSI TS 129 212 Priority_Level_AVP
          const integer c_vendIdReporting_Level_AVP := 1011; 						//Ref: ETSI TS 129 212 Reporting_Level_AVP
          const integer c_vendIdRouting_Filter_AVP := 1078; 						//Ref: ETSI TS 129 212 Routing_Filter_AVP
          const integer c_vendIdRouting_IP_Address_AVP := 1079; 					//Ref: ETSI TS 129 212 Routing_IP_Address_AVP
          const integer c_vendIdRouting_Rule_Definition_AVP := 1076; 				//Ref: ETSI TS 129 212 Routing_Rule_Definition_AVP
          const integer c_vendIdRouting_Rule_Identifier_AVP := 1077; 				//Ref: ETSI TS 129 212 Routing_Rule_Identifier_AVP
          const integer c_vendIdRouting_Rule_Install_AVP := 1081; 					//Ref: ETSI TS 129 212 Routing_Rule_Install_AVP
          const integer c_vendIdRouting_Rule_Remove_AVP := 1075; 					//Ref: ETSI TS 129 212 Routing_Rule_Remove_AVP
          const integer c_vendIdPCC_Rule_Status_AVP := 1019; 						//Ref: ETSI TS 129 212 PCC_Rule_Status_AVP
          const integer c_vendIdSession_Release_Cause_AVP := 1045; 					//Ref: ETSI TS 129 212 Session_Release_Cause_AVP
          const integer c_vendIdQoS_Class_Identifier_AVP := 1028; 					//Ref: ETSI TS 129 212 QoS_Class_Identifier_AVP
          const integer c_vendIdQoS_Information_AVP := 1016; 						//Ref: ETSI TS 129 212 QoS_Information_AVP
          const integer c_vendIdQoS_Negotiation_AVP := 1029; 						//Ref: ETSI TS 129 212 QoS_Negotiation_AVP
          const integer c_vendIdQos_Upgrade_AVP := 1030; 							//Ref: ETSI TS 129 212 Qos_Upgrade_AVP
          const integer c_vendIdResource_Allocation_Notification_AVP := 1063; 		//Ref: ETSI TS 129 212 Resource_Allocation_Notification_AVP
          const integer c_vendIdRule_Failure_Code_AVP := 1031; 						//Ref: ETSI TS 129 212 Rule_Failure_Code_AVP
          const integer c_vendIdSecurity_Parameter_Index_AVP := 1056; 				//Ref: ETSI TS 129 212 Security_Parameter_Index_AVP
          const integer c_vendIdTFT_Filter_AVP := 1012; 							//Ref: ETSI TS 129 212 TFT_Filter_AVP
          const integer c_vendIdTFT_Packet_Filter_Information_AVP := 1013; 			//Ref: ETSI TS 129 212 TFT_Packet_Filter_Information_AVP
          const integer c_vendIdToS_Traffic_Class_AVP := 1014; 						//Ref: ETSI TS 129 212 ToS_Traffic_Class_AVP
          const integer c_vendIdTunnel_Header_Filter_AVP := 1036; 					//Ref: ETSI TS 129 212 Tunnel_Header_Filter_AVP
          const integer c_vendIdTunnel_Header_Length_AVP := 1037; 					//Ref: ETSI TS 129 212 Tunnel_Header_Length_AVP
          const integer c_vendIdTunnel_Information_AVP := 1038; 					//Ref: ETSI TS 129 212 Tunnel_Information_AVP
          const integer c_vendIdRAT_Type_AVP := 1032; 								//Ref: ETSI TS 129 212 RAT_Type_AVP
          const integer c_vendIdRevalidation_Time_AVP := 1042; 						//Ref: ETSI TS 129 212 Revalidation_Time_AVP
          const integer c_vendIdRule_Activation_Time_AVP := 1043; 					//Ref: ETSI TS 129 212 Rule_Activation_Time_AVP
          const integer c_vendIdUsage_Monitoring_Information_AVP := 1067; 			//Ref: ETSI TS 129 212 Usage_Monitoring_Information_AVP
          const integer c_vendIdRule_DeActivation_Time_AVP := 1044; 				//Ref: ETSI TS 129 212 Rule_DeActivation_Time_AVP
          const integer c_vendIdUsage_Monitoring_Level_AVP := 1068; 				//Ref: ETSI TS 129 212 Usage_Monitoring_Level_AVP
          const integer c_vendIdUsage_Monitoring_Report_AVP := 1069; 				//Ref: ETSI TS 129 212 Usage_Monitoring_Report_AVP
          const integer c_vendIdUsage_Monitoring_Support_AVP := 1070; 				//Ref: ETSI TS 129 212 Usage_Monitoring_Support_AVP
          																
       	}//end of group VendorIdConstantsGx/Sd
      } //end group VendorIdConstants 
    }
		
@@ -816,6 +893,217 @@ group BasicTypesAndConstants{
                    EHRPD_E(2003)
                };  
                
                type enumerated Bearer_Control_Mode{
                    // Ref: ETSI TS 129 212 5.3.23
                    UE_ONLY_E (0),
                    RESERVED_E (1),
                    UE_NW_E (2)
                };

                type enumerated Bearer_Operation{
                    // Ref: ETSI TS 129 212 5.3.21
                    TERMINATION_E (0),
                    ESTABLISHMENT_E (1),
                    MODIFICATION_E (2)
				};     

                type enumerated Bearer_Usage{
                    // Ref: ETSI TS 129 212 5.3.1
                    GENERAL_E (0),
                    IMS_SIGNALLING_E (1)
                };       

                type enumerated Charging_Correlation_Indicator{
                    // Ref: ETSI TS 129 212 5.3.67
               		CHARGING_IDENTIFIER_REQUIRED_E (0)   
                };       

                type enumerated CSG_Information_Reporting{
                    // Ref: ETSI TS 129 212 5.3.64
               		CHANGE_CSG_CELL_E (0),
					CHANGE_CSG_SUBSCRIBED_HYBRID_CELL_E (1),
					CHANGE_CSG_UNSUBSCRIBED_HYBRID_CELL_E (2)   
                };       

                type enumerated Event_Trigger{
                    // Ref: ETSI TS 129 212 5.3.7
               		SGSN_CHANGE_E (0),
                    QOS_CHANGE_E (1),
                    RAT_CHANGE_E (2),
                    TFT_CHANGE_E (3),
                    PLMN_CHANGE_E (4),
                    LOSS_OF_BEARER_E (5),
                    RECOVERY_OF_BEARER_E (6),
                    IP_CAN_CHANGE_E (7),
                    QOS_CHANGE_EXCEEDING_AUTHORIZATION_E (11),
                    RAI_CHANGE_E (12),
                    USER_LOCATION_CHANGE_E (13),
                    NO_EVENT_TRIGGERS_E (14),
                    OUT_OF_CREDIT_E (15),
                    REALLOCATION_OF_CREDIT_E (16),
                    REVALIDATION_TIMEOUT_E (17),
                    UE_IP_ADDRESS_ALLOCATE_E (18),
                    UE_IP_ADDRESS_RELEASE_E (19),
                    DEFAULT_EPS_BEARER_QOS_CHANGE_E (20),
                    AN_GW_CHANGE_E (21),
                    SUCCESSFUL_RESOURCE_ALLOCATION_E (22),
                    RESOURCE_MODIFICATION_REQUEST_E (23),
                    PGW_TRACE_CONTROL_E (24),
                    UE_TIME_ZONE_CHANGE_E (25),
                    TAI_CHANGE_E (26),
                    ECGI_CHANGE_E (27),
                    CHARGING_CORRELATION_EXCHANGE_E (28),
                    APN_AMBR_MODIFICATION_FAILURE_E (29),
                    USER_CSG_INFORMATION_CHANGE_E (30),
                    USAGE_REPORT_E (33),
                    DEFAULT_EPS_BEARER_QOS_MODIFICATION_FAILURE_E (34),
                    USER_CSG_HYBRID_SUBSCRIBED_INFORMATION_CHANGE_E (35),
                    USER_CSG_HYBRID_UNSUBSCRIBED_INFORMATION_CHANGE_E (36),
                    ROUTING_RULE_CHANGE_E (37),
                    MAX_MBR_APN_AMBR_CHANGE_E (38)  
                };       

                type enumerated Flow_Direction{
                    // Ref: ETSI TS 129 212 5.3.65
                    UNSPECIFIED_E (0),
                    DOWNLINK_E (1),
                    BIDIRECTIONAL_E (3)
                };       

                type enumerated Metering_Method{
                    // Ref: ETSI TS 129 212 5.3.8
                    DURATION_E (0),
                    VOLUME_E (1),
					DURATION_VOLUME_E (2)
                };     

                type enumerated Network_Request_Support{
                    // Ref: ETSI TS 129 212 5.3.24
                    NETWORK_REQUEST_NOT_SUPPORTED_E (0),
					NETWORK_REQUEST_SUPPORTED_E (1)
                };     

                type enumerated Offline{
                    // Ref: ETSI TS 129 212 5.3.9
                    DISABLE_OFFLINE_E (0),
					ENABLE_OFFLINE_E (1)
                };     

                type enumerated Online{
                    // Ref: ETSI TS 129 212 5.3.10
                    DISABLE_ONLINE_E (0),
					ENABLE_ONLINE_E (1)
                };     

                type enumerated Packet_Filter_Operation{
                    // Ref: ETSI TS 129 212 5.3.57
                    DELETION_E (0),
                    ADDITION_E (1),
                    MODIFICATION_E (2)
                };     

                type enumerated Packet_Filter_Usage{
                    // Ref: ETSI TS 129 212 5.3.66
                    SEND_TO_UE_E (1)
                };    

                type enumerated Pre_emption_Capability{
                    // Ref: ETSI TS 129 212 5.3.46
                    PRE_EMPTION_CAPABILITY_ENABLED_E (0),
                    PRE_EMPTION_CAPABILITY_DISABLED_E (1)
                };    

                type enumerated Pre_emption_Vulnerability{
                    // Ref: ETSI TS 129 212 5.3.47
                    PRE_EMPTION_VULNERABILITY_ENABLED_E (0),
                    PRE_EMPTION_VULNERABILITY_DISABLED_E (1)
                };    

                type enumerated Reporting_Level{
                    // Ref: ETSI TS 129 212 5.3.12
                    SERVICE_IDENTIFIER_LEVEL_E (0),
                    RATING_GROUP_LEVEL_E (1),
                    SPONSORED_CONNECTIVITY_LEVEL_E (2)
                };    

                type enumerated PCC_Rule_Status{
                    // Ref: ETSI TS 129 212 5.3.19
                    ACTIVE_E (0),
                    INACTIVE_E (1),
                    TEMPORARILY_INACTIVE_E (2)
                };    

                type enumerated Session_Release_Cause{
                    // Ref: ETSI TS 129 212 5.3.44
                    UNSPECIFIED_REASON_E (0),
                    UE_SUBSCRIPTION_REASON_E (1),
                    INSUFFICIENT_SERVER_RESOURCES_E (2)
                };    

                type enumerated QoS_Class_Identifier{
                    // Ref: ETSI TS 129 212 5.3.17
                    QCI_1_E (1),
                    QCI_2_E (2),
                    QCI_3_E (3),
                    QCI_4_E (4),
                    QCI_5_E (5),
                    QCI_6_E (6),
                    QCI_7_E (7),
                    QCI_8_E (8),
                    QCI_9_E (9)
                };    

                type enumerated QoS_Negotiation{
                    // Ref: ETSI TS 129 212 5.3.28
                    NO_QoS_NEGOTIATION_E (0),
					QoS_NEGOTIATION_SUPPORTED_E (1)
                };    

                type enumerated QoS_Upgrade{
                    // Ref: ETSI TS 129 212 5.3.29
                    QoS_UPGRADE_NOT_SUPPORTED_E (0),
					QoS_UPGRADE_SUPPORTED_E (1)
                };    

                type enumerated Resource_Allocation_Notification{
                    // Ref: ETSI TS 129 212 5.3.50
                    ENABLE_NOTIFICATION_E (0)
                };    

                type enumerated Rule_Failure_Code{
                    // Ref: ETSI TS 129 212 5.3.38
                    UNKNOWN_RULE_NAME_E (1),
                    RATING_GROUP_ERROR_E (2),
                    SERVICE_IDENTIFIER_ERROR_E (3),
                    GW_PCEF_MALFUNCTION_E (4),
                    RESOURCES_LIMITATION_E (5),
                    MAX_NR_BEARERS_REACHED_E (6),
                    UNKNOWN_BEARER_ID_E (7),
                    MISSING_BEARER_ID_E (8),
                    MISSING_FLOW_INFORMATION_E (9),
                    RESOURCE_ALLOCATION_FAILURE_E (10),
                    UNSUCCESSFUL_QOS_VALIDATION_E (11),
                    INCORRECT_FLOW_INFORMATION_E (12),
                    PS_TO_CS_HANDOVER_E (13),
                    NO_BEARER_BOUND_E (15)
                };    

                type enumerated Usage_Monitoring_Level{
                    // Ref: ETSI TS 129 212 5.3.61
                    SESSION_LEVEL_E (0),
					PCC_RULE_LEVEL_E (1)
                };    

                type enumerated Usage_Monitoring_Report{
                    // Ref: ETSI TS 129 212 5.3.62
                    USAGE_MONITORING_REPORT_REQUIRED_E (0)
                };     

                type enumerated Usage_Monitoring_Support{
                    // Ref: ETSI TS 129 212 5.3.63
                    USAGE_MONITORING_DISABLED_E (0)
                };
                              
            }//end group AVP_Gx_Types
        }//end group AVP_Types
		group AVPs{