Commit 4c81054e authored by Navid Nikaein's avatar Navid Nikaein

refine the gtp/pdcp logging

parent e7ae4349
...@@ -335,27 +335,25 @@ NwGtpv1uRcT gtpv1u_eNB_process_stack_req( ...@@ -335,27 +335,25 @@ NwGtpv1uRcT gtpv1u_eNB_process_stack_req(
//#warning "LG eps bearer mapping to DRB id to do (offset -4)" //#warning "LG eps bearer mapping to DRB id to do (offset -4)"
PROTOCOL_CTXT_SET_BY_MODULE_ID(&ctxt, gtpv1u_teid_data_p->enb_id, ENB_FLAG_YES, gtpv1u_teid_data_p->ue_id, 0, 0,gtpv1u_teid_data_p->enb_id); PROTOCOL_CTXT_SET_BY_MODULE_ID(&ctxt, gtpv1u_teid_data_p->enb_id, ENB_FLAG_YES, gtpv1u_teid_data_p->ue_id, 0, 0,gtpv1u_teid_data_p->enb_id);
if (ctxt.configured == TRUE ) { MSC_LOG_TX_MESSAGE(
MSC_GTPU_ENB,
MSC_LOG_TX_MESSAGE( MSC_PDCP_ENB,
MSC_GTPU_ENB, NULL,0,
MSC_PDCP_ENB, MSC_AS_TIME_FMT" DATA-REQ rb %u size %u",
NULL,0, 0,0,
MSC_AS_TIME_FMT" DATA-REQ rb %u size %u", (gtpv1u_teid_data_p->eps_bearer_id) ? gtpv1u_teid_data_p->eps_bearer_id - 4: 5-4,
0,0, buffer_len);
(gtpv1u_teid_data_p->eps_bearer_id) ? gtpv1u_teid_data_p->eps_bearer_id - 4: 5-4,
buffer_len); result = pdcp_data_req(
&ctxt,
result = pdcp_data_req( SRB_FLAG_NO,
&ctxt, (gtpv1u_teid_data_p->eps_bearer_id) ? gtpv1u_teid_data_p->eps_bearer_id - 4: 5-4,
SRB_FLAG_NO, 0, // mui
(gtpv1u_teid_data_p->eps_bearer_id) ? gtpv1u_teid_data_p->eps_bearer_id - 4: 5-4, SDU_CONFIRM_NO, // confirm
0, // mui buffer_len,
SDU_CONFIRM_NO, // confirm buffer,
buffer_len, PDCP_TRANSMISSION_MODE_DATA);
buffer,
PDCP_TRANSMISSION_MODE_DATA);
}
if ( result == FALSE ) { if ( result == FALSE ) {
......
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