|
|
@ -262,7 +262,7 @@ void dl_harq_entity::dl_harq_process::dl_tb_process::new_grant_dl(mac_interface_
|
|
|
|
// If this is a new transmission or the size of the TB has changed
|
|
|
|
// If this is a new transmission or the size of the TB has changed
|
|
|
|
if (is_new_transmission || (cur_grant.tb[tid].tbs != grant.tb[tid].tbs)) {
|
|
|
|
if (is_new_transmission || (cur_grant.tb[tid].tbs != grant.tb[tid].tbs)) {
|
|
|
|
if (!is_new_transmission) {
|
|
|
|
if (!is_new_transmission) {
|
|
|
|
Warning("DL PID %d: Size of dci changed during a retransmission %d!=%d\n",
|
|
|
|
Debug("DL PID %d: Size of dci changed during a retransmission %d!=%d\n",
|
|
|
|
pid,
|
|
|
|
pid,
|
|
|
|
cur_grant.tb[tid].tbs,
|
|
|
|
cur_grant.tb[tid].tbs,
|
|
|
|
grant.tb[tid].tbs);
|
|
|
|
grant.tb[tid].tbs);
|
|
|
@ -379,7 +379,6 @@ void dl_harq_entity::dl_harq_process::dl_tb_process::tb_decoded(mac_interface_ph
|
|
|
|
bool dl_harq_entity::dl_harq_process::dl_tb_process::calc_is_new_transmission(
|
|
|
|
bool dl_harq_entity::dl_harq_process::dl_tb_process::calc_is_new_transmission(
|
|
|
|
mac_interface_phy_lte::mac_grant_dl_t grant)
|
|
|
|
mac_interface_phy_lte::mac_grant_dl_t grant)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
if (((grant.tb[tid].ndi_present &&
|
|
|
|
if (((grant.tb[tid].ndi_present &&
|
|
|
|
grant.tb[tid].ndi != cur_grant.tb[tid].ndi) || // 1st condition (NDI provided and has changed)
|
|
|
|
grant.tb[tid].ndi != cur_grant.tb[tid].ndi) || // 1st condition (NDI provided and has changed)
|
|
|
|
(is_bcch && grant.tb[tid].rv == 0) || // 2nd condition (Broadcast and 1st transmission)
|
|
|
|
(is_bcch && grant.tb[tid].rv == 0) || // 2nd condition (Broadcast and 1st transmission)
|
|
|
|