forked from apache/mynewt-nimble
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implements several changes to the transport layer segmented tx to improve group message performance: - Moves retransmit counter to tx context instead of per packet. As every unacked packet is sent every retransmit, the retransmit counters would be the same in each segment. This makes it easier to control progress. - Delays the scheduling of the retransmit until the completion of the last segment by adding a seg_pending counter. This is essentially the same as the old behavior, except that the old behavior might retrigger the sending before all segments are finished if the advertising is slow. - Allows the group transmits to stop as soon as all retransmits have been exhausted, instead of timing out waiting for acks that won't come. This allows group tx to finish without error. - Fixes a bug where a failed TX would block IV update. - Cancels any pending transmissions of acked segments. - Reduces log level for several common group tx scenarios that aren't erronous. this is port of zephyrproject-rtos/zephyr#23102
- Loading branch information
1 parent
091dce0
commit bcad736
Showing
2 changed files
with
71 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters