commit | 44a57f1aae6e91189afef42d4c77a418cedb0b34 | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Mon Feb 26 21:46:18 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 26 21:46:18 2024 +0000 |
tree | aaf355c9ab9bdeeae3b7af414140b25ee8833d14 | |
parent | 614d94afb7348178ffa8e3277e8fa6123b93308b [diff] |
pw_transfer: Fix WindowPacketDropper proxy filter The WindowPacketDropper was tracking windows solely based on packet count, ignoring packet offsets. This caused it to treat additional in-flight packets from an earlier window as a new window, incorrectly dropping them. This updates the filter to consider the offset the receiver requests as the start of each new window, and only start counting window packets from there. Bug: 322497823 Change-Id: Ide06e4267ec319d932fd1d4eeb1bd3bcb1ab5d11 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/194030 Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Alexei Frolov <frolv@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.