Correctly handle received gNB-DU config update ack
This commit is contained in:
@@ -262,12 +262,9 @@ int DU_handle_gNB_DU_CONFIGURATION_UPDATE_ACKNOWLEDGE(instance_t instance,
|
|||||||
free_f1ap_du_configuration_update_acknowledge(&in);
|
free_f1ap_du_configuration_update_acknowledge(&in);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
// Allocate and send an ITTI message
|
|
||||||
MessageDef *msg_p = itti_alloc_new_message(TASK_DU_F1, 0, F1AP_GNB_DU_CONFIGURATION_UPDATE_ACKNOWLEDGE);
|
gnb_du_configuration_update_acknowledge(&in);
|
||||||
f1ap_gnb_du_configuration_update_acknowledge_t *msg = &F1AP_GNB_DU_CONFIGURATION_UPDATE_ACKNOWLEDGE(msg_p);
|
free_f1ap_du_configuration_update_acknowledge(&in);
|
||||||
// Copy the decoded message to the ITTI message (RRC thread will free it)
|
|
||||||
*msg = in; // Copy the decoded message to the ITTI message (RRC thread will free it)
|
|
||||||
itti_send_msg_to_task(TASK_GNB_APP, GNB_MODULE_ID_TO_INSTANCE(assoc_id), msg_p);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -238,10 +238,6 @@ void *gNB_app_task(void *args_p)
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case F1AP_GNB_DU_CONFIGURATION_UPDATE_ACKNOWLEDGE:
|
|
||||||
LOG_E(GNB_APP, "[gNB %ld] Handling of %s message not implemented yet\n", instance, msg_name);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case NGAP_DEREGISTERED_GNB_IND:
|
case NGAP_DEREGISTERED_GNB_IND:
|
||||||
LOG_W(GNB_APP, "[gNB %ld] Received %s: associated AMF %d\n", instance, msg_name,
|
LOG_W(GNB_APP, "[gNB %ld] Received %s: associated AMF %d\n", instance, msg_name,
|
||||||
NGAP_DEREGISTERED_GNB_IND(msg_p).nb_amf);
|
NGAP_DEREGISTERED_GNB_IND(msg_p).nb_amf);
|
||||||
|
|||||||
Reference in New Issue
Block a user