Commit 618c1bc3 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

minor modification

parent 231a3c74
...@@ -378,7 +378,7 @@ rlc_um_rx (const protocol_ctxt_t* const ctxt_pP, void *argP, struct mac_data_ind ...@@ -378,7 +378,7 @@ rlc_um_rx (const protocol_ctxt_t* const ctxt_pP, void *argP, struct mac_data_ind
} }
#endif #endif
if (sl_reset_rlc_flag == SL_DISCOVERY_FLAG_YES) { if (sl_reset_rlc_flag == SL_RESET_RLC_FLAG_YES) {
l_rlc_p->vr_ur = 0; l_rlc_p->vr_ur = 0;
l_rlc_p->vr_ux = 0; l_rlc_p->vr_ux = 0;
l_rlc_p->vr_uh = 0; l_rlc_p->vr_uh = 0;
......
...@@ -1006,6 +1006,8 @@ rlc_um_receive_process_dar ( ...@@ -1006,6 +1006,8 @@ rlc_um_receive_process_dar (
free_mem_block(pdu_mem_pP, __func__); free_mem_block(pdu_mem_pP, __func__);
} }
LOG_I(RLC, "DEBUG SN %d, rlc_pP->vr_uh %d rlc_pP->vr_ur %d \n", sn, rlc_pP->vr_uh, rlc_pP->vr_ur);
RLC_UM_MUTEX_LOCK(&rlc_pP->lock_dar_buffer, ctxt_pP, rlc_pP); RLC_UM_MUTEX_LOCK(&rlc_pP->lock_dar_buffer, ctxt_pP, rlc_pP);
in_window = rlc_um_in_window(ctxt_pP, rlc_pP, rlc_pP->vr_uh - rlc_pP->rx_um_window_size, sn, rlc_pP->vr_ur); in_window = rlc_um_in_window(ctxt_pP, rlc_pP, rlc_pP->vr_uh - rlc_pP->rx_um_window_size, sn, rlc_pP->vr_ur);
......
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