From: Johannes Truschnigg Date: Sat, 19 Mar 2022 19:49:16 +0000 (+0100) Subject: ACTALLY set lowest bw step in low-latency mode X-Git-Url: https://johannes.truschnigg.info/gitweb/?a=commitdiff_plain;h=d120b7489bc96e6f92d94895b884c092b4a868be;p=sqm_lagthrottle ACTALLY set lowest bw step in low-latency mode --- 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?