OSDN Git Service

Wifi Tx/Rx rate computation
authorRandy Pan <zpan@google.com>
Wed, 2 Nov 2016 23:51:01 +0000 (16:51 -0700)
committerRandy Pan <zpan@google.com>
Wed, 9 Nov 2016 00:39:39 +0000 (00:39 +0000)
commit7872f3986932b169c553f21dc79d74108c3c4eb5
tree862f9ce35d206da0fb9f4270277c064ae86da534
parent605df82c9ec50a46a33f2d9bb75782900881439d
Wifi Tx/Rx rate computation

Factor in the timestamp when computing the Tx/Rx rates. The
reported rate is a combination of current and previous rates
with a heavier weight from the current rate.

Bug: 30982272
Test: Ran the new image and compared the results against the
      old algorithm.

Change-Id: I485b7002416f382993353d9f6240ea63cb08ddae
wifi/java/android/net/wifi/WifiInfo.java