Align PROTO_AGENT functions with PDCP/RLC function pointers
This commit is contained in:
@@ -191,14 +191,14 @@ rlc_op_status_t proto_agent_send_rlc_data_req(const protocol_ctxt_t *const ctxt
|
|||||||
|
|
||||||
proto_agent_async_msg_send((void *)msg, (int) msgsize, 1, proto_agent[mod_id].channel->channel_info);
|
proto_agent_async_msg_send((void *)msg, (int) msgsize, 1, proto_agent[mod_id].channel->channel_info);
|
||||||
free_mem_block(sdu_pP, __func__);
|
free_mem_block(sdu_pP, __func__);
|
||||||
return 0;
|
return RLC_OP_STATUS_OK;
|
||||||
error:
|
error:
|
||||||
LOG_E(PROTO_AGENT, "PROTO_AGENT there was an error\n");
|
LOG_E(PROTO_AGENT, "PROTO_AGENT there was an error\n");
|
||||||
return -1;
|
return RLC_OP_STATUS_INTERNAL_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
boolean_t
|
||||||
proto_agent_send_pdcp_data_ind(const protocol_ctxt_t *const ctxt_pP, const srb_flag_t srb_flagP,
|
proto_agent_send_pdcp_data_ind(const protocol_ctxt_t *const ctxt_pP, const srb_flag_t srb_flagP,
|
||||||
const MBMS_flag_t MBMS_flagP, const rb_id_t rb_idP, sdu_size_t sdu_sizeP, mem_block_t *sdu_pP) {
|
const MBMS_flag_t MBMS_flagP, const rb_id_t rb_idP, sdu_size_t sdu_sizeP, mem_block_t *sdu_pP) {
|
||||||
uint8_t *msg = NULL;
|
uint8_t *msg = NULL;
|
||||||
@@ -225,10 +225,10 @@ proto_agent_send_pdcp_data_ind(const protocol_ctxt_t *const ctxt_pP, const srb_f
|
|||||||
|
|
||||||
proto_agent_async_msg_send((void *)msg, (int) msgsize, 1, proto_agent[mod_id].channel->channel_info);
|
proto_agent_async_msg_send((void *)msg, (int) msgsize, 1, proto_agent[mod_id].channel->channel_info);
|
||||||
free_mem_block(sdu_pP, __func__);
|
free_mem_block(sdu_pP, __func__);
|
||||||
return;
|
return TRUE;
|
||||||
error:
|
error:
|
||||||
LOG_E(PROTO_AGENT, "there was an error in %s\n", __func__);
|
LOG_E(PROTO_AGENT, "there was an error in %s\n", __func__);
|
||||||
return;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void *
|
void *
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ rlc_op_status_t proto_agent_send_rlc_data_req( const protocol_ctxt_t *const ctxt
|
|||||||
const rb_id_t rb_idP, const mui_t muiP, confirm_t confirmP,
|
const rb_id_t rb_idP, const mui_t muiP, confirm_t confirmP,
|
||||||
sdu_size_t sdu_sizeP, mem_block_t *sdu_pP);
|
sdu_size_t sdu_sizeP, mem_block_t *sdu_pP);
|
||||||
|
|
||||||
void proto_agent_send_pdcp_data_ind(const protocol_ctxt_t *const ctxt_pP,
|
boolean_t proto_agent_send_pdcp_data_ind(const protocol_ctxt_t *const ctxt_pP,
|
||||||
const srb_flag_t srb_flagP, const MBMS_flag_t MBMS_flagP,
|
const srb_flag_t srb_flagP, const MBMS_flag_t MBMS_flagP,
|
||||||
const rb_id_t rb_idP, sdu_size_t sdu_sizeP, mem_block_t *sdu_pP);
|
const rb_id_t rb_idP, sdu_size_t sdu_sizeP, mem_block_t *sdu_pP);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user