diff options
author | 2019-03-12 12:33:39 +0800 | |
---|---|---|
committer | 2019-05-07 16:42:44 +0300 | |
commit | 9e0b341a3d664eb95df2f56d180ee9d96786f860 (patch) | |
tree | b76086d1cef76f81efe7d44ea7d5a5b4a176021f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ath10k: Modify CE4 src buffer entries to 2048 for WCN3990 (diff) | |
download | wireguard-linux-9e0b341a3d664eb95df2f56d180ee9d96786f860.tar.xz wireguard-linux-9e0b341a3d664eb95df2f56d180ee9d96786f860.zip |
ath10k: Fix the tx stats bytes & packets parsing
In tx_stats debugfs, txrate->flags may contain multiple bits. For
example, RATE_INFO_FLAGS_SHORT_GI could be set, and tx stats bytes
and packets will be not updated correctly.
Fix this issue by using bit operation to check txrate->flags.
Tested HW: QCA9984
Tested Firmware: 10.4-3.9.0.1-00007
Signed-off-by: Brandon Huang <yanghuan@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions