Relax memory ordering for atomic load for the ul_harq::current_tx_nb member.

This commit is contained in:
faluco 2021-10-22 14:23:26 +02:00 committed by Andre Puschmann
parent 0ada9a01ec
commit 28887a4384
1 changed files with 2 additions and 2 deletions

View File

@ -317,7 +317,7 @@ void ul_harq_entity::ul_harq_process::generate_retx(mac_interface_phy_lte::mac_g
Info("UL %d: Adaptive retx=%d, RV=%d, TBS=%d, HI=%s, ndi=%d, prev_ndi=%d",
pid,
current_tx_nb.load(),
current_tx_nb.load(std::memory_order_relaxed),
get_rv(),
grant.tb.tbs,
harq_feedback ? "ACK" : "NACK",
@ -337,7 +337,7 @@ void ul_harq_entity::ul_harq_process::generate_retx(mac_interface_phy_lte::mac_g
// Non-adaptive retx are only sent if HI=NACK. If HI=ACK but no dci was received do not reset PID
Info("UL %d: Non-Adaptive retx=%d, RV=%d, TBS=%d, HI=%s",
pid,
current_tx_nb.load(),
current_tx_nb.load(std::memory_order_relaxed),
get_rv(),
cur_grant.get_tbs(),
harq_feedback ? "ACK" : "NACK");