added extra debug logs

master
Francisco Paisana 5 years ago committed by Francisco Paisana
parent a1f0f8de35
commit d36ae722d5

@ -264,7 +264,7 @@ int sched_ue::set_ack_info(uint32_t tti_rx, uint32_t enb_cc_idx, uint32_t tb_idx
std::pair<uint32_t, int> p2 = carriers[p.second].harq_ent.set_ack_info(tti_rx, tb_idx, ack);
tbs_acked = p2.second;
if (tbs_acked > 0) {
Debug("SCHED: Set ACK=%d for rnti=0x%x, pid=%d, tb=%d, tti=%d\n", ack, rnti, p2.first, tb_idx, tti_rx);
Debug("SCHED: Set DL ACK=%d for rnti=0x%x, pid=%d, tb=%d, tti=%d\n", ack, rnti, p2.first, tb_idx, tti_rx);
} else {
Warning("SCHED: Received ACK info for unknown TTI=%d\n", tti_rx);
}

@ -431,6 +431,8 @@ bool cell_ctxt_dedicated_list::alloc_sr_resources(uint32_t period)
sr_res.sr_sched_sf_idx = j_min;
sr_res_present = true;
log_h->info("Allocated SR resources in time-freq slot (%d, %d)\n", sr_res.sr_sched_prb_idx, sr_res.sr_sched_sf_idx);
return true;
}
@ -446,6 +448,10 @@ bool cell_ctxt_dedicated_list::dealloc_sr_resources()
}
log_h->info(
"Deallocated SR resources for time-frequency slot (%d, %d)\n", sr_res.sr_sched_prb_idx, sr_res.sr_sched_sf_idx);
log_h->debug("Remaining SR allocations for slot (%d, %d): %d\n",
sr_res.sr_sched_prb_idx,
sr_res.sr_sched_sf_idx,
pucch_res->sr_sched.nof_users[sr_res.sr_sched_prb_idx][sr_res.sr_sched_sf_idx]);
sr_res_present = false;
return true;
}

@ -1010,6 +1010,7 @@ proc_outcome_t rrc::go_idle_proc::init()
srslte::proc_outcome_t rrc::go_idle_proc::react(bool timeout)
{
rrc_ptr->leave_connected();
Info("Left connected state\n");
return proc_outcome_t::success;
}
@ -1024,6 +1025,7 @@ proc_outcome_t rrc::go_idle_proc::step()
// wait for max. 2s for RLC on SRB1 to be flushed
if (rrc_ptr->rlc->is_suspended(RB_ID_SRB1) || not rrc_ptr->rlc->has_data(RB_ID_SRB1)) {
rrc_ptr->leave_connected();
Info("Left connected state\n");
return proc_outcome_t::success;
} else {
Debug("Postponing transition to RRC IDLE (%d ms < %d ms)\n", rlc_flush_timer.time_elapsed(), rlc_flush_timeout);

Loading…
Cancel
Save