|
|
|
@ -821,9 +821,9 @@ int mac::get_mch_sched(uint32_t tti, bool is_mcch, dl_sched_list_t& dl_sched_res
|
|
|
|
|
int requested_bytes = (mcs_data.tbs / 8 > (int)mch.mtch_sched[mtch_index].lcid_buffer_size)
|
|
|
|
|
? (mch.mtch_sched[mtch_index].lcid_buffer_size)
|
|
|
|
|
: ((mcs_data.tbs / 8) - 2);
|
|
|
|
|
int bytes_received = ue_db[SRSRAN_MRNTI]->read_pdu(current_lcid, mtch_payload_buffer, requested_bytes);
|
|
|
|
|
mch.pdu[0].lcid = current_lcid;
|
|
|
|
|
mch.pdu[0].nbytes = bytes_received;
|
|
|
|
|
int bytes_received = ue_db[SRSRAN_MRNTI]->read_pdu(current_lcid, mtch_payload_buffer, requested_bytes);
|
|
|
|
|
mch.pdu[0].lcid = current_lcid;
|
|
|
|
|
mch.pdu[0].nbytes = bytes_received;
|
|
|
|
|
mch.mtch_sched[0].mtch_payload = mtch_payload_buffer;
|
|
|
|
|
dl_sched_res->pdsch[0].dci.rnti = SRSRAN_MRNTI;
|
|
|
|
|
if (bytes_received) {
|
|
|
|
|