| commit | 6767034c01c6d2c55ea03e52cb74d97e430689e5 | [log] [tgz] |
|---|---|---|
| author | Hayden Nix <haydennix@fuchsia.infra.roller.google.com> | Fri Jan 28 02:28:35 2022 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Thu Jan 27 18:30:21 2022 -0800 |
| tree | 2bc4e675fc0ccf15373855d234535d13703a277a | |
| parent | e93926b16e1b277ab1b5679089169ab64be253d8 [diff] |
[roll] Roll fuchsia [wlan][policy] Create EWMA Signal Strength Struct dBm values are used throughout the codebase as 8-bit ints. However, when calculating an ewma, changes or weights that are too small will result in the average never moving due to integer rounding. This struct tracks ewma signal strength in f64, allowing small changes to impact the average, while presenting dBm (i8) externally. Original-Bug: 91873 Test: Unit tests that check logarithmic averaging, and that check that small changes in signal strength eventually moves i8. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/634754 Original-Revision: 408d61ff7a8133469736041556e0cf9ac12cd185 GitOrigin-RevId: 4fef95085ceb37127d62cb554a8bdabb26e9a927 Change-Id: I572aba931d6a447a945f4f34a6a413b4283c1503
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 via the IRC channel #fuchsia on Freenode.
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.