Skip to content

Fix airtime calculation in dispatcher#2875

Open
neilalexander wants to merge 1 commit into
meshcore-dev:devfrom
neilalexander:neil/txestimate
Open

Fix airtime calculation in dispatcher#2875
neilalexander wants to merge 1 commit into
meshcore-dev:devfrom
neilalexander:neil/txestimate

Conversation

@neilalexander

Copy link
Copy Markdown

The checkSend() function would always use the MAX_TRANS_UNIT to estimate how much airtime is needed before allowing a queued packet to be transmitted instead of the actual queued packet size.

This meant that small packets could be forced to wait unfairly before being sent, resulting in unexpected starvation or packet drops under duty cycle limits.

The `checkSend()` function would always use the `MAX_TRANS_UNIT` to estimate
how much airtime is needed before allowing a queued packet to be transmitted
instead of the actual queued packet size.

This meant that small packets could be forced to wait unfairly before being
sent, resulting in unexpected starvation or packet drops under duty cycle
limits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant