Revert rlc_data_req instead of du_rlc_data_req for LTE
This commit is contained in:
@@ -367,23 +367,26 @@ int proto_agent_pdcp_data_req_process(mod_id_t mod_id, const void *params, Proto
|
|||||||
if (!pdcp_pdu_p) goto error;
|
if (!pdcp_pdu_p) goto error;
|
||||||
|
|
||||||
memcpy(pdcp_pdu_p->data, rlc_data->fsp_pdu->fsp_pdu_data.data, pdcp_pdu_size);
|
memcpy(pdcp_pdu_p->data, rlc_data->fsp_pdu->fsp_pdu_data.data, pdcp_pdu_size);
|
||||||
// result = rlc_data_req(&ctxt_pP
|
if (RC.nrrrc) {
|
||||||
// ,srb_flagP
|
LOG_D(PROTO_AGENT, "proto_agent received pdcp_data_req \n");
|
||||||
// ,flag_MBMS
|
// for (int i = 0; i < pdcp_pdu_size; i++)
|
||||||
// ,rb_idP
|
// printf(" %2.2x", (unsigned char)pdcp_pdu_p->data[i]);
|
||||||
// ,muiP
|
// printf("\n");
|
||||||
// ,confirmP
|
du_rlc_data_req(&ctxt_pP, srb_flagP, flag_MBMS, rb_idP, muiP, confirmP, pdcp_pdu_size, pdcp_pdu_p);
|
||||||
// ,pdcp_pdu_size
|
result = 1;
|
||||||
// ,pdcp_pdu_p
|
} else {
|
||||||
// ,NULL
|
result = rlc_data_req(&ctxt_pP
|
||||||
// ,NULL
|
,srb_flagP
|
||||||
// );
|
,flag_MBMS
|
||||||
LOG_D(PROTO_AGENT, "proto_agent received pdcp_data_req \n");
|
,rb_idP
|
||||||
// for (int i = 0; i < pdcp_pdu_size; i++)
|
,muiP
|
||||||
// printf(" %2.2x", (unsigned char)pdcp_pdu_p->data[i]);
|
,confirmP
|
||||||
// printf("\n");
|
,pdcp_pdu_size
|
||||||
du_rlc_data_req(&ctxt_pP, srb_flagP, flag_MBMS, rb_idP, muiP, confirmP, pdcp_pdu_size, pdcp_pdu_p);
|
,pdcp_pdu_p
|
||||||
result = 1;
|
,NULL
|
||||||
|
,NULL
|
||||||
|
);
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
error:
|
error:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user