Skip to content

Commit 9365d17

Browse files
fixed WIFI-15285:Crash issue on ratelimit test on RAP630W-211G with MTK kernel 6.6
1 parent 40e308e commit 9365d17

File tree

1 file changed

+1
-1
lines changed
  • feeds/ucentral/ratelimit/files/usr/bin

1 file changed

+1
-1
lines changed

feeds/ucentral/ratelimit/files/usr/bin/ratelimit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function cmd(command, ignore_error) {
1919
function qdisc_add_leaf(iface, id, opts) {
2020
opts ??= "";
2121
return cmd(`tc class replace dev ${iface} parent 1:1 classid 1:${id} htb rate 1mbit ${opts} burst 2k prio 1`) &&
22-
cmd(`tc qdisc replace dev ${iface} parent 1:${id} handle ${id}: fq_codel flows 128 limit 800 quantum 300 noecn`);
22+
cmd(`tc qdisc add dev ${iface} parent 1:${id} sfq perturb 10 limit 2000 quantum 1514`);
2323
}
2424

2525
function qdisc_del_leaf(iface, id) {

0 commit comments

Comments
 (0)