Commit 35d6cb70 authored by Roberto Louro Magueta's avatar Roberto Louro Magueta

Revert "Temporary commit (will be reverted)"

This reverts commit f2074461
parent f2074461
...@@ -402,7 +402,6 @@ int CU_send_F1_SETUP_RESPONSE(instance_t instance, ...@@ -402,7 +402,6 @@ int CU_send_F1_SETUP_RESPONSE(instance_t instance,
} }
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 1\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 setup response\n"); LOG_E(F1AP, "Failed to encode F1 setup response\n");
return -1; return -1;
...@@ -489,7 +488,6 @@ int CU_send_F1_SETUP_FAILURE(instance_t instance) { ...@@ -489,7 +488,6 @@ int CU_send_F1_SETUP_FAILURE(instance_t instance) {
} }
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 2\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 setup failure\n"); LOG_E(F1AP, "Failed to encode F1 setup failure\n");
return -1; return -1;
...@@ -932,7 +930,6 @@ int CU_send_gNB_CU_CONFIGURATION_UPDATE(instance_t instance, f1ap_gnb_cu_configu ...@@ -932,7 +930,6 @@ int CU_send_gNB_CU_CONFIGURATION_UPDATE(instance_t instance, f1ap_gnb_cu_configu
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 3\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 gNB-CU CONFIGURATION UPDATE\n"); LOG_E(F1AP, "Failed to encode F1 gNB-CU CONFIGURATION UPDATE\n");
return -1; return -1;
......
...@@ -318,7 +318,6 @@ int CU_send_DL_RRC_MESSAGE_TRANSFER(instance_t instance, ...@@ -318,7 +318,6 @@ int CU_send_DL_RRC_MESSAGE_TRANSFER(instance_t instance,
ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie); ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie);
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 4\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 DL RRC MESSAGE TRANSFER \n"); LOG_E(F1AP, "Failed to encode F1 DL RRC MESSAGE TRANSFER \n");
return -1; return -1;
......
...@@ -151,7 +151,7 @@ int CU_send_UE_CONTEXT_SETUP_REQUEST(instance_t instance, ...@@ -151,7 +151,7 @@ int CU_send_UE_CONTEXT_SETUP_REQUEST(instance_t instance,
ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie); ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie);
if (0) {
/* mandatory */ /* mandatory */
/* c7. Candidate_SpCell_List */ /* c7. Candidate_SpCell_List */
ie = (F1AP_UEContextSetupRequestIEs_t *)calloc(1, sizeof(F1AP_UEContextSetupRequestIEs_t)); ie = (F1AP_UEContextSetupRequestIEs_t *)calloc(1, sizeof(F1AP_UEContextSetupRequestIEs_t));
...@@ -709,7 +709,7 @@ int CU_send_UE_CONTEXT_SETUP_REQUEST(instance_t instance, ...@@ -709,7 +709,7 @@ int CU_send_UE_CONTEXT_SETUP_REQUEST(instance_t instance,
} }
ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie); ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie);
}
/* OPTIONAL */ /* OPTIONAL */
/* InactivityMonitoringRequest */ /* InactivityMonitoringRequest */
if (0) { if (0) {
...@@ -762,7 +762,6 @@ int CU_send_UE_CONTEXT_SETUP_REQUEST(instance_t instance, ...@@ -762,7 +762,6 @@ int CU_send_UE_CONTEXT_SETUP_REQUEST(instance_t instance,
} }
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 5\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 UE CONTEXT SETUP REQUEST\n"); LOG_E(F1AP, "Failed to encode F1 UE CONTEXT SETUP REQUEST\n");
return -1; return -1;
...@@ -979,7 +978,6 @@ int CU_send_UE_CONTEXT_RELEASE_COMMAND(instance_t instance, ...@@ -979,7 +978,6 @@ int CU_send_UE_CONTEXT_RELEASE_COMMAND(instance_t instance,
ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie); ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie);
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 6\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 context release command\n"); LOG_E(F1AP, "Failed to encode F1 context release command\n");
return -1; return -1;
...@@ -1536,7 +1534,6 @@ int CU_send_UE_CONTEXT_MODIFICATION_REQUEST(instance_t instance) { ...@@ -1536,7 +1534,6 @@ int CU_send_UE_CONTEXT_MODIFICATION_REQUEST(instance_t instance) {
ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie); ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie);
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 7\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 UE CONTEXT_MODIFICATION REQUEST\n"); LOG_E(F1AP, "Failed to encode F1 UE CONTEXT_MODIFICATION REQUEST\n");
return -1; return -1;
......
...@@ -420,7 +420,6 @@ int DU_send_F1_SETUP_REQUEST(instance_t instance) { ...@@ -420,7 +420,6 @@ int DU_send_F1_SETUP_REQUEST(instance_t instance) {
ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie); ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie);
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 8\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 setup request\n"); LOG_E(F1AP, "Failed to encode F1 setup request\n");
return -1; return -1;
...@@ -1046,7 +1045,6 @@ int DU_send_gNB_DU_CONFIGURATION_UPDATE(instance_t instance, ...@@ -1046,7 +1045,6 @@ int DU_send_gNB_DU_CONFIGURATION_UPDATE(instance_t instance,
LOG_I(F1AP, "f1ap_encode_pdu(): 9\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 gNB-DU CONFIGURATION UPDATE\n"); LOG_E(F1AP, "Failed to encode F1 gNB-DU CONFIGURATION UPDATE\n");
return -1; return -1;
...@@ -1281,7 +1279,6 @@ int DU_send_gNB_CU_CONFIGURATION_UPDATE_ACKNOWLEDGE(instance_t instance, ...@@ -1281,7 +1279,6 @@ int DU_send_gNB_CU_CONFIGURATION_UPDATE_ACKNOWLEDGE(instance_t instance,
ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie); ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie);
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 10\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode GNB-DU-Configuration-Update-Acknowledge\n"); LOG_E(F1AP, "Failed to encode GNB-DU-Configuration-Update-Acknowledge\n");
return -1; return -1;
......
...@@ -789,7 +789,6 @@ int DU_send_UL_RRC_MESSAGE_TRANSFER(instance_t instance, ...@@ -789,7 +789,6 @@ int DU_send_UL_RRC_MESSAGE_TRANSFER(instance_t instance,
} }
} }
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 11\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 UL RRC MESSAGE TRANSFER\n"); LOG_E(F1AP, "Failed to encode F1 UL RRC MESSAGE TRANSFER\n");
return -1; return -1;
...@@ -889,7 +888,6 @@ int DU_send_INITIAL_UL_RRC_MESSAGE_TRANSFER(module_id_t module_idP, ...@@ -889,7 +888,6 @@ int DU_send_INITIAL_UL_RRC_MESSAGE_TRANSFER(module_id_t module_idP,
} }
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 12\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 INITIAL UL RRC MESSAGE TRANSFER\n"); LOG_E(F1AP, "Failed to encode F1 INITIAL UL RRC MESSAGE TRANSFER\n");
return -1; return -1;
...@@ -1122,7 +1120,6 @@ int DU_send_UL_NR_RRC_MESSAGE_TRANSFER(instance_t instance, ...@@ -1122,7 +1120,6 @@ int DU_send_UL_NR_RRC_MESSAGE_TRANSFER(instance_t instance,
} }
} }
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 13\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 UL RRC MESSAGE TRANSFER \n"); LOG_E(F1AP, "Failed to encode F1 UL RRC MESSAGE TRANSFER \n");
return -1; return -1;
......
...@@ -539,7 +539,6 @@ int DU_send_UE_CONTEXT_SETUP_RESPONSE(instance_t instance) { ...@@ -539,7 +539,6 @@ int DU_send_UE_CONTEXT_SETUP_RESPONSE(instance_t instance) {
} }
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 14\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 UE CONTEXT SETUP RESPONSE\n"); LOG_E(F1AP, "Failed to encode F1 UE CONTEXT SETUP RESPONSE\n");
return -1; return -1;
...@@ -623,7 +622,6 @@ int DU_send_UE_CONTEXT_RELEASE_REQUEST(instance_t instance, ...@@ -623,7 +622,6 @@ int DU_send_UE_CONTEXT_RELEASE_REQUEST(instance_t instance,
ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie); ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie);
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 15\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 context release request\n"); LOG_E(F1AP, "Failed to encode F1 context release request\n");
return -1; return -1;
...@@ -844,7 +842,6 @@ int DU_send_UE_CONTEXT_RELEASE_COMPLETE(instance_t instance, ...@@ -844,7 +842,6 @@ int DU_send_UE_CONTEXT_RELEASE_COMPLETE(instance_t instance,
uint8_t *buffer; uint8_t *buffer;
uint32_t len; uint32_t len;
LOG_I(F1AP, "f1ap_encode_pdu(): 16\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 context release complete\n"); LOG_E(F1AP, "Failed to encode F1 context release complete\n");
return -1; return -1;
...@@ -1212,7 +1209,6 @@ int DU_send_UE_CONTEXT_MODIFICATION_RESPONSE(instance_t instance) { ...@@ -1212,7 +1209,6 @@ int DU_send_UE_CONTEXT_MODIFICATION_RESPONSE(instance_t instance) {
} }
/* encode */ /* encode */
LOG_I(F1AP, "f1ap_encode_pdu(): 17\n");
if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) { if (f1ap_encode_pdu(&pdu, &buffer, &len) < 0) {
LOG_E(F1AP, "Failed to encode F1 UE CONTEXT MODIFICATION RESPONSE\n"); LOG_E(F1AP, "Failed to encode F1 UE CONTEXT MODIFICATION RESPONSE\n");
return -1; return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment