First commit
This commit is contained in:
68
setup/e2mgr/E2Manager/3rdparty/asn1codec/inc/asn1codec_utils.h
vendored
Normal file
68
setup/e2mgr/E2Manager/3rdparty/asn1codec/inc/asn1codec_utils.h
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2019 AT&T Intellectual Property
|
||||
* Copyright 2019 Nokia
|
||||
*
|
||||
* 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).
|
||||
*/
|
||||
|
||||
|
||||
#ifndef INC_ASN1CODEC_UTILS_H_
|
||||
#define INC_ASN1CODEC_UTILS_H_
|
||||
|
||||
#ifndef ASN_DISABLE_OER_SUPPORT
|
||||
#define ASN_DISABLE_OER_SUPPORT
|
||||
#endif
|
||||
|
||||
#ifndef ASN_PDU_COLLECTION
|
||||
#define ASN_PDU_COLLECTION
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <E2AP-PDU.h>
|
||||
#include <ProtocolIE-Field.h>
|
||||
#include <ProtocolExtensionContainer.h>
|
||||
#include <ProtocolExtensionField.h>
|
||||
#include <CriticalityDiagnostics-IE-List.h>
|
||||
|
||||
#define pLMN_Identity_size 3
|
||||
#define shortMacro_eNB_ID_size 18
|
||||
#define macro_eNB_ID_size 20
|
||||
#define longMacro_eNB_ID_size 21
|
||||
#define home_eNB_ID_size 28
|
||||
#define eUTRANcellIdentifier_size 28
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
bool asn1_pdu_printer(const E2AP_PDU_t *pdu, size_t obufsz, char *buf);
|
||||
bool asn1_pdu_xer_printer(const E2AP_PDU_t *pdu, size_t obufsz, char *buf);
|
||||
bool per_unpack_pdu(E2AP_PDU_t *pdu, size_t packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf);
|
||||
bool per_pack_pdu(E2AP_PDU_t *pdu, size_t *packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf);
|
||||
bool unpack_pdu_aux(E2AP_PDU_t *pdu, size_t packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf,enum asn_transfer_syntax syntax);
|
||||
bool pack_pdu_aux(E2AP_PDU_t *pdu, size_t *packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf,enum asn_transfer_syntax syntax);
|
||||
|
||||
E2AP_PDU_t *new_pdu(size_t sz);
|
||||
void delete_pdu(E2AP_PDU_t *pdu);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* INC_ASN1CODEC_UTILS_H_ */
|
44
setup/e2mgr/E2Manager/3rdparty/asn1codec/inc/configuration_update_wrapper.h
vendored
Normal file
44
setup/e2mgr/E2Manager/3rdparty/asn1codec/inc/configuration_update_wrapper.h
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2019 AT&T Intellectual Property
|
||||
* Copyright 2019 Nokia
|
||||
*
|
||||
* 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).
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <asn1codec_utils.h>
|
||||
|
||||
#ifndef INC_CONFIGURATION_UPDATE_WRAPPER_H_
|
||||
#define INC_CONFIGURATION_UPDATE_WRAPPER_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
bool build_pack_x2enb_configuration_update_ack(size_t* packed_buf_size, unsigned char* packed_buf, size_t err_buf_size, char* err_buf);
|
||||
bool build_pack_x2enb_configuration_update_failure(size_t* packed_buf_size, unsigned char* packed_buf, size_t err_buf_size, char* err_buf);
|
||||
bool build_pack_endc_configuration_update_ack(size_t* packed_buf_size, unsigned char* packed_buf, size_t err_buf_size, char* err_buf);
|
||||
bool build_pack_endc_configuration_update_failure(size_t* packed_buf_size, unsigned char* packed_buf, size_t err_buf_size, char* err_buf);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* INC_CONFIGURATION_UPDATE_WRAPPER_H_ */
|
54
setup/e2mgr/E2Manager/3rdparty/asn1codec/inc/load_information_wrapper.h
vendored
Normal file
54
setup/e2mgr/E2Manager/3rdparty/asn1codec/inc/load_information_wrapper.h
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2019 AT&T Intellectual Property
|
||||
* Copyright 2019 Nokia
|
||||
*
|
||||
* 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).
|
||||
*/
|
||||
|
||||
|
||||
#ifndef INC_LOAD_INFORMATION_WRAPPER_H
|
||||
#define INC_LOAD_INFORMATION_WRAPPER_H
|
||||
|
||||
#include <InitiatingMessage.h>
|
||||
#include <LoadInformation.h>
|
||||
#include <ProtocolIE-Field.h>
|
||||
#include <CellInformation-Item.h>
|
||||
#include <RelativeNarrowbandTxPower.h>
|
||||
#include <UL-HighInterferenceIndicationInfo.h>
|
||||
#include <UL-HighInterferenceIndicationInfo-Item.h>
|
||||
#include <ECGI.h>
|
||||
#include <DynamicNAICSInformation.h>
|
||||
#include <EnhancedRNTPStartTime.h>
|
||||
#include <CoMPInformationItem.h>
|
||||
#include <CoMPInformationStartTime.h>
|
||||
#include <CoMPHypothesisSetItem.h>
|
||||
#include <ABSInformationFDD.h>
|
||||
#include <ABSInformationTDD.h>
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* INC_LOAD_INFORMATION_WRAPPER_H */
|
46
setup/e2mgr/E2Manager/3rdparty/asn1codec/inc/x2reset_request_wrapper.h
vendored
Normal file
46
setup/e2mgr/E2Manager/3rdparty/asn1codec/inc/x2reset_request_wrapper.h
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright 2019 AT&T Intellectual Property
|
||||
* Copyright 2019 Nokia
|
||||
*
|
||||
* 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).
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <asn1codec_utils.h>
|
||||
|
||||
#ifndef INC_X2RESET_REQUEST_WRAPPER_H
|
||||
#define INC_X2RESET_REQUEST_WRAPPER_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
bool
|
||||
build_pack_x2reset_request(enum Cause_PR cause_group, int cause_value, size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf);
|
||||
bool
|
||||
build_pack_x2reset_request_aux(enum Cause_PR cause_group, int cause_value, size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf,enum asn_transfer_syntax syntax);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* INC_RESET_REQUEST_WRAPPER_H */
|
||||
|
44
setup/e2mgr/E2Manager/3rdparty/asn1codec/inc/x2reset_response_wrapper.h
vendored
Normal file
44
setup/e2mgr/E2Manager/3rdparty/asn1codec/inc/x2reset_response_wrapper.h
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2019 AT&T Intellectual Property
|
||||
* Copyright 2019 Nokia
|
||||
*
|
||||
* 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).
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <asn1codec_utils.h>
|
||||
|
||||
#ifndef INC_X2RESET_RESPONSE_WRAPPER_H
|
||||
#define INC_X2RESET_RESPONSE_WRAPPER_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
bool
|
||||
build_pack_x2reset_response(size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* INC_X2RESET_RESPONSE_WRAPPER_H */
|
||||
|
62
setup/e2mgr/E2Manager/3rdparty/asn1codec/inc/x2setup_request_wrapper.h
vendored
Normal file
62
setup/e2mgr/E2Manager/3rdparty/asn1codec/inc/x2setup_request_wrapper.h
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2019 AT&T Intellectual Property
|
||||
* Copyright 2019 Nokia
|
||||
*
|
||||
* 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).
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <asn1codec_utils.h>
|
||||
|
||||
#ifndef INC_X2SETUP_REQUEST_WRAPPER_H
|
||||
#define INC_X2SETUP_REQUEST_WRAPPER_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
bool
|
||||
build_pack_x2setup_request(
|
||||
uint8_t const* pLMN_Identity, uint8_t const* eNBId, unsigned int bitqty /*18, 20, 21, 28*/,uint8_t const* ric_flag,
|
||||
size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf);
|
||||
|
||||
bool
|
||||
build_pack_endc_x2setup_request(
|
||||
uint8_t const* pLMN_Identity, uint8_t const* eNBId, unsigned int bitqty /*18, 20, 21, 28*/, uint8_t const *ric_flag,
|
||||
size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf
|
||||
);
|
||||
bool
|
||||
build_pack_x2setup_request_aux(
|
||||
uint8_t const* pLMN_Identity, uint8_t const* eNBId, unsigned int bitqty /*18, 20, 21, 28*/,uint8_t const* ric_flag,
|
||||
size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf, enum asn_transfer_syntax syntax);
|
||||
|
||||
bool
|
||||
build_pack_endc_x2setup_request_aux(
|
||||
uint8_t const* pLMN_Identity, uint8_t const* eNBId, unsigned int bitqty /*18, 20, 21, 28*/, uint8_t const *ric_flag,
|
||||
size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf, enum asn_transfer_syntax syntax);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* INC_X2SETUP_REQUEST_WRAPPER_H */
|
||||
|
55
setup/e2mgr/E2Manager/3rdparty/asn1codec/inc/x2setup_response_wrapper.h
vendored
Normal file
55
setup/e2mgr/E2Manager/3rdparty/asn1codec/inc/x2setup_response_wrapper.h
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2019 AT&T Intellectual Property
|
||||
* Copyright 2019 Nokia
|
||||
*
|
||||
* 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).
|
||||
*/
|
||||
|
||||
|
||||
#ifndef INC_X2SETUP_RESPONSE_WRAPPER_H
|
||||
#define INC_X2SETUP_RESPONSE_WRAPPER_H
|
||||
|
||||
#include <UnsuccessfulOutcome.h>
|
||||
#include <SuccessfulOutcome.h>
|
||||
#include <ServedNRcellsENDCX2ManagementList.h>
|
||||
#include <FDD-InfoServedNRCell-Information.h>
|
||||
#include <TDD-InfoServedNRCell-Information.h>
|
||||
#include <FDD-InfoNeighbourServedNRCell-Information.h>
|
||||
#include <TDD-InfoNeighbourServedNRCell-Information.h>
|
||||
#include <NRNeighbour-Information.h>
|
||||
#include <Neighbour-Information.h>
|
||||
#include <FreqBandNrItem.h>
|
||||
#include <SupportedSULFreqBandItem.h>
|
||||
#include <SULInformation.h>
|
||||
#include <TDD-Info.h>
|
||||
#include <FDD-Info.h>
|
||||
#include <MBSFN-Subframe-Info.h>
|
||||
#include <AdditionalSpecialSubframe-Info.h>
|
||||
#include <BandInfo.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* INC_X2SETUP_REQUEST_WRAPPER_H */
|
Reference in New Issue
Block a user