mirror of https://github.com/PentHertz/srsLTE.git
Solved PCH downlink bug
This commit is contained in:
parent
b027ec3bda
commit
c52023e4cc
|
@ -282,6 +282,9 @@ void mac::new_grant_dl(mac_interface_phy::mac_grant_t grant, mac_interface_phy::
|
|||
memcpy(&action->phy_grant, &grant.phy_grant, sizeof(srslte_phy_grant_t));
|
||||
action->generate_ack = false;
|
||||
action->decode_enabled = true;
|
||||
srslte_softbuffer_rx_reset_cb(&pch_softbuffer, 1);
|
||||
action->payload_ptr[0] = pch_payload_buffer;
|
||||
action->softbuffers[0] = &pch_softbuffer;
|
||||
action->rnti = grant.rnti;
|
||||
action->rv[0] = grant.rv[0];
|
||||
if (grant.n_bytes[0] > pch_payload_buffer_sz) {
|
||||
|
|
Loading…
Reference in New Issue