diff options
author | Sean Wang <sean.wang@mediatek.com> | 2022-08-30 01:57:44 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-09-15 14:21:39 +0300 |
commit | 1bf66dc31032ff5292f4d5b76436653f269fcfbd (patch) | |
tree | 64d0afd5fbfb52f098c483b9a3bb1eab9cd2011c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d2b5bb6dfab29fe32bedefaade88dcd182c03a00 (diff) | |
download | linux-1bf66dc31032ff5292f4d5b76436653f269fcfbd.tar.xz |
wifi: mt76: mt7921: reset msta->airtime_ac while clearing up hw value
We should reset mstat->airtime_ac along with clear up the entries in the
hardware WLAN table for the Rx and Rx accumulative airtime. Otherwsie, the
value msta->airtime_ac - [tx, rx]_last may be a negative and that is not
the actual airtime the device took in the last run.
Reported-by: YN Chen <YN.Chen@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions