fix typos spotted by aleksander0m

master
Andre Puschmann 5 years ago
parent 3127f59b4c
commit 705cd3c211

@ -114,7 +114,7 @@ void harq_proc::set_ack_common(uint32_t tb_idx, bool ack_)
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);
"SCHED: discarding TB %d pid=%d, tti=%d, maximum number of retx exceeded (%d)\n", tb_idx, id, tti, max_retx);
active[tb_idx] = false;
} else if (ack_) {
active[tb_idx] = false;

@ -596,12 +596,12 @@ void sync::run_thread()
if (current_srate > 0) {
nsamples = current_srate / 1000;
}
Debug("Discarting %d samples\n", nsamples);
Debug("Discarding %d samples\n", nsamples);
srslte_timestamp_t rx_time = {};
if (!radio_recv_fnc(dummy_buffer, nsamples, &rx_time)) {
log_h->console("SYNC: Receiving from radio while in IDLE_RX\n");
}
// If radio is in locked state returns inmidiatetly. In that case, do a 1 ms sleep
// If radio is in locked state returns immediately. In that case, do a 1 ms sleep
if (rx_time.frac_secs == 0 && rx_time.full_secs == 0) {
usleep(1000);
}

@ -319,7 +319,7 @@ void dl_harq_entity::dl_harq_process::dl_tb_process::new_grant_dl(mac_interface_
action->tb[tid].rv = cur_grant.tb[tid].rv;
action->tb[tid].softbuffer.rx = &softbuffer;
} else {
Warning("DL PID %d: Received duplicate TB%d. Discarting and retransmitting ACK (n_retx=%d, reset=%s)\n",
Warning("DL PID %d: Received duplicate TB%d. Discarding and retransmitting ACK (n_retx=%d, reset=%s)\n",
pid,
tid,
n_retx,

@ -209,7 +209,7 @@ void ul_harq_entity::ul_harq_process::new_grant_ul(mac_interface_phy_lte::mac_gr
// Check maximum retransmissions, do not consider last retx ACK
if (current_tx_nb >= max_retx && !grant.hi_value) {
Info("UL %d: Maximum number of ReTX reached (%d). Discarting TB.\n", pid, max_retx);
Info("UL %d: Maximum number of ReTX reached (%d). Discarding TB.\n", pid, max_retx);
if (grant_is_rar()) {
harq_entity->ra_procedure->harq_max_retx();
}

Loading…
Cancel
Save