Call HARQ new tti only for the current PID

master
Ismael Gomez 4 years ago
parent 82c9636156
commit c4069b58af

@ -340,9 +340,7 @@ void harq_entity::reset()
void harq_entity::new_tti(tti_point tti_rx) void harq_entity::new_tti(tti_point tti_rx)
{ {
last_ttis[tti_rx.to_uint() % last_ttis.size()] = tti_rx; last_ttis[tti_rx.to_uint() % last_ttis.size()] = tti_rx;
for (auto& hul : ul_harqs) { get_ul_harq(to_tx_ul(tti_rx))->new_tti();
hul.new_tti();
}
for (auto& hdl : dl_harqs) { for (auto& hdl : dl_harqs) {
hdl.new_tti(to_tx_dl(tti_rx)); hdl.new_tti(to_tx_dl(tti_rx));
} }

Loading…
Cancel
Save