| commit | b3e86ffc9bbf925365453a2394e1aff82c0e293d | [log] [tgz] |
|---|---|---|
| author | Karl Ward <karlward@fuchsia.infra.roller.karlward.com> | Fri May 09 05:48:49 2025 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Fri May 09 05:50:49 2025 -0700 |
| tree | 0f00ee9af59575055ba6bf276bd788365a0e0903 | |
| parent | b7341ae70b93903b2d9b86a41948f89ff956b091 [diff] |
[roll] Roll fuchsia [wlan] Prune empty histogram buckets in brcmfmac. The brcmfmac driver retrieves histograms about various characteristics of the current WLAN connection, e.g. rates in use, RSSI. These histograms can have many empty buckets (where frame count is 0). These empty buckets can cause problems for upper layers (i.e. WLAN Policy telemetry), especially when these histograms are persisted into Inspect. Specifically, histograms are not being persisted into Inspect because the representation used can exceed the size allowed for integer arrays. This change provides a short term mitigation for this problem: by pruning empty buckets in the driver, we reduce (but cannot eliminate) the possibility that the histogram data structures will exceed the maximum size allowed in Inspect. A longer term fix will require that we use a different representation of this data when persisted into Inspect. Test: a unit test was augmented to check that empty buckets are being pruned before histogram data is sent upward from the brcmfmac driver. Due to limitations of the brcmfmac sim framework, this augmented test only tests the driver's handling of the SNR histogram (but other histograms are similar). Original-Bug: 414602984 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1271884 Original-Revision: 5d8076472d1c7d74cd0c9847f85e2f4f55f8d102 GitOrigin-RevId: 4e20801cd9c99b1c5918b5c53b499188f8cc5b53 Change-Id: I4193e28048d30cb5cce78fc06d0e87be2872bc3d
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.