Adjust 75 PRB radio offset and clean log

master
Ismael Gomez 6 years ago
parent 40afc30c60
commit 5e5e797cb9

@ -420,7 +420,7 @@ void radio::set_tx_srate(double srate)
nsamples = 167;
} else if (srate_khz == 15.36e3) {
// 75 PRB
nsamples = 165;
nsamples = 160;
} else if (srate_khz == 23.04e3) {
// 100 PRB
nsamples = 160;

@ -105,7 +105,7 @@ void harq_proc::set_ack(uint32_t tb_idx, bool ack_)
{
ack[tb_idx] = ack_;
ack_received[tb_idx] = true;
log_h->info("ACK=%d received pid=%d, tb_idx=%d, n_rtx=%d, max_retx=%d\n", ack_, id, tb_idx, n_rtx[tb_idx], max_retx);
log_h->debug("ACK=%d received pid=%d, tb_idx=%d, n_rtx=%d, max_retx=%d\n", ack_, id, tb_idx, n_rtx[tb_idx], max_retx);
if (!ack_ && (n_rtx[tb_idx] + 1 >= max_retx)) {
Warning("SCHED: discarting TB %d pid=%d, tti=%d, maximum number of retx exceeded (%d)\n", tb_idx, id, tti, max_retx);
active[tb_idx] = false;

Loading…
Cancel
Save