|
|
@ -1008,14 +1008,14 @@ static void gen_ack_fdd(srslte_pdsch_ack_t* ack_info, srslte_uci_data_t* uci_dat
|
|
|
|
uci_data->cfg.cqi.data_enable = false;
|
|
|
|
uci_data->cfg.cqi.data_enable = false;
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
for (int i = 0; i < 2; i++) {
|
|
|
|
for (int i = 0; i < ack_info->nof_cc; i++) {
|
|
|
|
uci_data->cfg.ack[i].nof_acks = (tb_count != 0) ? nof_tb : 0;
|
|
|
|
uci_data->cfg.ack[i].nof_acks = (tb_count != 0) ? nof_tb : 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
// For 2 or more configured cells, report nof_tb per carrier except if there are no HARQ-ACK bits to report, in
|
|
|
|
// For 2 or more configured cells, report nof_tb per carrier except if there are no HARQ-ACK bits to report, in
|
|
|
|
// which case we set to 0
|
|
|
|
// which case we set to 0
|
|
|
|
for (int i = 0; i < 2; i++) {
|
|
|
|
for (int i = 0; i < ack_info->nof_cc; i++) {
|
|
|
|
uci_data->cfg.ack[i].nof_acks = (tb_count != 0) ? nof_tb : 0;
|
|
|
|
uci_data->cfg.ack[i].nof_acks = (tb_count != 0) ? nof_tb : 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|