summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2022-08-30 06:57:44 +0800
committerFelix Fietkau <nbd@nbd.name>2022-09-15 13:21:39 +0200
commit1bf66dc31032ff5292f4d5b76436653f269fcfbd (patch)
tree64d0afd5fbfb52f098c483b9a3bb1eab9cd2011c /tools/perf/scripts/python/export-to-postgresql.py
parentd2b5bb6dfab29fe32bedefaade88dcd182c03a00 (diff)
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions