Commit f2aad64
committed
JP LBT: scale jitter by airtime instead of fixed 500ms
Replaced fixed random(0, 500) jitter with airtime-scaled
random(0, airtime_ms / JP_LBT_JITTER_DIVISOR) (divisor=32).
At SF12/BW125 this gives ~245ms max jitter (vs previous 500ms).
Tested divisors 16 and 32 — both 3/3 success with no measurable
difference in delivery time. Divisor 32 adopted as it halves the
unnecessary wait without observable downside.
The divisor is a named constant (JP_LBT_JITTER_DIVISOR) to make
future tuning straightforward.1 parent 5448ecf commit f2aad64
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
213 | 217 | | |
214 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
215 | 221 | | |
216 | 222 | | |
217 | 223 | | |
| |||
0 commit comments