Skip to content

Commit d7a545e

Browse files
yagodacodebot
authored andcommitted
ntn, harq: fixing HARQ timeout for NTN
1 parent 348262b commit d7a545e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/scheduler/cell/cell_harq_manager.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ cell_harq_repository<IsDl>::cell_harq_repository(unsigned max_ues,
160160
bool harq_mode_b,
161161
harq_timeout_notifier& timeout_notifier_,
162162
srslog::basic_logger& logger_) :
163-
max_ack_wait_in_slots(ntn_cs_koffset_ > 0 and harq_mode_b ? NTN_ACK_WAIT_TIMEOUT : max_ack_wait_timeout),
163+
max_ack_wait_in_slots(ntn_cs_koffset_ > 0 and harq_mode_b ? NTN_ACK_WAIT_TIMEOUT
164+
: (max_ack_wait_timeout + ntn_cs_koffset_)),
164165
harq_retx_timeout(harq_retx_timeout_),
165166
max_harqs_per_ue(max_harqs_per_ue_),
166167
timeout_notifier(timeout_notifier_),

0 commit comments

Comments
 (0)