diff --git a/common/utils/itti/intertask_interface.h b/common/utils/itti/intertask_interface.h index 64e0f76ef28e365ad0d91e6a85879d0caf28ffd3..66a6e1118ad6303fc6a5ce23be943683491860b5 100644 --- a/common/utils/itti/intertask_interface.h +++ b/common/utils/itti/intertask_interface.h @@ -44,8 +44,10 @@ #include "intertask_interface_conf.h" #include "intertask_interface_types.h" -#define ITTI_MSG_NAME(mSGpTR) itti_get_message_name((mSGpTR)->header.messageId) -#define ITTI_MSG_INSTANCE(mSGpTR) (mSGpTR)->header.instance +#define ITTI_MSG_NAME(mSGpTR) itti_get_message_name((mSGpTR)->header.messageId) +#define ITTI_MSG_ORIGIN_NAME(mSGpTR) itti_get_task_name((mSGpTR)->header.originTaskId) +#define ITTI_MSG_DESTINATION_NAME(mSGpTR) itti_get_task_name((mSGpTR)->header.destinationTaskId) +#define ITTI_MSG_INSTANCE(mSGpTR) (mSGpTR)->header.instance /* Make the message number platform specific */ typedef unsigned long message_number_t; diff --git a/openair2/LAYER2/PDCP_v10.1.0/pdcp.c b/openair2/LAYER2/PDCP_v10.1.0/pdcp.c index f09be1fb0e8e6f9e09ae8acce0076afeb4ce49bc..aa67136792452d472a7779e5c29f5ffd04759ce4 100755 --- a/openair2/LAYER2/PDCP_v10.1.0/pdcp.c +++ b/openair2/LAYER2/PDCP_v10.1.0/pdcp.c @@ -508,7 +508,8 @@ void pdcp_run (u32_t frame, u8 eNB_flag, u8 UE_index, u8 eNB_index) { switch (msg_p->header.messageId) { case RRC_DCCH_DATA_REQ: - LOG_D(PDCP, "Received %s: instance %d, frame %d, eNB_flag %d, rb_id %d, muiP %d, confirmP %d, mode %d\n", msg_name, instance, + LOG_D(PDCP, "Received %s from %s: instance %d, frame %d, eNB_flag %d, rb_id %d, muiP %d, confirmP %d, mode %d\n", + msg_name, ITTI_MSG_ORIGIN_NAME(msg_p), instance, RRC_DCCH_DATA_REQ (msg_p).frame, RRC_DCCH_DATA_REQ (msg_p).enb_flag, RRC_DCCH_DATA_REQ (msg_p).rb_id, RRC_DCCH_DATA_REQ (msg_p).muip, RRC_DCCH_DATA_REQ (msg_p).confirmp, RRC_DCCH_DATA_REQ (msg_p).mode);