add RLC traces to the code
This commit is contained in:
@@ -359,6 +359,11 @@ rlc_op_status_t rlc_data_req (const protocol_ctxt_t* const ctxt_pP,
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if T_TRACER
|
||||||
|
if (ctxt_pP->enb_flag)
|
||||||
|
T(T_ENB_RLC_DL, T_INT(ctxt_pP->module_id), T_INT(ctxt_pP->rnti), T_INT(rb_idP), T_INT(sdu_sizeP));
|
||||||
|
#endif
|
||||||
|
|
||||||
if (MBMS_flagP) {
|
if (MBMS_flagP) {
|
||||||
AssertFatal (rb_idP < NB_RB_MBMS_MAX, "RB id is too high (%u/%d)!\n", rb_idP, NB_RB_MBMS_MAX);
|
AssertFatal (rb_idP < NB_RB_MBMS_MAX, "RB id is too high (%u/%d)!\n", rb_idP, NB_RB_MBMS_MAX);
|
||||||
} else {
|
} else {
|
||||||
@@ -571,6 +576,12 @@ void rlc_data_ind (
|
|||||||
rlc_util_print_hex_octets(RLC, (unsigned char*)sdu_pP->data, sdu_sizeP);
|
rlc_util_print_hex_octets(RLC, (unsigned char*)sdu_pP->data, sdu_sizeP);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if T_TRACER
|
||||||
|
if (ctxt_pP->enb_flag)
|
||||||
|
T(T_ENB_RLC_UL, T_INT(ctxt_pP->module_id), T_INT(ctxt_pP->rnti), T_INT(rb_idP), T_INT(sdu_sizeP));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
pdcp_data_ind (
|
pdcp_data_ind (
|
||||||
ctxt_pP,
|
ctxt_pP,
|
||||||
srb_flagP,
|
srb_flagP,
|
||||||
|
|||||||
@@ -221,6 +221,11 @@ tbs_size_t mac_rlc_data_req(
|
|||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if T_TRACER
|
||||||
|
if (enb_flagP)
|
||||||
|
T(T_ENB_RLC_MAC_DL, T_INT(module_idP), T_INT(rntiP), T_INT(channel_idP), T_INT(ret_tb_size));
|
||||||
|
#endif
|
||||||
|
|
||||||
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_MAC_RLC_DATA_REQ,VCD_FUNCTION_OUT);
|
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_MAC_RLC_DATA_REQ,VCD_FUNCTION_OUT);
|
||||||
return ret_tb_size;
|
return ret_tb_size;
|
||||||
}
|
}
|
||||||
@@ -276,6 +281,10 @@ void mac_rlc_data_ind (
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if T_TRACER
|
||||||
|
if (enb_flagP)
|
||||||
|
T(T_ENB_RLC_MAC_UL, T_INT(module_idP), T_INT(rntiP), T_INT(channel_idP), T_INT(tb_sizeP));
|
||||||
|
#endif
|
||||||
|
|
||||||
if (MBMS_flagP) {
|
if (MBMS_flagP) {
|
||||||
if (BOOL_NOT(enb_flagP)) {
|
if (BOOL_NOT(enb_flagP)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user