]> johannes.truschnigg.info Git - sqm_lagthrottle/commitdiff
ACTALLY set lowest bw step in low-latency mode
authorJohannes Truschnigg <johannes@truschnigg.info>
Sat, 19 Mar 2022 19:49:16 +0000 (20:49 +0100)
committerJohannes Truschnigg <johannes@truschnigg.info>
Sat, 19 Mar 2022 19:49:16 +0000 (20:49 +0100)
__lagdetect.awk

index 1f64406be94c29f9d1fcd568f1e194500541cb8e..63cf2c5deb7972550e260d458e3bfc17bd377312 100644 (file)
@@ -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?