Commit cd548b3
committed
fix: use max estimated airtime for duty cycle enforcement
Previously the max required airtime to enter the next transmit slot was
computed to be half the estimated time. However, the transmit logic uses
1.5 times the estimated time as maximum TX duration. By that, the duty
cycle could still be violated as the actual transmit logic might send
for longer than what we ensured to stay within the cycle.
We fix this by aligning both computations and always use 1.5 times the
estimated airtime.
Xref: #8171 parent a8ff3a3 commit cd548b3
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
275 | 274 | | |
276 | 275 | | |
277 | 276 | | |
278 | | - | |
| 277 | + | |
279 | 278 | | |
280 | | - | |
| 279 | + | |
281 | 280 | | |
282 | 281 | | |
283 | 282 | | |
| |||
0 commit comments