From d120b7489bc96e6f92d94895b884c092b4a868be Mon Sep 17 00:00:00 2001 From: Johannes Truschnigg Date: Sat, 19 Mar 2022 20:49:16 +0100 Subject: [PATCH] ACTALLY set lowest bw step in low-latency mode --- __lagdetect.awk | 1 + 1 file changed, 1 insertion(+) diff --git a/__lagdetect.awk b/__lagdetect.awk index 1f64406..63cf2c5 100644 --- a/__lagdetect.awk +++ b/__lagdetect.awk @@ -248,6 +248,7 @@ function adjust_sqm(peername, latency) { if (prefer_high_bw == 0) { bw_step_rx_next = 0 print "--- " ts " low-latency mode enforces step " bw_step_rx_next " := " STEPS_RX[bw_step_rx_next] "Kbps rx=" rx_rate " tx=" tx_rate + set_bw(IFACE_RX, STEPS_RX[bw_step_rx_next]) return } if (rx_rate < (rx_rate_max * 0.1)) { # XXX TODO is this correct? -- 2.39.5