First commit

This commit is contained in:
Leonardo Bonati
2021-12-08 20:17:46 +00:00
commit 60dffad583
2923 changed files with 463894 additions and 0 deletions

View File

@@ -0,0 +1,223 @@
/*
* 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 <stdio.h>
#include <string.h>
#include <errno.h>
#undef NDEBUG
#include <assert.h>
#include <asn1codec_utils.h>
#include <constr_TYPE.h>
#include <xer_encoder.h>
/*
* Printer for the e2ap pdu.
* The string representation of the pdu stored in buf.
*
* Input:
* pdu - the pdu to print.
* buf_size - the size of the storage buffer.
* buf - hold the string representation of the pdu.
*/
bool
asn1_pdu_printer(E2AP_PDU_t const *pdu, size_t buf_size, char *buf)
{
bool rc = true;
char *bufloc = 0;
size_t sizeloc = 0;
buf[0] = 0;
FILE *stream = open_memstream(&bufloc, &sizeloc);
errno = 0;
if (asn_fprint(stream, &asn_DEF_E2AP_PDU, pdu)){
snprintf(buf, buf_size, "#%s.%s - Failed to print %s, error = %d ", __FILE__, __func__, asn_DEF_E2AP_PDU.name, errno);
strerror_r(errno, buf+strlen(buf), buf_size - strlen(buf));
rc = false;
} else {
buf_size = buf_size > sizeloc ? sizeloc: buf_size -1;
memcpy(buf, bufloc, buf_size);
buf[buf_size] = 0;
}
fclose(stream);
free(bufloc);
return rc;
}
/*
* XML Printer for the e2ap pdu.
* The string representation of the pdu stored in buf.
*
* Input:
* pdu - the pdu to print.
* buf_size - the size of the storage buffer.
* buf - hold the string representation of the pdu.
*/
bool
asn1_pdu_xer_printer(E2AP_PDU_t const *pdu, size_t buf_size, char *buf)
{
bool rc = true;
char *bufloc = 0;
size_t sizeloc = 0;
buf[0] = 0;
FILE *stream = open_memstream(&bufloc, &sizeloc);
errno = 0;
if (xer_fprint(stream, &asn_DEF_E2AP_PDU, pdu)){
snprintf(buf, buf_size, "#%s.%s - Failed to print %s, error = %d ", __FILE__, __func__, asn_DEF_E2AP_PDU.name, errno);
strerror_r(errno, buf+strlen(buf), buf_size - strlen(buf));
rc = false;
} else {
buf_size = buf_size > sizeloc ? sizeloc: buf_size -1;
memcpy(buf, bufloc, buf_size);
buf[buf_size] = 0;
}
fclose(stream);
free(bufloc);
return rc;
}
/*
* Unpack the pdu from ASN.1 PER encoding.
*
* Input:
* pdu - storage for unpacked pdu.
* packed_buf_size - size of the encoded data.
* packed_buf - storage of the packed pdu
* err_buf_size - size of the err_buf which may hold the error string in case of
* an error. err_buf - storage for the error string
*
* Return: true in case of success, false in case of failure.
*/
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)
{
return unpack_pdu_aux(pdu, packed_buf_size, packed_buf,err_buf_size, err_buf,ATS_ALIGNED_BASIC_PER);
}
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)
{
char spec[256];
size_t err_msg_size = err_buf_size;
//ATS_BASIC_XER ATS_ALIGNED_BASIC_PER, ATS_UNALIGNED_BASIC_PER,ATS_ALIGNED_CANONICAL_PER
errno = 0;
asn_dec_rval_t rval =
asn_decode(0,syntax , &asn_DEF_E2AP_PDU, (void **)&pdu, packed_buf, packed_buf_size);
switch(rval.code) {
case RC_OK:
if (asn_check_constraints(&asn_DEF_E2AP_PDU, pdu,err_buf, &err_msg_size)){
snprintf(spec, sizeof(spec), "#%s.%s - Constraint check failed: ", __FILE__, __func__);
size_t spec_actual_size = strlen(spec);
if (spec_actual_size + err_msg_size < err_buf_size){
memmove(err_buf + spec_actual_size, err_buf, err_msg_size + 1);
memcpy(err_buf, spec, spec_actual_size);
}
return false;
}
return true;
break;
case RC_WMORE:
case RC_FAIL:
default:
break;
}
snprintf(err_buf, err_buf_size, "#%s.%s - Failed to decode %s (consumed %zu), error = %d ", __FILE__, __func__, asn_DEF_E2AP_PDU.name, rval.consumed, errno);
strerror_r(errno, err_buf+strlen(err_buf), err_buf_size - strlen(err_buf));
return false;
}
/*
* Pack the pdu using ASN.1 PER encoding.
*
* Input:
* pdu - the pdu to pack.
* packed_buf_size - in: size of packed_buf; out: number of chars used.
* packed_buf - storage for the packed pdu
* err_buf_size - size of the err_buf which may hold the error string in case of
* an error. err_buf - storage for the error string
*
* Return: true in case of success, false in case of failure.
*/
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)
{
return pack_pdu_aux(pdu, packed_buf_size, packed_buf,err_buf_size, err_buf,ATS_ALIGNED_BASIC_PER);
}
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)
{
char spec[256];
size_t err_msg_size = err_buf_size;
if (asn_check_constraints(&asn_DEF_E2AP_PDU, pdu,err_buf, &err_msg_size)){
snprintf(spec, sizeof(spec), "#%s.%s - Constraint check failed: ", __FILE__, __func__);
size_t spec_actual_size = strlen(spec);
if (spec_actual_size + err_msg_size < err_buf_size){
memmove(err_buf + spec_actual_size, err_buf, err_msg_size + 1);
memcpy(err_buf, spec, spec_actual_size);
}
return false;
}
errno = 0;
asn_enc_rval_t res =
asn_encode_to_buffer(0, syntax, &asn_DEF_E2AP_PDU, pdu, packed_buf, *packed_buf_size);
if(res.encoded == -1) {
snprintf(err_buf, err_buf_size, "#%s.%s - Failed to encode %s, error = %d ", __FILE__, __func__, asn_DEF_E2AP_PDU.name, errno);
strerror_r(errno, err_buf+strlen(err_buf), err_buf_size - strlen(err_buf));
return false;
} else {
/* Encoded successfully. */
if (*packed_buf_size < res.encoded){
snprintf(err_buf, err_buf_size, "#%s.%s - Encoded output of %s, is too big:%zu", __FILE__, __func__, asn_DEF_E2AP_PDU.name,res.encoded);
return false;
} else {
*packed_buf_size = res.encoded;
}
}
return true;
}
/*
* Create a new pdu.
* Abort the process on allocation failure.
*/
E2AP_PDU_t *new_pdu(size_t sz /*ignored (may be used for a custom allocator)*/)
{
E2AP_PDU_t *pdu = calloc(1, sizeof(E2AP_PDU_t));
assert(pdu != 0);
return pdu;
}
void delete_pdu(E2AP_PDU_t *pdu)
{
ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
}

View File

@@ -0,0 +1,215 @@
/*
* 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 <string.h>
#include <errno.h>
#undef NDEBUG
#include <assert.h>
#include <asn_application.h>
#include <E2AP-PDU.h>
#include <ProcedureCode.h>
#include <SuccessfulOutcome.h>
#include <UnsuccessfulOutcome.h>
#include <ProtocolIE-ID.h>
#include <ProtocolIE-Field.h>
#include <configuration_update_wrapper.h>
/*
* Build and pack ENB Configuration Update Acknowledge (successful outcome response).
* Abort the process on allocation failure.
* packed_buf_size - in: size of packed_buf; out: number of chars used.
*/
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 rc = true;
E2AP_PDU_t *pdu = calloc(1, sizeof(E2AP_PDU_t));
SuccessfulOutcome_t *successfulOutcome = calloc(1, sizeof(SuccessfulOutcome_t));
ENBConfigurationUpdateAcknowledge_t *enbConfigurationUpdateAcknowledge;
ENBConfigurationUpdateAcknowledge_IEs_t *enbConfigurationUpdateAcknowledge_IEs = calloc(1, sizeof(ENBConfigurationUpdateAcknowledge_IEs_t));
assert(pdu != 0);
assert(successfulOutcome != 0);
assert(enbConfigurationUpdateAcknowledge_IEs != 0);
pdu->present = E2AP_PDU_PR_successfulOutcome;
pdu->choice.successfulOutcome = successfulOutcome;
successfulOutcome->procedureCode = ProcedureCode_id_eNBConfigurationUpdate;
successfulOutcome->criticality = Criticality_reject;
successfulOutcome->value.present = SuccessfulOutcome__value_PR_ENBConfigurationUpdateAcknowledge;
enbConfigurationUpdateAcknowledge = &successfulOutcome->value.choice.ENBConfigurationUpdateAcknowledge;
enbConfigurationUpdateAcknowledge_IEs->id = ProtocolIE_ID_id_CriticalityDiagnostics;
enbConfigurationUpdateAcknowledge_IEs->criticality = Criticality_ignore;
enbConfigurationUpdateAcknowledge_IEs->value.present = ENBConfigurationUpdateAcknowledge_IEs__value_PR_CriticalityDiagnostics;
ASN_SEQUENCE_ADD(&enbConfigurationUpdateAcknowledge->protocolIEs, enbConfigurationUpdateAcknowledge_IEs);
rc = per_pack_pdu(pdu, packed_buf_size, packed_buf,err_buf_size, err_buf);
ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
return rc;
}
/*
* Build and pack ENB Configuration Update Failure (unsuccessful outcome message).
* Abort the process on allocation failure.
* packed_buf_size - in: size of packed_buf; out: number of chars used.
*/
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 rc = true;
E2AP_PDU_t *pdu = calloc(1, sizeof(E2AP_PDU_t));
UnsuccessfulOutcome_t *unsuccessfulOutcome = calloc(1, sizeof(UnsuccessfulOutcome_t));
ENBConfigurationUpdateFailure_t *enbConfigurationUpdateFailure;
ENBConfigurationUpdateFailure_IEs_t *enbConfigurationUpdateFailure_IEs = calloc(1, sizeof(ENBConfigurationUpdateFailure_IEs_t));
assert(pdu != 0);
assert(unsuccessfulOutcome != 0);
assert(enbConfigurationUpdateFailure_IEs != 0);
pdu->present = E2AP_PDU_PR_unsuccessfulOutcome;
pdu->choice.unsuccessfulOutcome = unsuccessfulOutcome;
unsuccessfulOutcome->procedureCode = ProcedureCode_id_eNBConfigurationUpdate;
unsuccessfulOutcome->criticality = Criticality_reject;
unsuccessfulOutcome->value.present = UnsuccessfulOutcome__value_PR_ENBConfigurationUpdateFailure;
enbConfigurationUpdateFailure = &unsuccessfulOutcome->value.choice.ENBConfigurationUpdateFailure;
enbConfigurationUpdateFailure_IEs->id = ProtocolIE_ID_id_Cause;
enbConfigurationUpdateFailure_IEs->criticality = Criticality_ignore;
enbConfigurationUpdateFailure_IEs->value.present = ENBConfigurationUpdateFailure_IEs__value_PR_Cause;
enbConfigurationUpdateFailure_IEs->value.choice.Cause.present = Cause_PR_protocol;
enbConfigurationUpdateFailure_IEs->value.choice.Cause.choice.protocol= CauseProtocol_abstract_syntax_error_reject;
ASN_SEQUENCE_ADD(&enbConfigurationUpdateFailure->protocolIEs, enbConfigurationUpdateFailure_IEs);
rc = per_pack_pdu(pdu, packed_buf_size, packed_buf,err_buf_size, err_buf);
ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
return rc;
}
/*
* Build and pack ENDC Configuration Update Acknowledge (successful outcome response).
* Abort the process on allocation failure.
* packed_buf_size - in: size of packed_buf; out: number of chars used.
*/
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 rc = true;
E2AP_PDU_t *pdu = calloc(1, sizeof(E2AP_PDU_t));
SuccessfulOutcome_t *successfulOutcome = calloc(1, sizeof(SuccessfulOutcome_t));
ENDCConfigurationUpdateAcknowledge_t *endcConfigurationUpdateAcknowledge;
ENDCConfigurationUpdateAcknowledge_IEs_t *endcConfigurationUpdateAcknowledge_IEs = calloc(1, sizeof(ENDCConfigurationUpdateAcknowledge_IEs_t));
assert(pdu != 0);
assert(successfulOutcome != 0);
assert(endcConfigurationUpdateAcknowledge_IEs != 0);
pdu->present = E2AP_PDU_PR_successfulOutcome;
pdu->choice.successfulOutcome = successfulOutcome;
successfulOutcome->procedureCode = ProcedureCode_id_endcConfigurationUpdate;
successfulOutcome->criticality = Criticality_reject;
successfulOutcome->value.present = SuccessfulOutcome__value_PR_ENDCConfigurationUpdateAcknowledge;
endcConfigurationUpdateAcknowledge = &successfulOutcome->value.choice.ENDCConfigurationUpdateAcknowledge;
ASN_SEQUENCE_ADD(&endcConfigurationUpdateAcknowledge->protocolIEs, endcConfigurationUpdateAcknowledge_IEs);
endcConfigurationUpdateAcknowledge_IEs->id = ProtocolIE_ID_id_RespondingNodeType_EndcConfigUpdate;
endcConfigurationUpdateAcknowledge_IEs->criticality = Criticality_reject;
endcConfigurationUpdateAcknowledge_IEs->value.present = ENDCConfigurationUpdateAcknowledge_IEs__value_PR_RespondingNodeType_EndcConfigUpdate;
endcConfigurationUpdateAcknowledge_IEs->value.choice.RespondingNodeType_EndcConfigUpdate.present = RespondingNodeType_EndcConfigUpdate_PR_respond_eNB;
ProtocolIE_Container_119P95_t *enb_ENDCConfigUpdateAckIEs_Container = calloc(1, sizeof(ProtocolIE_Container_119P95_t));
assert(enb_ENDCConfigUpdateAckIEs_Container != 0);
endcConfigurationUpdateAcknowledge_IEs->value.choice.RespondingNodeType_EndcConfigUpdate.choice.respond_eNB = (struct ProtocolIE_Container*)enb_ENDCConfigUpdateAckIEs_Container;
//Leave the respond_eNB container empty (ENB_ENDCConfigUpdateAckIEs_t is an empty element).
rc = per_pack_pdu(pdu, packed_buf_size, packed_buf,err_buf_size, err_buf);
ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
return rc;
}
/*
* Build and pack ENDC Configuration Update Failure (unsuccessful outcome message).
* Abort the process on allocation failure.
* packed_buf_size - in: size of packed_buf; out: number of chars used.
*/
bool
build_pack_endc_configuration_update_failure(
size_t* packed_buf_size,
unsigned char* packed_buf,
size_t err_buf_size,
char* err_buf)
{
bool rc = true;
E2AP_PDU_t *pdu = calloc(1, sizeof(E2AP_PDU_t));
UnsuccessfulOutcome_t *unsuccessfulOutcome = calloc(1, sizeof(UnsuccessfulOutcome_t));
ENDCConfigurationUpdateFailure_t *endcConfigurationUpdateFailure;
ENDCConfigurationUpdateFailure_IEs_t *endcConfigurationUpdateFailure_IEs = calloc(1, sizeof(ENDCConfigurationUpdateFailure_IEs_t));
assert(pdu != 0);
assert(unsuccessfulOutcome != 0);
assert(endcConfigurationUpdateFailure_IEs != 0);
pdu->present = E2AP_PDU_PR_unsuccessfulOutcome;
pdu->choice.unsuccessfulOutcome = unsuccessfulOutcome;
unsuccessfulOutcome->procedureCode = ProcedureCode_id_endcConfigurationUpdate;
unsuccessfulOutcome->criticality = Criticality_reject;
unsuccessfulOutcome->value.present = UnsuccessfulOutcome__value_PR_ENDCConfigurationUpdateFailure;
endcConfigurationUpdateFailure = &unsuccessfulOutcome->value.choice.ENDCConfigurationUpdateFailure;
endcConfigurationUpdateFailure_IEs->id = ProtocolIE_ID_id_Cause;
endcConfigurationUpdateFailure_IEs->criticality = Criticality_ignore;
endcConfigurationUpdateFailure_IEs->value.present = ENDCConfigurationUpdateFailure_IEs__value_PR_Cause;
endcConfigurationUpdateFailure_IEs->value.choice.Cause.present = Cause_PR_protocol;
endcConfigurationUpdateFailure_IEs->value.choice.Cause.choice.protocol= CauseProtocol_abstract_syntax_error_reject;
ASN_SEQUENCE_ADD(&endcConfigurationUpdateFailure->protocolIEs, endcConfigurationUpdateFailure_IEs);
rc = per_pack_pdu(pdu, packed_buf_size, packed_buf,err_buf_size, err_buf);
ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
return rc;
}

View File

@@ -0,0 +1,114 @@
/*
* 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 <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <configuration_update_wrapper.h>
void test_build_pack_x2enb_configuration_update_ack();
void test_build_pack_x2enb_configuration_update_failure();
void test_build_pack_endc_configuration_update_ack();
void test_build_pack_endc_configuration_update_failure();
int
main(int argc, char* argv[])
{
test_build_pack_x2enb_configuration_update_ack();
test_build_pack_x2enb_configuration_update_failure();
test_build_pack_endc_configuration_update_ack();
test_build_pack_endc_configuration_update_failure();
exit(0);
}
void test_build_pack_x2enb_configuration_update_ack(){
size_t error_buf_size = 8192;
size_t packed_buf_size = 4096;
unsigned char responseDataBuf[packed_buf_size];
char responseErrorBuf[error_buf_size];
bool result = build_pack_x2enb_configuration_update_ack(&packed_buf_size, responseDataBuf, error_buf_size, responseErrorBuf);
if (!result) {
printf("#test_build_pack_x2enb_configuration_update_ack failed. Packing error %s\n", responseErrorBuf);
return;
}
printf("x2enb configuration update acknowledge packed size:%lu\nPayload:\n", packed_buf_size);
for (size_t i = 0; i < packed_buf_size; ++i)
printf("%02x",responseDataBuf[i]);
printf("\n");
}
void test_build_pack_x2enb_configuration_update_failure(){
size_t error_buf_size = 8192;
size_t packed_buf_size = 4096;
unsigned char responseDataBuf[packed_buf_size];
char responseErrorBuf[error_buf_size];
bool result = build_pack_x2enb_configuration_update_failure(&packed_buf_size, responseDataBuf, error_buf_size, responseErrorBuf);
if (!result) {
printf("#test_build_pack_x2enb_configuration_update_failure. Packing error %s\n", responseErrorBuf);
return;
}
printf("x2enb configuration update failure packed size:%lu\nPayload:\n", packed_buf_size);
for (size_t i = 0; i < packed_buf_size; ++i)
printf("%02x",responseDataBuf[i]);
printf("\n");
}
void test_build_pack_endc_configuration_update_ack(){
size_t error_buf_size = 8192;
size_t packed_buf_size = 4096;
unsigned char responseDataBuf[packed_buf_size];
char responseErrorBuf[error_buf_size];
bool result = build_pack_endc_configuration_update_ack(&packed_buf_size, responseDataBuf, error_buf_size, responseErrorBuf);
if (!result) {
printf("#test_build_pack_endc_configuration_update_ack. Packing error %s\n", responseErrorBuf);
return;
}
printf("endc configuration update acknowledge packed size:%lu\nPayload:\n", packed_buf_size);
for (size_t i = 0; i < packed_buf_size; ++i)
printf("%02x",responseDataBuf[i]);
printf("\n");
E2AP_PDU_t *pdu = calloc(1, sizeof(E2AP_PDU_t));
if (!unpack_pdu_aux(pdu, packed_buf_size, responseDataBuf,error_buf_size, responseErrorBuf,ATS_ALIGNED_BASIC_PER)){
printf("#%s failed. Packing error %s\n", __func__, responseErrorBuf);
}
responseErrorBuf[0] = 0;
asn1_pdu_printer(pdu, sizeof(responseErrorBuf), responseErrorBuf);
printf("#%s: %s\n", __func__, responseErrorBuf);
}
void test_build_pack_endc_configuration_update_failure(){
size_t error_buf_size = 8192;
size_t packed_buf_size = 4096;
unsigned char responseDataBuf[packed_buf_size];
char responseErrorBuf[error_buf_size];
bool result = build_pack_endc_configuration_update_failure(&packed_buf_size, responseDataBuf, error_buf_size, responseErrorBuf);
if (!result) {
printf("#test_build_pack_endc_configuration_update_failure. Packing error %s\n", responseErrorBuf);
return;
}
printf("endc configuration update failure packed size:%lu\nPayload:\n", packed_buf_size);
for (size_t i = 0; i < packed_buf_size; ++i)
printf("%02x",responseDataBuf[i]);
printf("\n");
}

View File

@@ -0,0 +1,34 @@
<E2AP-PDU>
<initiatingMessage>
<procedureCode>2</procedureCode>
<criticality><ignore/></criticality>
<value>
<LoadInformation>
<protocolIEs>
<LoadInformation-IEs>
<id>6</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-List>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F8 29</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
</CellInformation-List>
</value>
</LoadInformation-IEs>
</protocolIEs>
</LoadInformation>
</value>
</initiatingMessage>
</E2AP-PDU>

View File

@@ -0,0 +1,37 @@
<E2AP-PDU>
<initiatingMessage>
<procedureCode>2</procedureCode>
<criticality><ignore/></criticality>
<value>
<LoadInformation>
<protocolIEs>
<LoadInformation-IEs>
<id>6</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-List>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F8 29</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/>
</ul-InterferenceOverloadIndication>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
</CellInformation-List>
</value>
</LoadInformation-IEs>
</protocolIEs>
</LoadInformation>
</value>
</initiatingMessage>
</E2AP-PDU>

View File

@@ -0,0 +1,50 @@
<E2AP-PDU>
<initiatingMessage>
<procedureCode>2</procedureCode>
<criticality><ignore/></criticality>
<value>
<LoadInformation>
<protocolIEs>
<LoadInformation-IEs>
<id>6</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-List>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F8 29</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<high-interference/>
</ul-InterferenceOverloadIndication>
<ul-HighInterferenceIndicationInfo>
<UL-HighInterferenceIndicationInfo-Item>
<target-Cell-ID>
<pLMN-Identity>02 F8 30</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</target-Cell-ID>
<ul-interferenceindication>
1010101010101010
</ul-interferenceindication>
</UL-HighInterferenceIndicationInfo-Item>
</ul-HighInterferenceIndicationInfo>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
</CellInformation-List>
</value>
</LoadInformation-IEs>
</protocolIEs>
</LoadInformation>
</value>
</initiatingMessage>
</E2AP-PDU>

View File

@@ -0,0 +1,50 @@
<E2AP-PDU>
<initiatingMessage>
<procedureCode>2</procedureCode>
<criticality><ignore/></criticality>
<value>
<LoadInformation>
<protocolIEs>
<LoadInformation-IEs>
<id>6</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-List>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F8 29</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<low-interference/>
</ul-InterferenceOverloadIndication>
<relativeNarrowbandTxPower>
<rNTP-PerPRB>
11001100
</rNTP-PerPRB>
<rNTP-Threshold>
<minusSix/>
</rNTP-Threshold>
<numberOfCellSpecificAntennaPorts>
<two/>
</numberOfCellSpecificAntennaPorts>
<p-B>2 </p-B>
<pDCCH-InterferenceImpact>1</pDCCH-InterferenceImpact>
</relativeNarrowbandTxPower>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
</CellInformation-List>
</value>
</LoadInformation-IEs>
</protocolIEs>
</LoadInformation>
</value>
</initiatingMessage>
</E2AP-PDU>

View File

@@ -0,0 +1,85 @@
<E2AP-PDU>
<initiatingMessage>
<procedureCode>2</procedureCode>
<criticality><ignore/></criticality>
<value>
<LoadInformation>
<protocolIEs>
<LoadInformation-IEs>
<id>6</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-List>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F8 29</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</ul-InterferenceOverloadIndication>
<ul-HighInterferenceIndicationInfo>
<UL-HighInterferenceIndicationInfo-Item>
<target-Cell-ID>
<pLMN-Identity>02 F8 30</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</target-Cell-ID>
<ul-interferenceindication>
1010101010101010
</ul-interferenceindication>
</UL-HighInterferenceIndicationInfo-Item>
</ul-HighInterferenceIndicationInfo>
<relativeNarrowbandTxPower>
<rNTP-PerPRB>
11001100
</rNTP-PerPRB>
<rNTP-Threshold>
<minusSix/>
</rNTP-Threshold>
<numberOfCellSpecificAntennaPorts>
<two/>
</numberOfCellSpecificAntennaPorts>
<p-B>2 </p-B>
<pDCCH-InterferenceImpact>1</pDCCH-InterferenceImpact>
</relativeNarrowbandTxPower>
<iE-Extensions>
<CellInformation-Item-ExtIEs>
<id>61</id>
<criticality><ignore/></criticality>
<extensionValue>
<ABSInformation>
<fdd>
<abs-pattern-info>
0000011111000001111100000111110000011111
</abs-pattern-info>
<numberOfCellSpecificAntennaPorts>
<one/>
</numberOfCellSpecificAntennaPorts>
<measurement-subset>
1000001111100000111110000011110000001111
</measurement-subset>
</fdd>
</ABSInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
</iE-Extensions>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
</CellInformation-List>
</value>
</LoadInformation-IEs>
</protocolIEs>
</LoadInformation>
</value>
</initiatingMessage>
</E2AP-PDU>

View File

@@ -0,0 +1,94 @@
<E2AP-PDU>
<initiatingMessage>
<procedureCode>2</procedureCode>
<criticality><ignore/></criticality>
<value>
<LoadInformation>
<protocolIEs>
<LoadInformation-IEs>
<id>6</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-List>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F8 29</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</ul-InterferenceOverloadIndication>
<ul-HighInterferenceIndicationInfo>
<UL-HighInterferenceIndicationInfo-Item>
<target-Cell-ID>
<pLMN-Identity>02 F8 30</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</target-Cell-ID>
<ul-interferenceindication>
1010101010101010
</ul-interferenceindication>
</UL-HighInterferenceIndicationInfo-Item>
</ul-HighInterferenceIndicationInfo>
<relativeNarrowbandTxPower>
<rNTP-PerPRB>
11001100
</rNTP-PerPRB>
<rNTP-Threshold>
<minusSix/>
</rNTP-Threshold>
<numberOfCellSpecificAntennaPorts>
<two/>
</numberOfCellSpecificAntennaPorts>
<p-B>2 </p-B>
<pDCCH-InterferenceImpact>1</pDCCH-InterferenceImpact>
</relativeNarrowbandTxPower>
<iE-Extensions>
<CellInformation-Item-ExtIEs>
<id>61</id>
<criticality><ignore/></criticality>
<extensionValue>
<ABSInformation>
<fdd>
<abs-pattern-info>
0000011111000001111100000111110000011111
</abs-pattern-info>
<numberOfCellSpecificAntennaPorts>
<one/>
</numberOfCellSpecificAntennaPorts>
<measurement-subset>
1000001111100000111110000011110000001111
</measurement-subset>
</fdd>
</ABSInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>62</id>
<criticality><ignore/></criticality>
<extensionValue>
<InvokeIndication>
<abs-information/>
</InvokeIndication>
</extensionValue>
</CellInformation-Item-ExtIEs>
</iE-Extensions>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
</CellInformation-List>
</value>
</LoadInformation-IEs>
</protocolIEs>
</LoadInformation>
</value>
</initiatingMessage>
</E2AP-PDU>

View File

@@ -0,0 +1,103 @@
<E2AP-PDU>
<initiatingMessage>
<procedureCode>2</procedureCode>
<criticality><ignore/></criticality>
<value>
<LoadInformation>
<protocolIEs>
<LoadInformation-IEs>
<id>6</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-List>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F8 29</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</ul-InterferenceOverloadIndication>
<ul-HighInterferenceIndicationInfo>
<UL-HighInterferenceIndicationInfo-Item>
<target-Cell-ID>
<pLMN-Identity>02 F8 30</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</target-Cell-ID>
<ul-interferenceindication>
1010101010101010
</ul-interferenceindication>
</UL-HighInterferenceIndicationInfo-Item>
</ul-HighInterferenceIndicationInfo>
<relativeNarrowbandTxPower>
<rNTP-PerPRB>
11001100
</rNTP-PerPRB>
<rNTP-Threshold>
<minusSix/>
</rNTP-Threshold>
<numberOfCellSpecificAntennaPorts>
<two/>
</numberOfCellSpecificAntennaPorts>
<p-B>2 </p-B>
<pDCCH-InterferenceImpact>1</pDCCH-InterferenceImpact>
</relativeNarrowbandTxPower>
<iE-Extensions>
<CellInformation-Item-ExtIEs>
<id>61</id>
<criticality><ignore/></criticality>
<extensionValue>
<ABSInformation>
<fdd>
<abs-pattern-info>
0000011111000001111100000111110000011111
</abs-pattern-info>
<numberOfCellSpecificAntennaPorts>
<one/>
</numberOfCellSpecificAntennaPorts>
<measurement-subset>
1000001111100000111110000011110000001111
</measurement-subset>
</fdd>
</ABSInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>62</id>
<criticality><ignore/></criticality>
<extensionValue>
<InvokeIndication>
<abs-information/>
</InvokeIndication>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>99</id>
<criticality><ignore/></criticality>
<extensionValue>
<SubframeAssignment>
<sa6/>
</SubframeAssignment>
</extensionValue>
</CellInformation-Item-ExtIEs>
</iE-Extensions>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
</CellInformation-List>
</value>
</LoadInformation-IEs>
</protocolIEs>
</LoadInformation>
</value>
</initiatingMessage>
</E2AP-PDU>

View File

@@ -0,0 +1,117 @@
<E2AP-PDU>
<initiatingMessage>
<procedureCode>2</procedureCode>
<criticality><ignore/></criticality>
<value>
<LoadInformation>
<protocolIEs>
<LoadInformation-IEs>
<id>6</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-List>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F8 29</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</ul-InterferenceOverloadIndication>
<ul-HighInterferenceIndicationInfo>
<UL-HighInterferenceIndicationInfo-Item>
<target-Cell-ID>
<pLMN-Identity>02 F8 30</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</target-Cell-ID>
<ul-interferenceindication>
1010101010101010
</ul-interferenceindication>
</UL-HighInterferenceIndicationInfo-Item>
</ul-HighInterferenceIndicationInfo>
<relativeNarrowbandTxPower>
<rNTP-PerPRB>
11001100
</rNTP-PerPRB>
<rNTP-Threshold>
<minusSix/>
</rNTP-Threshold>
<numberOfCellSpecificAntennaPorts>
<two/>
</numberOfCellSpecificAntennaPorts>
<p-B>2 </p-B>
<pDCCH-InterferenceImpact>1</pDCCH-InterferenceImpact>
</relativeNarrowbandTxPower>
<iE-Extensions>
<CellInformation-Item-ExtIEs>
<id>61</id>
<criticality><ignore/></criticality>
<extensionValue>
<ABSInformation>
<fdd>
<abs-pattern-info>
0000011111000001111100000111110000011111
</abs-pattern-info>
<numberOfCellSpecificAntennaPorts>
<one/>
</numberOfCellSpecificAntennaPorts>
<measurement-subset>
1000001111100000111110000011110000001111
</measurement-subset>
</fdd>
</ABSInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>62</id>
<criticality><ignore/></criticality>
<extensionValue>
<InvokeIndication>
<abs-information/>
</InvokeIndication>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>99</id>
<criticality><ignore/></criticality>
<extensionValue>
<SubframeAssignment>
<sa6/>
</SubframeAssignment>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>100</id>
<criticality><ignore/></criticality>
<extensionValue>
<ExtendedULInterferenceOverloadInfo>
<associatedSubframes>
11001
</associatedSubframes>
<extended-ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</extended-ul-InterferenceOverloadIndication>
</ExtendedULInterferenceOverloadInfo>
</extensionValue>
</CellInformation-Item-ExtIEs>
</iE-Extensions>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
</CellInformation-List>
</value>
</LoadInformation-IEs>
</protocolIEs>
</LoadInformation>
</value>
</initiatingMessage>
</E2AP-PDU>

View File

@@ -0,0 +1,173 @@
<E2AP-PDU>
<initiatingMessage>
<procedureCode>2</procedureCode>
<criticality><ignore/></criticality>
<value>
<LoadInformation>
<protocolIEs>
<LoadInformation-IEs>
<id>6</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-List>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F8 29</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</ul-InterferenceOverloadIndication>
<ul-HighInterferenceIndicationInfo>
<UL-HighInterferenceIndicationInfo-Item>
<target-Cell-ID>
<pLMN-Identity>02 F8 30</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</target-Cell-ID>
<ul-interferenceindication>
1010101010101010
</ul-interferenceindication>
</UL-HighInterferenceIndicationInfo-Item>
</ul-HighInterferenceIndicationInfo>
<relativeNarrowbandTxPower>
<rNTP-PerPRB>
11001100
</rNTP-PerPRB>
<rNTP-Threshold>
<minusSix/>
</rNTP-Threshold>
<numberOfCellSpecificAntennaPorts>
<two/>
</numberOfCellSpecificAntennaPorts>
<p-B>2 </p-B>
<pDCCH-InterferenceImpact>1</pDCCH-InterferenceImpact>
</relativeNarrowbandTxPower>
<iE-Extensions>
<CellInformation-Item-ExtIEs>
<id>61</id>
<criticality><ignore/></criticality>
<extensionValue>
<ABSInformation>
<fdd>
<abs-pattern-info>
0000011111000001111100000111110000011111
</abs-pattern-info>
<numberOfCellSpecificAntennaPorts>
<one/>
</numberOfCellSpecificAntennaPorts>
<measurement-subset>
1000001111100000111110000011110000001111
</measurement-subset>
</fdd>
</ABSInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>62</id>
<criticality><ignore/></criticality>
<extensionValue>
<InvokeIndication>
<abs-information/>
</InvokeIndication>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>99</id>
<criticality><ignore/></criticality>
<extensionValue>
<SubframeAssignment>
<sa6/>
</SubframeAssignment>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>100</id>
<criticality><ignore/></criticality>
<extensionValue>
<ExtendedULInterferenceOverloadInfo>
<associatedSubframes>
11001
</associatedSubframes>
<extended-ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</extended-ul-InterferenceOverloadIndication>
</ExtendedULInterferenceOverloadInfo>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>108</id>
<criticality><ignore/></criticality>
<extensionValue>
<CoMPInformation>
<coMPInformationItem>
<SEQUENCE>
<coMPHypothesisSet>
<CoMPHypothesisSetItem>
<coMPCellID>
<pLMN-Identity>02 F8 31</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</coMPCellID>
<coMPHypothesis>
1110000000000111101010110101
</coMPHypothesis>
</CoMPHypothesisSetItem>
</coMPHypothesisSet>
<benefitMetric>
-99
</benefitMetric>
</SEQUENCE>
<SEQUENCE>
<coMPHypothesisSet>
<CoMPHypothesisSetItem>
<coMPCellID>
<pLMN-Identity>02 F8 32</pLMN-Identity>
<eUTRANcellIdentifier>
0000000001100111101010110101
</eUTRANcellIdentifier>
</coMPCellID>
<coMPHypothesis>
1110001100000111101010110101
</coMPHypothesis>
</CoMPHypothesisSetItem>
</coMPHypothesisSet>
<benefitMetric>
30
</benefitMetric>
</SEQUENCE>
</coMPInformationItem>
<coMPInformationStartTime>
<SEQUENCE>
<startSFN>
50
</startSFN>
<startSubframeNumber>
3
</startSubframeNumber>
</SEQUENCE>
</coMPInformationStartTime>
</CoMPInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
</iE-Extensions>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
</CellInformation-List>
</value>
</LoadInformation-IEs>
</protocolIEs>
</LoadInformation>
</value>
</initiatingMessage>
</E2AP-PDU>

View File

@@ -0,0 +1,136 @@
<E2AP-PDU>
<initiatingMessage>
<procedureCode>2</procedureCode>
<criticality><ignore/></criticality>
<value>
<LoadInformation>
<protocolIEs>
<LoadInformation-IEs>
<id>6</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-List>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F8 29</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</ul-InterferenceOverloadIndication>
<ul-HighInterferenceIndicationInfo>
<UL-HighInterferenceIndicationInfo-Item>
<target-Cell-ID>
<pLMN-Identity>02 F8 30</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</target-Cell-ID>
<ul-interferenceindication>
1010101010101010
</ul-interferenceindication>
</UL-HighInterferenceIndicationInfo-Item>
</ul-HighInterferenceIndicationInfo>
<relativeNarrowbandTxPower>
<rNTP-PerPRB>
11001100
</rNTP-PerPRB>
<rNTP-Threshold>
<minusSix/>
</rNTP-Threshold>
<numberOfCellSpecificAntennaPorts>
<two/>
</numberOfCellSpecificAntennaPorts>
<p-B>2 </p-B>
<pDCCH-InterferenceImpact>1</pDCCH-InterferenceImpact>
</relativeNarrowbandTxPower>
<iE-Extensions>
<CellInformation-Item-ExtIEs>
<id>61</id>
<criticality><ignore/></criticality>
<extensionValue>
<ABSInformation>
<fdd>
<abs-pattern-info>
0000011111000001111100000111110000011111
</abs-pattern-info>
<numberOfCellSpecificAntennaPorts>
<one/>
</numberOfCellSpecificAntennaPorts>
<measurement-subset>
1000001111100000111110000011110000001111
</measurement-subset>
</fdd>
</ABSInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>62</id>
<criticality><ignore/></criticality>
<extensionValue>
<InvokeIndication>
<abs-information/>
</InvokeIndication>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>99</id>
<criticality><ignore/></criticality>
<extensionValue>
<SubframeAssignment>
<sa6/>
</SubframeAssignment>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>100</id>
<criticality><ignore/></criticality>
<extensionValue>
<ExtendedULInterferenceOverloadInfo>
<associatedSubframes>
11001
</associatedSubframes>
<extended-ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</extended-ul-InterferenceOverloadIndication>
</ExtendedULInterferenceOverloadInfo>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>106</id>
<criticality><ignore/></criticality>
<extensionValue>
<DynamicDLTransmissionInformation>
<naics-active>
<transmissionModes>
11001101
</transmissionModes>
<pB-information>
0
</pB-information>
<pA-list>
<dB-1dot77/><dB-3/>
</pA-list>
</naics-active>
</DynamicDLTransmissionInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
</iE-Extensions>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
</CellInformation-List>
</value>
</LoadInformation-IEs>
</protocolIEs>
</LoadInformation>
</value>
</initiatingMessage>
</E2AP-PDU>

View File

@@ -0,0 +1,192 @@
<E2AP-PDU>
<initiatingMessage>
<procedureCode>2</procedureCode>
<criticality><ignore/></criticality>
<value>
<LoadInformation>
<protocolIEs>
<LoadInformation-IEs>
<id>6</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-List>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F8 29</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</ul-InterferenceOverloadIndication>
<ul-HighInterferenceIndicationInfo>
<UL-HighInterferenceIndicationInfo-Item>
<target-Cell-ID>
<pLMN-Identity>02 F8 30</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</target-Cell-ID>
<ul-interferenceindication>
1010101010101010
</ul-interferenceindication>
</UL-HighInterferenceIndicationInfo-Item>
</ul-HighInterferenceIndicationInfo>
<relativeNarrowbandTxPower>
<rNTP-PerPRB>
11001100
</rNTP-PerPRB>
<rNTP-Threshold>
<minusSix/>
</rNTP-Threshold>
<numberOfCellSpecificAntennaPorts>
<two/>
</numberOfCellSpecificAntennaPorts>
<p-B>2 </p-B>
<pDCCH-InterferenceImpact>1</pDCCH-InterferenceImpact>
</relativeNarrowbandTxPower>
<iE-Extensions>
<CellInformation-Item-ExtIEs>
<id>61</id>
<criticality><ignore/></criticality>
<extensionValue>
<ABSInformation>
<fdd>
<abs-pattern-info>
0000011111000001111100000111110000011111
</abs-pattern-info>
<numberOfCellSpecificAntennaPorts>
<one/>
</numberOfCellSpecificAntennaPorts>
<measurement-subset>
1000001111100000111110000011110000001111
</measurement-subset>
</fdd>
</ABSInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>62</id>
<criticality><ignore/></criticality>
<extensionValue>
<InvokeIndication>
<abs-information/>
</InvokeIndication>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>99</id>
<criticality><ignore/></criticality>
<extensionValue>
<SubframeAssignment>
<sa6/>
</SubframeAssignment>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>100</id>
<criticality><ignore/></criticality>
<extensionValue>
<ExtendedULInterferenceOverloadInfo>
<associatedSubframes>
11001
</associatedSubframes>
<extended-ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</extended-ul-InterferenceOverloadIndication>
</ExtendedULInterferenceOverloadInfo>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>106</id>
<criticality><ignore/></criticality>
<extensionValue>
<DynamicDLTransmissionInformation>
<naics-active>
<transmissionModes>
11001101
</transmissionModes>
<pB-information>
0
</pB-information>
<pA-list>
<dB-1dot77/><dB-3/>
</pA-list>
</naics-active>
</DynamicDLTransmissionInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>108</id>
<criticality><ignore/></criticality>
<extensionValue>
<CoMPInformation>
<coMPInformationItem>
<SEQUENCE>
<coMPHypothesisSet>
<CoMPHypothesisSetItem>
<coMPCellID>
<pLMN-Identity>02 F8 31</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</coMPCellID>
<coMPHypothesis>
1110000000000111101010110101
</coMPHypothesis>
</CoMPHypothesisSetItem>
</coMPHypothesisSet>
<benefitMetric>
-99
</benefitMetric>
</SEQUENCE>
<SEQUENCE>
<coMPHypothesisSet>
<CoMPHypothesisSetItem>
<coMPCellID>
<pLMN-Identity>02 F8 32</pLMN-Identity>
<eUTRANcellIdentifier>
0000000001100111101010110101
</eUTRANcellIdentifier>
</coMPCellID>
<coMPHypothesis>
1110001100000111101010110101
</coMPHypothesis>
</CoMPHypothesisSetItem>
</coMPHypothesisSet>
<benefitMetric>
30
</benefitMetric>
</SEQUENCE>
</coMPInformationItem>
<coMPInformationStartTime>
<SEQUENCE>
<startSFN>
50
</startSFN>
<startSubframeNumber>
3
</startSubframeNumber>
</SEQUENCE>
</coMPInformationStartTime>
</CoMPInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
</iE-Extensions>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
</CellInformation-List>
</value>
</LoadInformation-IEs>
</protocolIEs>
</LoadInformation>
</value>
</initiatingMessage>
</E2AP-PDU>

View File

@@ -0,0 +1,364 @@
<E2AP-PDU>
<initiatingMessage>
<procedureCode>2</procedureCode>
<criticality><ignore/></criticality>
<value>
<LoadInformation>
<protocolIEs>
<LoadInformation-IEs>
<id>6</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-List>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F8 29</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</ul-InterferenceOverloadIndication>
<ul-HighInterferenceIndicationInfo>
<UL-HighInterferenceIndicationInfo-Item>
<target-Cell-ID>
<pLMN-Identity>02 F8 30</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</target-Cell-ID>
<ul-interferenceindication>
1010101010101010
</ul-interferenceindication>
</UL-HighInterferenceIndicationInfo-Item>
</ul-HighInterferenceIndicationInfo>
<relativeNarrowbandTxPower>
<rNTP-PerPRB>
11001100
</rNTP-PerPRB>
<rNTP-Threshold>
<minusSix/>
</rNTP-Threshold>
<numberOfCellSpecificAntennaPorts>
<two/>
</numberOfCellSpecificAntennaPorts>
<p-B>2 </p-B>
<pDCCH-InterferenceImpact>1</pDCCH-InterferenceImpact>
</relativeNarrowbandTxPower>
<iE-Extensions>
<CellInformation-Item-ExtIEs>
<id>61</id>
<criticality><ignore/></criticality>
<extensionValue>
<ABSInformation>
<fdd>
<abs-pattern-info>
0000011111000001111100000111110000011111
</abs-pattern-info>
<numberOfCellSpecificAntennaPorts>
<one/>
</numberOfCellSpecificAntennaPorts>
<measurement-subset>
1000001111100000111110000011110000001111
</measurement-subset>
</fdd>
</ABSInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>62</id>
<criticality><ignore/></criticality>
<extensionValue>
<InvokeIndication>
<abs-information/>
</InvokeIndication>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>99</id>
<criticality><ignore/></criticality>
<extensionValue>
<SubframeAssignment>
<sa6/>
</SubframeAssignment>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>100</id>
<criticality><ignore/></criticality>
<extensionValue>
<ExtendedULInterferenceOverloadInfo>
<associatedSubframes>
11001
</associatedSubframes>
<extended-ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</extended-ul-InterferenceOverloadIndication>
</ExtendedULInterferenceOverloadInfo>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>106</id>
<criticality><ignore/></criticality>
<extensionValue>
<DynamicDLTransmissionInformation>
<naics-active>
<transmissionModes>
11001101
</transmissionModes>
<pB-information>
0
</pB-information>
<pA-list>
<dB-1dot77/><dB-3/>
</pA-list>
</naics-active>
</DynamicDLTransmissionInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>108</id>
<criticality><ignore/></criticality>
<extensionValue>
<CoMPInformation>
<coMPInformationItem>
<SEQUENCE>
<coMPHypothesisSet>
<CoMPHypothesisSetItem>
<coMPCellID>
<pLMN-Identity>02 F8 31</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</coMPCellID>
<coMPHypothesis>
1110000000000111101010110101
</coMPHypothesis>
</CoMPHypothesisSetItem>
</coMPHypothesisSet>
<benefitMetric>
-99
</benefitMetric>
</SEQUENCE>
<SEQUENCE>
<coMPHypothesisSet>
<CoMPHypothesisSetItem>
<coMPCellID>
<pLMN-Identity>02 F8 32</pLMN-Identity>
<eUTRANcellIdentifier>
0000000001100111101010110101
</eUTRANcellIdentifier>
</coMPCellID>
<coMPHypothesis>
1110001100000111101010110101
</coMPHypothesis>
</CoMPHypothesisSetItem>
</coMPHypothesisSet>
<benefitMetric>
30
</benefitMetric>
</SEQUENCE>
</coMPInformationItem>
<coMPInformationStartTime>
<SEQUENCE>
<startSFN>
50
</startSFN>
<startSubframeNumber>
3
</startSubframeNumber>
</SEQUENCE>
</coMPInformationStartTime>
</CoMPInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
</iE-Extensions>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F9 10</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</ul-InterferenceOverloadIndication>
<ul-HighInterferenceIndicationInfo>
<UL-HighInterferenceIndicationInfo-Item>
<target-Cell-ID>
<pLMN-Identity>02 F8 10</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</target-Cell-ID>
<ul-interferenceindication>
1010101010101010
</ul-interferenceindication>
</UL-HighInterferenceIndicationInfo-Item>
</ul-HighInterferenceIndicationInfo>
<relativeNarrowbandTxPower>
<rNTP-PerPRB>
11001100
</rNTP-PerPRB>
<rNTP-Threshold>
<minusSix/>
</rNTP-Threshold>
<numberOfCellSpecificAntennaPorts>
<two/>
</numberOfCellSpecificAntennaPorts>
<p-B>2 </p-B>
<pDCCH-InterferenceImpact>1</pDCCH-InterferenceImpact>
</relativeNarrowbandTxPower>
<iE-Extensions>
<CellInformation-Item-ExtIEs>
<id>61</id>
<criticality><ignore/></criticality>
<extensionValue>
<ABSInformation>
<fdd>
<abs-pattern-info>
0000011111000001111100000111110000011111
</abs-pattern-info>
<numberOfCellSpecificAntennaPorts>
<one/>
</numberOfCellSpecificAntennaPorts>
<measurement-subset>
1000001111100000111110000011110000001111
</measurement-subset>
</fdd>
</ABSInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>62</id>
<criticality><ignore/></criticality>
<extensionValue>
<InvokeIndication>
<abs-information/>
</InvokeIndication>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>99</id>
<criticality><ignore/></criticality>
<extensionValue>
<SubframeAssignment>
<sa6/>
</SubframeAssignment>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>100</id>
<criticality><ignore/></criticality>
<extensionValue>
<ExtendedULInterferenceOverloadInfo>
<associatedSubframes>
11001
</associatedSubframes>
<extended-ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</extended-ul-InterferenceOverloadIndication>
</ExtendedULInterferenceOverloadInfo>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>106</id>
<criticality><ignore/></criticality>
<extensionValue>
<DynamicDLTransmissionInformation>
<naics-active>
<transmissionModes>
11001101
</transmissionModes>
<pB-information>
0
</pB-information>
<pA-list>
<dB-1dot77/><dB-3/>
</pA-list>
</naics-active>
</DynamicDLTransmissionInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>108</id>
<criticality><ignore/></criticality>
<extensionValue>
<CoMPInformation>
<coMPInformationItem>
<SEQUENCE>
<coMPHypothesisSet>
<CoMPHypothesisSetItem>
<coMPCellID>
<pLMN-Identity>02 F8 11</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</coMPCellID>
<coMPHypothesis>
1110000000000111101010110101
</coMPHypothesis>
</CoMPHypothesisSetItem>
</coMPHypothesisSet>
<benefitMetric>
-99
</benefitMetric>
</SEQUENCE>
<SEQUENCE>
<coMPHypothesisSet>
<CoMPHypothesisSetItem>
<coMPCellID>
<pLMN-Identity>02 F8 12</pLMN-Identity>
<eUTRANcellIdentifier>
0000000001100111101010110101
</eUTRANcellIdentifier>
</coMPCellID>
<coMPHypothesis>
1110001100000111101010110101
</coMPHypothesis>
</CoMPHypothesisSetItem>
</coMPHypothesisSet>
<benefitMetric>
30
</benefitMetric>
</SEQUENCE>
</coMPInformationItem>
<coMPInformationStartTime>
<SEQUENCE>
<startSFN>
50
</startSFN>
<startSubframeNumber>
3
</startSubframeNumber>
</SEQUENCE>
</coMPInformationStartTime>
</CoMPInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
</iE-Extensions>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
</CellInformation-List>
</value>
</LoadInformation-IEs>
</protocolIEs>
</LoadInformation>
</value>
</initiatingMessage>
</E2AP-PDU>

View File

@@ -0,0 +1,217 @@
<E2AP-PDU>
<initiatingMessage>
<procedureCode>2</procedureCode>
<criticality><ignore/></criticality>
<value>
<LoadInformation>
<protocolIEs>
<LoadInformation-IEs>
<id>6</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-List>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F8 29</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</ul-InterferenceOverloadIndication>
<ul-HighInterferenceIndicationInfo>
<UL-HighInterferenceIndicationInfo-Item>
<target-Cell-ID>
<pLMN-Identity>02 F8 30</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</target-Cell-ID>
<ul-interferenceindication>
1010101010101010
</ul-interferenceindication>
</UL-HighInterferenceIndicationInfo-Item>
</ul-HighInterferenceIndicationInfo>
<relativeNarrowbandTxPower>
<rNTP-PerPRB>
11001100
</rNTP-PerPRB>
<rNTP-Threshold>
<minusSix/>
</rNTP-Threshold>
<numberOfCellSpecificAntennaPorts>
<two/>
</numberOfCellSpecificAntennaPorts>
<p-B>2 </p-B>
<pDCCH-InterferenceImpact>1</pDCCH-InterferenceImpact>
<iE-Extensions>
<RelativeNarrowbandTxPower-ExtIEs>
<id>148</id>
<criticality><ignore/></criticality>
<extensionValue>
<EnhancedRNTP>
<enhancedRNTPBitmap>
1010101000111
</enhancedRNTPBitmap>
<rNTP-High-Power-Threshold>
<minusFour/>
</rNTP-High-Power-Threshold>
<enhancedRNTPStartTime>
<startSFN>
51
</startSFN>
<startSubframeNumber>
9
</startSubframeNumber>
</enhancedRNTPStartTime>
</EnhancedRNTP>
</extensionValue>
</RelativeNarrowbandTxPower-ExtIEs>
</iE-Extensions>
</relativeNarrowbandTxPower>
<iE-Extensions>
<CellInformation-Item-ExtIEs>
<id>61</id>
<criticality><ignore/></criticality>
<extensionValue>
<ABSInformation>
<fdd>
<abs-pattern-info>
0000011111000001111100000111110000011111
</abs-pattern-info>
<numberOfCellSpecificAntennaPorts>
<one/>
</numberOfCellSpecificAntennaPorts>
<measurement-subset>
1000001111100000111110000011110000001111
</measurement-subset>
</fdd>
</ABSInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>62</id>
<criticality><ignore/></criticality>
<extensionValue>
<InvokeIndication>
<abs-information/>
</InvokeIndication>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>99</id>
<criticality><ignore/></criticality>
<extensionValue>
<SubframeAssignment>
<sa6/>
</SubframeAssignment>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>100</id>
<criticality><ignore/></criticality>
<extensionValue>
<ExtendedULInterferenceOverloadInfo>
<associatedSubframes>
11001
</associatedSubframes>
<extended-ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</extended-ul-InterferenceOverloadIndication>
</ExtendedULInterferenceOverloadInfo>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>106</id>
<criticality><ignore/></criticality>
<extensionValue>
<DynamicDLTransmissionInformation>
<naics-active>
<transmissionModes>
11001101
</transmissionModes>
<pB-information>
0
</pB-information>
<pA-list>
<dB-1dot77/><dB-3/>
</pA-list>
</naics-active>
</DynamicDLTransmissionInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>108</id>
<criticality><ignore/></criticality>
<extensionValue>
<CoMPInformation>
<coMPInformationItem>
<SEQUENCE>
<coMPHypothesisSet>
<CoMPHypothesisSetItem>
<coMPCellID>
<pLMN-Identity>02 F8 31</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</coMPCellID>
<coMPHypothesis>
1110000000000111101010110101
</coMPHypothesis>
</CoMPHypothesisSetItem>
</coMPHypothesisSet>
<benefitMetric>
-99
</benefitMetric>
</SEQUENCE>
<SEQUENCE>
<coMPHypothesisSet>
<CoMPHypothesisSetItem>
<coMPCellID>
<pLMN-Identity>02 F8 32</pLMN-Identity>
<eUTRANcellIdentifier>
0000000001100111101010110101
</eUTRANcellIdentifier>
</coMPCellID>
<coMPHypothesis>
1110001100000111101010110101
</coMPHypothesis>
</CoMPHypothesisSetItem>
</coMPHypothesisSet>
<benefitMetric>
30
</benefitMetric>
</SEQUENCE>
</coMPInformationItem>
<coMPInformationStartTime>
<SEQUENCE>
<startSFN>
50
</startSFN>
<startSubframeNumber>
3
</startSubframeNumber>
</SEQUENCE>
</coMPInformationStartTime>
</CoMPInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
</iE-Extensions>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
</CellInformation-List>
</value>
</LoadInformation-IEs>
</protocolIEs>
</LoadInformation>
</value>
</initiatingMessage>
</E2AP-PDU>

View File

@@ -0,0 +1,388 @@
<E2AP-PDU>
<initiatingMessage>
<procedureCode>2</procedureCode>
<criticality><ignore/></criticality>
<value>
<LoadInformation>
<protocolIEs>
<LoadInformation-IEs>
<id>6</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-List>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F8 29</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</ul-InterferenceOverloadIndication>
<ul-HighInterferenceIndicationInfo>
<UL-HighInterferenceIndicationInfo-Item>
<target-Cell-ID>
<pLMN-Identity>02 F8 30</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</target-Cell-ID>
<ul-interferenceindication>
1010101010101010
</ul-interferenceindication>
</UL-HighInterferenceIndicationInfo-Item>
</ul-HighInterferenceIndicationInfo>
<relativeNarrowbandTxPower>
<rNTP-PerPRB>
11001100
</rNTP-PerPRB>
<rNTP-Threshold>
<minusSix/>
</rNTP-Threshold>
<numberOfCellSpecificAntennaPorts>
<two/>
</numberOfCellSpecificAntennaPorts>
<p-B>2 </p-B>
<pDCCH-InterferenceImpact>1</pDCCH-InterferenceImpact>
<iE-Extensions>
<RelativeNarrowbandTxPower-ExtIEs>
<id>148</id>
<criticality><ignore/></criticality>
<extensionValue>
<EnhancedRNTP>
<enhancedRNTPBitmap>
1010101000111
</enhancedRNTPBitmap>
<rNTP-High-Power-Threshold>
<minusFour/>
</rNTP-High-Power-Threshold>
<enhancedRNTPStartTime>
<startSFN>
51
</startSFN>
<startSubframeNumber>
9
</startSubframeNumber>
</enhancedRNTPStartTime>
</EnhancedRNTP>
</extensionValue>
</RelativeNarrowbandTxPower-ExtIEs>
</iE-Extensions>
</relativeNarrowbandTxPower>
<iE-Extensions>
<CellInformation-Item-ExtIEs>
<id>61</id>
<criticality><ignore/></criticality>
<extensionValue>
<ABSInformation>
<fdd>
<abs-pattern-info>
0000011111000001111100000111110000011111
</abs-pattern-info>
<numberOfCellSpecificAntennaPorts>
<one/>
</numberOfCellSpecificAntennaPorts>
<measurement-subset>
1000001111100000111110000011110000001111
</measurement-subset>
</fdd>
</ABSInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>62</id>
<criticality><ignore/></criticality>
<extensionValue>
<InvokeIndication>
<abs-information/>
</InvokeIndication>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>99</id>
<criticality><ignore/></criticality>
<extensionValue>
<SubframeAssignment>
<sa6/>
</SubframeAssignment>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>100</id>
<criticality><ignore/></criticality>
<extensionValue>
<ExtendedULInterferenceOverloadInfo>
<associatedSubframes>
11001
</associatedSubframes>
<extended-ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</extended-ul-InterferenceOverloadIndication>
</ExtendedULInterferenceOverloadInfo>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>106</id>
<criticality><ignore/></criticality>
<extensionValue>
<DynamicDLTransmissionInformation>
<naics-active>
<transmissionModes>
11001101
</transmissionModes>
<pB-information>
0
</pB-information>
<pA-list>
<dB-1dot77/><dB-3/>
</pA-list>
</naics-active>
</DynamicDLTransmissionInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>108</id>
<criticality><ignore/></criticality>
<extensionValue>
<CoMPInformation>
<coMPInformationItem>
<SEQUENCE>
<coMPHypothesisSet>
<CoMPHypothesisSetItem>
<coMPCellID>
<pLMN-Identity>02 F8 31</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</coMPCellID>
<coMPHypothesis>
1110000000000111101010110101
</coMPHypothesis>
</CoMPHypothesisSetItem>
</coMPHypothesisSet>
<benefitMetric>
-99
</benefitMetric>
</SEQUENCE>
<SEQUENCE>
<coMPHypothesisSet>
<CoMPHypothesisSetItem>
<coMPCellID>
<pLMN-Identity>02 F8 32</pLMN-Identity>
<eUTRANcellIdentifier>
0000000001100111101010110101
</eUTRANcellIdentifier>
</coMPCellID>
<coMPHypothesis>
1110001100000111101010110101
</coMPHypothesis>
</CoMPHypothesisSetItem>
</coMPHypothesisSet>
<benefitMetric>
30
</benefitMetric>
</SEQUENCE>
</coMPInformationItem>
<coMPInformationStartTime>
<SEQUENCE>
<startSFN>
50
</startSFN>
<startSubframeNumber>
3
</startSubframeNumber>
</SEQUENCE>
</coMPInformationStartTime>
</CoMPInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
</iE-Extensions>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
<ProtocolIE-Single-Container>
<id>7</id>
<criticality><ignore/></criticality>
<value>
<CellInformation-Item>
<cell-ID>
<pLMN-Identity>02 F9 10</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</cell-ID>
<ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</ul-InterferenceOverloadIndication>
<ul-HighInterferenceIndicationInfo>
<UL-HighInterferenceIndicationInfo-Item>
<target-Cell-ID>
<pLMN-Identity>02 F8 10</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</target-Cell-ID>
<ul-interferenceindication>
1010101010101010
</ul-interferenceindication>
</UL-HighInterferenceIndicationInfo-Item>
</ul-HighInterferenceIndicationInfo>
<relativeNarrowbandTxPower>
<rNTP-PerPRB>
11001100
</rNTP-PerPRB>
<rNTP-Threshold>
<minusSix/>
</rNTP-Threshold>
<numberOfCellSpecificAntennaPorts>
<two/>
</numberOfCellSpecificAntennaPorts>
<p-B>2 </p-B>
<pDCCH-InterferenceImpact>1</pDCCH-InterferenceImpact>
</relativeNarrowbandTxPower>
<iE-Extensions>
<CellInformation-Item-ExtIEs>
<id>61</id>
<criticality><ignore/></criticality>
<extensionValue>
<ABSInformation>
<fdd>
<abs-pattern-info>
0000011111000001111100000111110000011111
</abs-pattern-info>
<numberOfCellSpecificAntennaPorts>
<one/>
</numberOfCellSpecificAntennaPorts>
<measurement-subset>
1000001111100000111110000011110000001111
</measurement-subset>
</fdd>
</ABSInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>62</id>
<criticality><ignore/></criticality>
<extensionValue>
<InvokeIndication>
<abs-information/>
</InvokeIndication>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>99</id>
<criticality><ignore/></criticality>
<extensionValue>
<SubframeAssignment>
<sa6/>
</SubframeAssignment>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>100</id>
<criticality><ignore/></criticality>
<extensionValue>
<ExtendedULInterferenceOverloadInfo>
<associatedSubframes>
11001
</associatedSubframes>
<extended-ul-InterferenceOverloadIndication>
<high-interference/><medium-interference/><low-interference/>
</extended-ul-InterferenceOverloadIndication>
</ExtendedULInterferenceOverloadInfo>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>106</id>
<criticality><ignore/></criticality>
<extensionValue>
<DynamicDLTransmissionInformation>
<naics-active>
<transmissionModes>
11001101
</transmissionModes>
<pB-information>
0
</pB-information>
<pA-list>
<dB-1dot77/><dB-3/>
</pA-list>
</naics-active>
</DynamicDLTransmissionInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
<CellInformation-Item-ExtIEs>
<id>108</id>
<criticality><ignore/></criticality>
<extensionValue>
<CoMPInformation>
<coMPInformationItem>
<SEQUENCE>
<coMPHypothesisSet>
<CoMPHypothesisSetItem>
<coMPCellID>
<pLMN-Identity>02 F8 11</pLMN-Identity>
<eUTRANcellIdentifier>
0000000000000111101010110101
</eUTRANcellIdentifier>
</coMPCellID>
<coMPHypothesis>
1110000000000111101010110101
</coMPHypothesis>
</CoMPHypothesisSetItem>
</coMPHypothesisSet>
<benefitMetric>
-99
</benefitMetric>
</SEQUENCE>
<SEQUENCE>
<coMPHypothesisSet>
<CoMPHypothesisSetItem>
<coMPCellID>
<pLMN-Identity>02 F8 12</pLMN-Identity>
<eUTRANcellIdentifier>
0000000001100111101010110101
</eUTRANcellIdentifier>
</coMPCellID>
<coMPHypothesis>
1110001100000111101010110101
</coMPHypothesis>
</CoMPHypothesisSetItem>
</coMPHypothesisSet>
<benefitMetric>
30
</benefitMetric>
</SEQUENCE>
</coMPInformationItem>
<coMPInformationStartTime>
<SEQUENCE>
<startSFN>
50
</startSFN>
<startSubframeNumber>
3
</startSubframeNumber>
</SEQUENCE>
</coMPInformationStartTime>
</CoMPInformation>
</extensionValue>
</CellInformation-Item-ExtIEs>
</iE-Extensions>
</CellInformation-Item>
</value>
</ProtocolIE-Single-Container>
</CellInformation-List>
</value>
</LoadInformation-IEs>
</protocolIEs>
</LoadInformation>
</value>
</initiatingMessage>
</E2AP-PDU>

View File

@@ -0,0 +1,84 @@
/*
* 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 <errno.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <asn1codec_utils.h>
int
main(int argc, char* argv[])
{
char responseErrorBuf[1<< 16];
uint8_t buf[1 << 16];
size_t count = fread(buf, 1, sizeof(buf), stdin);
if (count == sizeof(buf)) {
printf("#%s failed. Input is too big\n", __func__);
exit(-1);
}
if (!feof(stdin)){
printf("#%s failed. Error while reading input: %s\n", __func__, strerror(errno));
exit(-1);
}
E2AP_PDU_t *pdu = calloc(1, sizeof(E2AP_PDU_t));
if (!unpack_pdu_aux(pdu, count, buf ,sizeof(responseErrorBuf), responseErrorBuf,ATS_BASIC_XER)){
printf("#%s failed. Unpacking error %s\n", __func__, responseErrorBuf);
exit(-1);
}
responseErrorBuf[0] = 0;
asn1_pdu_printer(pdu, sizeof(responseErrorBuf), responseErrorBuf);
printf("#%s: %s\n", __func__, responseErrorBuf);
{
size_t per_packed_buf_size;
uint8_t per_packed_buf[1 << 16];
responseErrorBuf[0] = 0;
per_packed_buf_size = sizeof(per_packed_buf);
if (!pack_pdu_aux(pdu,&per_packed_buf_size, per_packed_buf,sizeof(responseErrorBuf), responseErrorBuf, ATS_ALIGNED_BASIC_PER)){
printf("#%s failed. Packing error %s\n", __func__, responseErrorBuf);
exit(-1);
}
ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
printf("#%s packed size:%zu\nPayload:\n", __func__, per_packed_buf_size);
for (size_t i= 0; i < per_packed_buf_size; i++)
printf("%02x",per_packed_buf[i]);
printf("\n");
pdu =calloc(1, sizeof(E2AP_PDU_t));
if (!unpack_pdu_aux(pdu, per_packed_buf_size, per_packed_buf ,sizeof(responseErrorBuf), responseErrorBuf,ATS_ALIGNED_BASIC_PER)){
printf("#%s failed. Packing error %s\n", __func__, responseErrorBuf);
}
responseErrorBuf[0] = 0;
asn1_pdu_printer(pdu, sizeof(responseErrorBuf), responseErrorBuf);
ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
printf("#%s: %s\n", __func__, responseErrorBuf);
}
exit(0);
}

View File

@@ -0,0 +1,70 @@
/*
* 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 <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <x2reset_request_wrapper.h>
void test_build_pack_x2reset_request();
void test_unpack(void);
int
main(int argc, char* argv[])
{
test_build_pack_x2reset_request();
exit(0);
}
void test_build_pack_x2reset_request(){
size_t error_buf_size = 8192;
size_t packed_buf_size = 4096;
unsigned char responseDataBuf[packed_buf_size];
char responseErrorBuf[error_buf_size];
bool result;
E2AP_PDU_t *pdu;
/**********************************************************************************/
packed_buf_size = 4096;
result = build_pack_x2reset_request(Cause_PR_radioNetwork,CauseRadioNetwork_time_critical_handover,
&packed_buf_size, responseDataBuf, error_buf_size, responseErrorBuf);
if (!result) {
printf("#%s failed. Packing error %s\n", __func__, responseErrorBuf);
return;
}
printf("#%s packed size:%lu\nPayload:\n", __func__, packed_buf_size);
for (size_t i = 0; i < packed_buf_size; ++i)
printf("%02x",responseDataBuf[i]);
printf("\n");
pdu =calloc(1, sizeof(E2AP_PDU_t));
if (!unpack_pdu_aux(pdu, packed_buf_size, responseDataBuf,error_buf_size, responseErrorBuf,ATS_ALIGNED_BASIC_PER)){
printf("#%s failed. Packing error %s\n", __func__, responseErrorBuf);
}
responseErrorBuf[0] = 0;
asn1_pdu_printer(pdu, sizeof(responseErrorBuf), responseErrorBuf);
printf("#%s: %s\n", __func__, responseErrorBuf);
}

View File

@@ -0,0 +1,56 @@
/*
* 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 <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <x2reset_response_wrapper.h>
void test_build_pack_x2reset_response();
void test_unpack(void);
int
main(int argc, char* argv[])
{
test_build_pack_x2reset_response();
exit(0);
}
void test_build_pack_x2reset_response(){
size_t error_buf_size = 8192;
size_t packed_buf_size = 4096;
unsigned char responseDataBuf[packed_buf_size];
char responseErrorBuf[error_buf_size];
bool result = build_pack_x2reset_response(&packed_buf_size, responseDataBuf, error_buf_size, responseErrorBuf);
if (!result) {
printf("#test_build_pack_x2reset_response failed. Packing error %s\n", responseErrorBuf);
return;
}
printf("x2reset response packed size:%lu\nPayload:\n", packed_buf_size);
for (size_t i = 0; i < packed_buf_size; ++i)
printf("%02x",responseDataBuf[i]);
printf("\n");
}

View File

@@ -0,0 +1,153 @@
/*
* 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 <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <x2setup_request_wrapper.h>
void test_build_pack_x2setup_request();
void test_build_pack_endc_x2setup_request();
void test_unpack(void);
int
main(int argc, char* argv[])
{
test_build_pack_x2setup_request();
test_build_pack_endc_x2setup_request();
test_unpack();
exit(0);
}
void test_build_pack_x2setup_request(){
size_t error_buf_size = 8192;
size_t packed_buf_size = 4096;
unsigned char responseDataBuf[packed_buf_size];
char responseErrorBuf[error_buf_size];
uint8_t pLMN_Identity[] = {0xa,0xb,0xc};
uint8_t ric_flag[] = {0xa,0xd,0xe};
uint8_t eNBId[] = {0xab, 0xcd, 0x7/*0xf,0x7,0x2*/};
bool result;
E2AP_PDU_t *pdu;
unsigned int bitqty = 21;
/**********************************************************************************/
printf("\n----- ATS_ALIGNED_BASIC_PER ----\n");
packed_buf_size = 4096;
result = build_pack_x2setup_request_aux(
pLMN_Identity, eNBId, bitqty , ric_flag,
&packed_buf_size, responseDataBuf, error_buf_size, responseErrorBuf,ATS_ALIGNED_BASIC_PER);
if (!result) {
printf("#%s failed. Packing error %s\n", __func__, responseErrorBuf);
return;
}
printf("#%s packed size:%lu\nPayload:\n", __func__, packed_buf_size);
for (size_t i = 0; i < packed_buf_size; ++i)
printf("%02x",responseDataBuf[i]);
printf("\n");
pdu =calloc(1, sizeof(E2AP_PDU_t));
if (!unpack_pdu_aux(pdu, packed_buf_size, responseDataBuf,error_buf_size, responseErrorBuf,ATS_ALIGNED_BASIC_PER)){
printf("#%s failed. Packing error %s\n", __func__, responseErrorBuf);
}
responseErrorBuf[0] = 0;
asn1_pdu_printer(pdu, sizeof(responseErrorBuf), responseErrorBuf);
printf("#%s: 21%s\n", __func__, responseErrorBuf);
printf("\n----- ATS_UNALIGNED_BASIC_PER ----\n");
packed_buf_size = 4096;
result = build_pack_x2setup_request_aux(
pLMN_Identity, eNBId, bitqty , ric_flag,
&packed_buf_size, responseDataBuf, error_buf_size, responseErrorBuf,ATS_UNALIGNED_BASIC_PER);
if (!result) {
printf("#%s failed. Packing error %s\n", __func__, responseErrorBuf);
return;
}
printf("#%s packed size:%lu\nPayload:\n", __func__, packed_buf_size);
for (size_t i = 0; i < packed_buf_size; ++i)
printf("%02x",responseDataBuf[i]);
printf("\n");
pdu =calloc(1, sizeof(E2AP_PDU_t));
if (!unpack_pdu_aux(pdu, packed_buf_size, responseDataBuf,error_buf_size, responseErrorBuf,ATS_UNALIGNED_BASIC_PER)){
printf("#%s failed. Packing error %s\n", __func__, responseErrorBuf);
}
responseErrorBuf[0] = 0;
asn1_pdu_printer(pdu, sizeof(responseErrorBuf), responseErrorBuf);
printf("#%s: 21%s\n", __func__, responseErrorBuf);
}
void test_build_pack_endc_x2setup_request(){
size_t error_buf_size = 8192;
size_t packed_buf_size = 4096;
unsigned char responseDataBuf[packed_buf_size];
uint8_t pLMN_Identity[] = {0xa,0xb,0xc};
uint8_t ric_flag[] = {0xa,0xd,0xe};
uint8_t eNBId[] = {0xf,0x7,0x2};
unsigned int bitqty=18;
char responseErrorBuf[error_buf_size];
bool result = build_pack_endc_x2setup_request(
pLMN_Identity, eNBId, bitqty , ric_flag,
&packed_buf_size, responseDataBuf, error_buf_size, responseErrorBuf);
if (!result) {
printf("#%s. Packing error %s\n", __func__, responseErrorBuf);
return;
}
printf("#%s packed size:%lu\nPayload:\n", __func__, packed_buf_size);
for (size_t i = 0; i < packed_buf_size; ++i)
printf("%02x",responseDataBuf[i]);
printf("\n");
}
void test_unpack(void)
{
return; // No need for now.
char responseErrorBuf[8192];
printf("\n--------------- case #1\n\n");
{
uint8_t buf[] = {0x00,0x24,0x00,0x32,0x00,0x00,0x01,0x00,0xf4,0x00,0x2b,0x00,0x00,0x02,0x00,0x15,0x00,0x09,0x00,0xbb,0xbc,0xcc,0x80,0x03,0xab,0xcd,0x80,0x00,0xfa,0x00,0x17,0x00,0x00,0x01,0xf7,0x00,0xbb,0xbc,0xcc,0xab,0xcd,0x80,0x00,0x00,0x00,0xbb,0xbc,0xcc,0x00,0x00,0x00,0x00,0x00,0x01};
E2AP_PDU_t *pdu =calloc(1, sizeof(E2AP_PDU_t));
if (!unpack_pdu_aux(pdu, sizeof(buf), buf ,sizeof(responseErrorBuf), responseErrorBuf,ATS_ALIGNED_BASIC_PER)){
printf("#%s failed. Packing error %s\n", __func__, responseErrorBuf);
}
responseErrorBuf[0] = 0;
asn1_pdu_printer(pdu, sizeof(responseErrorBuf), responseErrorBuf);
printf("#%s: %s\n", __func__, responseErrorBuf);
}
printf("\n--------------- case #2\n\n");
{
uint8_t buf[] = {0x00,0x06,0x00,0x2b,0x00,0x00,0x02,0x00,0x15,0x00,0x09,0x00,0x0a,0x0b,0x0c,0x81,0x03,0xab,0xcd,0xc0,0x00,0x14,0x00,0x17,0x00,0x00,0x01,0xf7,0x00,0x0a,0x0b,0x0c,0xab,0xcd,0xc0,0x00,0x00,0x00,0x0a,0x0d,0x0e,0x00,0x00,0x00,0x00,0x00,0x01};
E2AP_PDU_t *pdu =calloc(1, sizeof(E2AP_PDU_t));
if (!unpack_pdu_aux(pdu, sizeof(buf), buf ,sizeof(responseErrorBuf), responseErrorBuf,ATS_ALIGNED_BASIC_PER)){
printf("#%s failed. Packing error %s\n", __func__, responseErrorBuf);
}
responseErrorBuf[0] = 0;
asn1_pdu_printer(pdu, sizeof(responseErrorBuf), responseErrorBuf);
printf("#%s: %s\n", __func__, responseErrorBuf);
}
}

View File

@@ -0,0 +1,98 @@
/*
* 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 <string.h>
#include <errno.h>
#undef NDEBUG
#include <assert.h>
#include <ProcedureCode.h>
#include <InitiatingMessage.h>
#include <ProtocolIE-ID.h>
#include <x2reset_request_wrapper.h>
/*
* Build and pack a reset request.
* Abort the process on allocation failure.
* packed_buf_size - in: size of packed_buf; out: number of chars used.
*/
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)
{
return build_pack_x2reset_request_aux(cause_group, cause_value, packed_buf_size, packed_buf,err_buf_size,err_buf,ATS_ALIGNED_BASIC_PER);
}
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)
{
bool rc = true;
E2AP_PDU_t *pdu = calloc(1, sizeof(E2AP_PDU_t));
InitiatingMessage_t *initiatingMessage = calloc(1, sizeof(InitiatingMessage_t));
ResetRequest_t *resetRequest;
assert(pdu != 0);
assert(initiatingMessage != 0);
pdu->present = E2AP_PDU_PR_initiatingMessage;
pdu->choice.initiatingMessage = initiatingMessage;
initiatingMessage->procedureCode = ProcedureCode_id_reset;
initiatingMessage->criticality = Criticality_reject;
initiatingMessage->value.present = InitiatingMessage__value_PR_ResetRequest;
resetRequest = &initiatingMessage->value.choice.ResetRequest;
ResetRequest_IEs_t *cause_ie = calloc(1, sizeof(ResetRequest_IEs_t));
assert(cause_ie != 0);
ASN_SEQUENCE_ADD(&resetRequest->protocolIEs, cause_ie);
cause_ie->id = ProtocolIE_ID_id_Cause;
cause_ie->criticality = Criticality_ignore;
cause_ie->value.present = ResetRequest_IEs__value_PR_Cause;
Cause_t *cause = &cause_ie->value.choice.Cause;
cause->present = cause_group;
switch (cause->present) {
case Cause_PR_radioNetwork:
cause->choice.radioNetwork = cause_value;
break;
case Cause_PR_transport:
cause->choice.transport = cause_value;
break;
case Cause_PR_protocol:
cause->choice.protocol = cause_value;
break;
case Cause_PR_misc:
cause->choice.misc = cause_value;
break;
default:
cause->choice.misc = CauseMisc_om_intervention;
break;
}
rc = pack_pdu_aux(pdu, packed_buf_size, packed_buf,err_buf_size, err_buf,syntax);
ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
return rc;
}

View File

@@ -0,0 +1,84 @@
/*
* 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 <string.h>
#include <errno.h>
#undef NDEBUG
#include <assert.h>
#include <asn_application.h>
#include <E2AP-PDU.h>
#include <ProcedureCode.h>
#include <SuccessfulOutcome.h>
#include <ProtocolIE-ID.h>
#include <ProtocolIE-Field.h>
#include <x2reset_response_wrapper.h>
/*
* Build and pack a reset response.
* Abort the process on allocation failure.
* packed_buf_size - in: size of packed_buf; out: number of chars used.
*/
bool
build_pack_x2reset_response(size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf)
{
bool rc = true;
E2AP_PDU_t *pdu = calloc(1, sizeof(E2AP_PDU_t));
ResetResponse_t *resetResponse;
SuccessfulOutcome_t *successfulOutcome = calloc(1, sizeof(SuccessfulOutcome_t));
ResetResponse_IEs_t *resetResponse_ie = calloc(1, sizeof(ResetResponse_IEs_t));
assert(pdu != 0);
assert(successfulOutcome != 0);
assert(resetResponse_ie != 0);
pdu->present = E2AP_PDU_PR_successfulOutcome;
pdu->choice.successfulOutcome = successfulOutcome;
successfulOutcome->procedureCode = ProcedureCode_id_reset;
successfulOutcome->criticality = Criticality_reject;
successfulOutcome->value.present = SuccessfulOutcome__value_PR_ResetResponse;
resetResponse = &successfulOutcome->value.choice.ResetResponse;
resetResponse_ie->id = ProtocolIE_ID_id_CriticalityDiagnostics;
resetResponse_ie->criticality = Criticality_ignore;
resetResponse_ie->value.present = ResetResponse_IEs__value_PR_CriticalityDiagnostics;
ASN_SEQUENCE_ADD(&resetResponse->protocolIEs, resetResponse_ie);
CriticalityDiagnostics_IE_List_t *critList = calloc(1, sizeof(CriticalityDiagnostics_IE_List_t));
assert(critList != 0);
CriticalityDiagnostics_IE_List__Member *member= calloc(1, sizeof(CriticalityDiagnostics_IE_List__Member));
assert(member != 0);
ASN_SEQUENCE_ADD(critList ,member);
ASN_SEQUENCE_ADD(resetResponse_ie->value.choice.CriticalityDiagnostics.iEsCriticalityDiagnostics, critList);
rc = per_pack_pdu(pdu, packed_buf_size, packed_buf,err_buf_size, err_buf);
ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
return rc;
}

View File

@@ -0,0 +1,308 @@
/*
* 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 <string.h>
#include <errno.h>
#undef NDEBUG
#include <assert.h>
#include <asn_application.h>
#include <E2AP-PDU.h>
#include <ProcedureCode.h>
#include <InitiatingMessage.h>
#include <X2SetupRequest.h>
#include <GlobalENB-ID.h>
#include <PLMN-Identity.h>
#include <ENB-ID.h>
#include <FDD-Info.h>
#include <ServedCells.h>
#include <ProtocolIE-ID.h>
#include <ProtocolIE-Field.h>
#include <x2setup_request_wrapper.h>
static void assignPLMN_Identity (PLMN_Identity_t *pLMN_Identity, uint8_t const* pLMNId);
static void assignENB_ID(GlobalENB_ID_t *globalENB_ID,uint8_t const* eNBId, unsigned int bitqty);
static void assignServedCell_Information(ServedCell_Information_t *servedCell_Information,uint8_t const* pLMN_Identity, uint8_t const* eNBId, unsigned int bitqty,uint8_t const *ric_flag);
/*
* Build and pack X2 setup request.
* Abort the process on allocation failure.
* packed_buf_size - in: size of packed_buf; out: number of chars used.
*/
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
)
{
return build_pack_x2setup_request_aux(
pLMN_Identity, eNBId, bitqty, ric_flag,
packed_buf_size, packed_buf,err_buf_size,err_buf,ATS_ALIGNED_BASIC_PER);
}
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 rc = true;
E2AP_PDU_t *pdu = calloc(1, sizeof(E2AP_PDU_t));
InitiatingMessage_t *initiatingMessage = calloc(1, sizeof(InitiatingMessage_t));
X2SetupRequest_t *x2SetupRequest;
assert(pdu != 0);
assert(initiatingMessage != 0);
pdu->present = E2AP_PDU_PR_initiatingMessage;
pdu->choice.initiatingMessage = initiatingMessage;
initiatingMessage->procedureCode = ProcedureCode_id_x2Setup;
initiatingMessage->criticality = Criticality_reject;
initiatingMessage->value.present = InitiatingMessage__value_PR_X2SetupRequest;
x2SetupRequest = &initiatingMessage->value.choice.X2SetupRequest;
X2SetupRequest_IEs_t *globalENB_ID_ie = calloc(1, sizeof(X2SetupRequest_IEs_t));
assert(globalENB_ID_ie != 0);
ASN_SEQUENCE_ADD(&x2SetupRequest->protocolIEs, globalENB_ID_ie);
globalENB_ID_ie->id = ProtocolIE_ID_id_GlobalENB_ID;
globalENB_ID_ie->criticality = Criticality_reject;
globalENB_ID_ie->value.present = X2SetupRequest_IEs__value_PR_GlobalENB_ID;
GlobalENB_ID_t *globalENB_ID = &globalENB_ID_ie->value.choice.GlobalENB_ID;
assignPLMN_Identity(&globalENB_ID->pLMN_Identity, pLMN_Identity);
assignENB_ID(globalENB_ID, eNBId, bitqty);
X2SetupRequest_IEs_t *servedCells_ie = calloc(1, sizeof(X2SetupRequest_IEs_t));
assert(servedCells_ie != 0);
ASN_SEQUENCE_ADD(&x2SetupRequest->protocolIEs, servedCells_ie);
servedCells_ie->id = ProtocolIE_ID_id_ServedCells;
servedCells_ie->criticality = Criticality_reject;
servedCells_ie->value.present = X2SetupRequest_IEs__value_PR_ServedCells;
ServedCells__Member *servedCells__Member = calloc(1,sizeof(ServedCells__Member));
assert(servedCells__Member !=0);
ASN_SEQUENCE_ADD(&servedCells_ie->value.choice.ServedCells, servedCells__Member);
assignServedCell_Information(&servedCells__Member->servedCellInfo, pLMN_Identity,eNBId, bitqty,ric_flag);
rc = pack_pdu_aux(pdu, packed_buf_size, packed_buf,err_buf_size, err_buf,syntax);
ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
return rc;
}
static void assignPLMN_Identity (PLMN_Identity_t *pLMN_Identity, uint8_t const* pLMNId)
{
pLMN_Identity->size = pLMN_Identity_size;
pLMN_Identity->buf = calloc(1,pLMN_Identity->size);
assert(pLMN_Identity->buf != 0);
memcpy(pLMN_Identity->buf, pLMNId, pLMN_Identity->size);
}
/*
* Calculate and assign the value of ENB_ID.
* Abort the process on allocation failure.
*/
static void assignENB_ID(GlobalENB_ID_t *globalENB_ID,uint8_t const* eNBId, unsigned int bitqty)
{
size_t size_in_bytes = (bitqty / 8) + ((bitqty % 8) > 0);
int unused_bits = 8 - (bitqty % 8);
uint8_t *tbuf;
switch (bitqty){
case shortMacro_eNB_ID_size:
globalENB_ID->eNB_ID.present = ENB_ID_PR_short_Macro_eNB_ID;
globalENB_ID->eNB_ID.choice.short_Macro_eNB_ID.size = size_in_bytes;
globalENB_ID->eNB_ID.choice.short_Macro_eNB_ID.bits_unused = unused_bits;
tbuf = globalENB_ID->eNB_ID.choice.short_Macro_eNB_ID.buf = calloc(1, size_in_bytes);
assert(globalENB_ID->eNB_ID.choice.short_Macro_eNB_ID.buf != 0);
memcpy(globalENB_ID->eNB_ID.choice.short_Macro_eNB_ID.buf,eNBId, size_in_bytes) ;
tbuf[size_in_bytes - 1] <<= unused_bits;
break;
case macro_eNB_ID_size:
globalENB_ID->eNB_ID.present =ENB_ID_PR_macro_eNB_ID;
globalENB_ID->eNB_ID.choice.macro_eNB_ID.size = size_in_bytes;
globalENB_ID->eNB_ID.choice.macro_eNB_ID.bits_unused = unused_bits;
tbuf = globalENB_ID->eNB_ID.choice.macro_eNB_ID.buf = calloc(1, size_in_bytes);
assert(globalENB_ID->eNB_ID.choice.macro_eNB_ID.buf != 0);
memcpy(globalENB_ID->eNB_ID.choice.macro_eNB_ID.buf,eNBId,size_in_bytes);
tbuf[size_in_bytes - 1] <<= unused_bits;
break;
case longMacro_eNB_ID_size:
globalENB_ID->eNB_ID.present =ENB_ID_PR_long_Macro_eNB_ID;
globalENB_ID->eNB_ID.choice.long_Macro_eNB_ID.size = size_in_bytes;
globalENB_ID->eNB_ID.choice.long_Macro_eNB_ID.bits_unused = unused_bits;
tbuf = globalENB_ID->eNB_ID.choice.long_Macro_eNB_ID.buf = calloc(1, size_in_bytes);
assert(globalENB_ID->eNB_ID.choice.long_Macro_eNB_ID.buf != 0);
memcpy(globalENB_ID->eNB_ID.choice.long_Macro_eNB_ID.buf,eNBId,size_in_bytes);
tbuf[size_in_bytes - 1] <<= unused_bits;
break;
case home_eNB_ID_size:
globalENB_ID->eNB_ID.present = ENB_ID_PR_home_eNB_ID;
globalENB_ID->eNB_ID.choice.home_eNB_ID.size = size_in_bytes;
globalENB_ID->eNB_ID.choice.home_eNB_ID.bits_unused =unused_bits;
tbuf = globalENB_ID->eNB_ID.choice.home_eNB_ID.buf = calloc(1,size_in_bytes);
assert(globalENB_ID->eNB_ID.choice.home_eNB_ID.buf != 0);
memcpy(globalENB_ID->eNB_ID.choice.home_eNB_ID.buf,eNBId,size_in_bytes);
tbuf[size_in_bytes - 1] <<= unused_bits;
break;
default:
break;
}
}
/*
* Calculate and assign the value of ServedCell_Information.
* Abort the process on allocation failure.
*/
static void assignServedCell_Information(
ServedCell_Information_t *servedCell_Information,
uint8_t const* pLMN_Identity,
uint8_t const* eNBId,
unsigned int bitqty,
uint8_t const *ric_flag)
{
size_t size_in_bytes = (eUTRANcellIdentifier_size / 8) + ((eUTRANcellIdentifier_size % 8) > 0);
int unused_bits = 8 - (eUTRANcellIdentifier_size % 8);
size_t bitqty_size_in_bytes = (bitqty / 8) + ((bitqty % 8) > 0);
int bitqty_unused_bits = 8 - (bitqty % 8);
servedCell_Information->pCI = 503;
assignPLMN_Identity(&servedCell_Information->cellId.pLMN_Identity, pLMN_Identity);
servedCell_Information->cellId.eUTRANcellIdentifier.size = size_in_bytes;
servedCell_Information->cellId.eUTRANcellIdentifier.bits_unused = unused_bits;
servedCell_Information->cellId.eUTRANcellIdentifier.buf = calloc(1,servedCell_Information->cellId.eUTRANcellIdentifier.size);
assert(servedCell_Information->cellId.eUTRANcellIdentifier.buf != 0);
memcpy(servedCell_Information->cellId.eUTRANcellIdentifier.buf, eNBId, bitqty_size_in_bytes);
if (bitqty < eUTRANcellIdentifier_size) {
servedCell_Information->cellId.eUTRANcellIdentifier.buf[bitqty_size_in_bytes - 1] <<= bitqty_unused_bits;
} else {
servedCell_Information->cellId.eUTRANcellIdentifier.buf[size_in_bytes - 1] <<= unused_bits;
}
servedCell_Information->tAC.size = 2;
servedCell_Information->tAC.buf = calloc(1,servedCell_Information->tAC.size);
assert(servedCell_Information->tAC.buf != 0);
PLMN_Identity_t *broadcastPLMN_Identity = calloc(1, sizeof(PLMN_Identity_t));
assert(broadcastPLMN_Identity != 0);
ASN_SEQUENCE_ADD(&servedCell_Information->broadcastPLMNs, broadcastPLMN_Identity);
assignPLMN_Identity(broadcastPLMN_Identity, pLMN_Identity); //ric_flag: disabled because a real eNB rejects the message
servedCell_Information->eUTRA_Mode_Info.present= EUTRA_Mode_Info_PR_fDD;
servedCell_Information->eUTRA_Mode_Info.choice.fDD = calloc(1, sizeof(FDD_Info_t));
assert(servedCell_Information->eUTRA_Mode_Info.choice.fDD != 0);
servedCell_Information->eUTRA_Mode_Info.choice.fDD->uL_EARFCN = 0;
servedCell_Information->eUTRA_Mode_Info.choice.fDD->dL_EARFCN = 0;
servedCell_Information->eUTRA_Mode_Info.choice.fDD->uL_Transmission_Bandwidth = Transmission_Bandwidth_bw6;
servedCell_Information->eUTRA_Mode_Info.choice.fDD->dL_Transmission_Bandwidth = Transmission_Bandwidth_bw15;
}
/* Build and pack X2 setup request.
* Abort the process on allocation failure.
* packed_buf_size - in: size of packed_buf; out: number of chars used.
*/
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
)
{
return build_pack_endc_x2setup_request_aux(
pLMN_Identity, eNBId, bitqty, ric_flag,
packed_buf_size, packed_buf,err_buf_size, err_buf,ATS_ALIGNED_BASIC_PER
);
}
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
)
{
bool rc = true;
E2AP_PDU_t *pdu = calloc(1, sizeof(E2AP_PDU_t));
InitiatingMessage_t *initiatingMessage = calloc(1, sizeof(InitiatingMessage_t));
ENDCX2SetupRequest_t *endcX2SetupRequest;
assert(pdu != 0);
assert(initiatingMessage != 0);
pdu->present = E2AP_PDU_PR_initiatingMessage;
pdu->choice.initiatingMessage = initiatingMessage;
initiatingMessage->procedureCode = ProcedureCode_id_endcX2Setup;
initiatingMessage->criticality = Criticality_reject;
initiatingMessage->value.present = InitiatingMessage__value_PR_ENDCX2SetupRequest;
endcX2SetupRequest = &initiatingMessage->value.choice.ENDCX2SetupRequest;
ENDCX2SetupRequest_IEs_t *endcX2SetupRequest_IEs = calloc(1, sizeof(ENDCX2SetupRequest_IEs_t));
assert(endcX2SetupRequest_IEs != 0);
ASN_SEQUENCE_ADD(&endcX2SetupRequest->protocolIEs, endcX2SetupRequest_IEs);
endcX2SetupRequest_IEs->id = ProtocolIE_ID_id_InitiatingNodeType_EndcX2Setup;
endcX2SetupRequest_IEs->criticality = Criticality_reject;
endcX2SetupRequest_IEs->value.present = ENDCX2SetupRequest_IEs__value_PR_InitiatingNodeType_EndcX2Setup;
endcX2SetupRequest_IEs->value.choice.InitiatingNodeType_EndcX2Setup.present = InitiatingNodeType_EndcX2Setup_PR_init_eNB;
ProtocolIE_Container_119P85_t *enb_ENDCX2SetupReqIE_Container = calloc(1, sizeof(ProtocolIE_Container_119P85_t));
assert(enb_ENDCX2SetupReqIE_Container != 0);
endcX2SetupRequest_IEs->value.choice.InitiatingNodeType_EndcX2Setup.choice.init_eNB = (struct ProtocolIE_Container*)enb_ENDCX2SetupReqIE_Container;
ENB_ENDCX2SetupReqIEs_t *globalENB_ID_ie = calloc(1, sizeof(ENB_ENDCX2SetupReqIEs_t));
assert(globalENB_ID_ie != 0);
ASN_SEQUENCE_ADD(enb_ENDCX2SetupReqIE_Container,globalENB_ID_ie);
globalENB_ID_ie->id = ProtocolIE_ID_id_GlobalENB_ID;
globalENB_ID_ie->criticality = Criticality_reject;
globalENB_ID_ie->value.present = ENB_ENDCX2SetupReqIEs__value_PR_GlobalENB_ID;
GlobalENB_ID_t *globalENB_ID = &globalENB_ID_ie->value.choice.GlobalENB_ID;
assignPLMN_Identity(&globalENB_ID->pLMN_Identity, pLMN_Identity);
assignENB_ID(globalENB_ID, eNBId, bitqty);
ENB_ENDCX2SetupReqIEs_t *ServedEUTRAcellsENDCX2ManagementList_ie = calloc(1, sizeof(ENB_ENDCX2SetupReqIEs_t));
assert(ServedEUTRAcellsENDCX2ManagementList_ie != 0);
ASN_SEQUENCE_ADD(enb_ENDCX2SetupReqIE_Container, ServedEUTRAcellsENDCX2ManagementList_ie);
ServedEUTRAcellsENDCX2ManagementList_ie->id = ProtocolIE_ID_id_ServedEUTRAcellsENDCX2ManagementList;
ServedEUTRAcellsENDCX2ManagementList_ie->criticality = Criticality_reject;
ServedEUTRAcellsENDCX2ManagementList_ie->value.present = ENB_ENDCX2SetupReqIEs__value_PR_ServedEUTRAcellsENDCX2ManagementList;
ServedEUTRAcellsENDCX2ManagementList__Member *servedEUTRAcellsENDCX2ManagementList__Member = calloc(1, sizeof(ServedEUTRAcellsENDCX2ManagementList__Member));
assert(servedEUTRAcellsENDCX2ManagementList__Member != 0);
ASN_SEQUENCE_ADD(&ServedEUTRAcellsENDCX2ManagementList_ie->value.choice.ServedEUTRAcellsENDCX2ManagementList, servedEUTRAcellsENDCX2ManagementList__Member);
assignServedCell_Information(&servedEUTRAcellsENDCX2ManagementList__Member->servedEUTRACellInfo, pLMN_Identity, eNBId, bitqty,ric_flag);
rc = pack_pdu_aux(pdu, packed_buf_size, packed_buf,err_buf_size, err_buf, syntax);
ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
return rc;
}