Commit 9deb0ed0 authored by Francesco Mani's avatar Francesco Mani

Merge branch 'develop' into NR_RRC_PRACH_procedures

parents 6f87d474 c918f1d8
This diff is collapsed.
...@@ -123,10 +123,7 @@ tbs_size_t mac_rlc_data_req( ...@@ -123,10 +123,7 @@ tbs_size_t mac_rlc_data_req(
rb->set_time(rb, nr_rlc_current_time); rb->set_time(rb, nr_rlc_current_time);
/* UE does not seem to use saved_status_ind_tb_size */ /* UE does not seem to use saved_status_ind_tb_size */
is_enb = nr_rlc_manager_get_enb_flag(nr_rlc_ue_manager); is_enb = nr_rlc_manager_get_enb_flag(nr_rlc_ue_manager);
if (is_enb) maxsize = tb_sizeP;
maxsize = ue->saved_status_ind_tb_size[channel_idP - 1];
else
maxsize = tb_sizeP;
ret = rb->generate_pdu(rb, buffer_pP, maxsize); ret = rb->generate_pdu(rb, buffer_pP, maxsize);
} else { } else {
LOG_E(RLC, "%s:%d:%s: fatal: data req for unknown RB\n", __FILE__, __LINE__, __FUNCTION__); LOG_E(RLC, "%s:%d:%s: fatal: data req for unknown RB\n", __FILE__, __LINE__, __FUNCTION__);
......
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