X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2517aebf84c5736fce1dd9403f468824bde52863..262d6ed3a891e6ed63405d3165f542796b92a48b:/package/qos-scripts/files/usr/lib/qos.sh?ds=inline diff --git a/package/qos-scripts/files/usr/lib/qos.sh b/package/qos-scripts/files/usr/lib/qos.sh index bc0480703..724784ebd 100755 --- a/package/qos-scripts/files/usr/lib/qos.sh +++ b/package/qos-scripts/files/usr/lib/qos.sh @@ -143,7 +143,6 @@ config_cb() { interface) config_set "$1" "classgroup" "Default" config_set "$1" "upload" "128" - config_set "$1" "download" "1024" ;; classify|default|reclassify) option_cb() { @@ -276,6 +275,7 @@ BEGIN { print "sfq perturb 10 limit " cqlen } else { avpkt = 1200 + if (min < avpkt) min = avpkt min = int(limit * 1024 / 8 * 0.1) dqb = cqlen * 1500 max = int(min + (dqb - min) * 0.25)