[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
1 file changed
tree: 0f00ee9af59575055ba6bf276bd788365a0e0903
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. flower
  6. jiri.lock
  7. MILESTONE
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

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.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.