115 lines
4.4 KiB
C
115 lines
4.4 KiB
C
/*
|
|
* Copyright 2019 AT&T Intellectual Property
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
/*
|
|
* This source code is part of the near-RT RIC (RAN Intelligent Controller)
|
|
* platform project (RICP).
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
|
|
* From ASN.1 module "X2AP-IEs"
|
|
* found in "../../asnFiles/X2AP-IEs.asn"
|
|
* `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
|
|
*/
|
|
|
|
#ifndef _Subscription_Based_UE_DifferentiationInfo_H_
|
|
#define _Subscription_Based_UE_DifferentiationInfo_H_
|
|
|
|
|
|
#include "asn_application.h"
|
|
|
|
/* Including external dependencies */
|
|
#include "NativeEnumerated.h"
|
|
#include "NativeInteger.h"
|
|
#include "constr_SEQUENCE.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Dependencies */
|
|
typedef enum Subscription_Based_UE_DifferentiationInfo__periodicCommunicationIndicator {
|
|
Subscription_Based_UE_DifferentiationInfo__periodicCommunicationIndicator_periodically = 0,
|
|
Subscription_Based_UE_DifferentiationInfo__periodicCommunicationIndicator_ondemand = 1
|
|
/*
|
|
* Enumeration is extensible
|
|
*/
|
|
} e_Subscription_Based_UE_DifferentiationInfo__periodicCommunicationIndicator;
|
|
typedef enum Subscription_Based_UE_DifferentiationInfo__stationaryIndication {
|
|
Subscription_Based_UE_DifferentiationInfo__stationaryIndication_stationary = 0,
|
|
Subscription_Based_UE_DifferentiationInfo__stationaryIndication_mobile = 1
|
|
/*
|
|
* Enumeration is extensible
|
|
*/
|
|
} e_Subscription_Based_UE_DifferentiationInfo__stationaryIndication;
|
|
typedef enum Subscription_Based_UE_DifferentiationInfo__trafficProfile {
|
|
Subscription_Based_UE_DifferentiationInfo__trafficProfile_single_packet = 0,
|
|
Subscription_Based_UE_DifferentiationInfo__trafficProfile_dual_packets = 1,
|
|
Subscription_Based_UE_DifferentiationInfo__trafficProfile_multiple_packets = 2
|
|
/*
|
|
* Enumeration is extensible
|
|
*/
|
|
} e_Subscription_Based_UE_DifferentiationInfo__trafficProfile;
|
|
typedef enum Subscription_Based_UE_DifferentiationInfo__batteryIndication {
|
|
Subscription_Based_UE_DifferentiationInfo__batteryIndication_battery_powered = 0,
|
|
Subscription_Based_UE_DifferentiationInfo__batteryIndication_battery_powered_not_rechargeable_or_replaceable = 1,
|
|
Subscription_Based_UE_DifferentiationInfo__batteryIndication_not_battery_powered = 2
|
|
/*
|
|
* Enumeration is extensible
|
|
*/
|
|
} e_Subscription_Based_UE_DifferentiationInfo__batteryIndication;
|
|
|
|
/* Forward declarations */
|
|
struct ScheduledCommunicationTime;
|
|
struct ProtocolExtensionContainer;
|
|
|
|
/* Subscription-Based-UE-DifferentiationInfo */
|
|
typedef struct Subscription_Based_UE_DifferentiationInfo {
|
|
long *periodicCommunicationIndicator; /* OPTIONAL */
|
|
long *periodicTime; /* OPTIONAL */
|
|
struct ScheduledCommunicationTime *scheduledCommunicationTime; /* OPTIONAL */
|
|
long *stationaryIndication; /* OPTIONAL */
|
|
long *trafficProfile; /* OPTIONAL */
|
|
long *batteryIndication; /* OPTIONAL */
|
|
struct ProtocolExtensionContainer *iE_Extensions; /* OPTIONAL */
|
|
/*
|
|
* This type is extensible,
|
|
* possible extensions are below.
|
|
*/
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} Subscription_Based_UE_DifferentiationInfo_t;
|
|
|
|
/* Implementation */
|
|
/* extern asn_TYPE_descriptor_t asn_DEF_periodicCommunicationIndicator_2; // (Use -fall-defs-global to expose) */
|
|
/* extern asn_TYPE_descriptor_t asn_DEF_stationaryIndication_8; // (Use -fall-defs-global to expose) */
|
|
/* extern asn_TYPE_descriptor_t asn_DEF_trafficProfile_12; // (Use -fall-defs-global to expose) */
|
|
/* extern asn_TYPE_descriptor_t asn_DEF_batteryIndication_17; // (Use -fall-defs-global to expose) */
|
|
extern asn_TYPE_descriptor_t asn_DEF_Subscription_Based_UE_DifferentiationInfo;
|
|
extern asn_SEQUENCE_specifics_t asn_SPC_Subscription_Based_UE_DifferentiationInfo_specs_1;
|
|
extern asn_TYPE_member_t asn_MBR_Subscription_Based_UE_DifferentiationInfo_1[7];
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _Subscription_Based_UE_DifferentiationInfo_H_ */
|
|
#include "asn_internal.h"
|