Solved PCH downlink bug

This commit is contained in:
Xavier Arteaga 2017-08-31 16:40:49 +02:00
parent b027ec3bda
commit c52023e4cc
1 changed files with 3 additions and 0 deletions

View File

@ -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) {