Commit 453eecf
test/tmm: fix thresholdAbove255_clamps loop count
The unknown counter is a 6-bit field (saturates at 63); the threshold is
capped at 60 so saturated readings always exceed it. A config value of 300
clamps to 60, meaning the 61st packet is the first drop — not the 256th.
Loop count corrected from 255 to 60 to match the actual implementation cap.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a312da9 commit 453eecf
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1006 | 1006 | | |
1007 | 1007 | | |
1008 | 1008 | | |
1009 | | - | |
1010 | | - | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
1011 | 1012 | | |
1012 | 1013 | | |
1013 | 1014 | | |
| |||
1016 | 1017 | | |
1017 | 1018 | | |
1018 | 1019 | | |
1019 | | - | |
| 1020 | + | |
1020 | 1021 | | |
1021 | 1022 | | |
1022 | 1023 | | |
| |||
0 commit comments