aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRyder Lee <ryder.lee@mediatek.com>2022-10-14 10:57:47 +0800
committerFelix Fietkau <nbd@nbd.name>2022-12-01 17:29:12 +0100
commitb0bfa00595be6883a139a0b3a96c9c3d62874624 (patch)
tree8eac1f44c37afd4349a82da9dbb407b9b59b1057 /tools/perf/scripts/python/export-to-sqlite.py
parentRevert "mt76: use IEEE80211_OFFLOAD_ENCAP_ENABLED instead of MT_DRV_AMSDU_OFF... (diff)
downloadlinux-b0bfa00595be6883a139a0b3a96c9c3d62874624.tar.gz
linux-b0bfa00595be6883a139a0b3a96c9c3d62874624.zip
wifi: mt76: mt7915: improve accuracy of time_busy calculation
The MIB INFO command is fetching MIB_BUSY_TIME, MIB_TX_TIME, MIB_RX_TIME and MIB_OBSS_AIRTIME from the radio and filling out cc_busy, cc_tx, cc_bss_rx and cc_rx respectively. busy should be >= tx + rx >= tx + bss_rx but we don’t always quite see this. Sometimes tx + rx is a bit higher than busy due to inaccurate accounting, so this patch recalculates numbers to make them more reasonable. Reported-By: Kevin Schneider <kevin.schneider@adtran.com> Tested-by: Kevin Schneider <kevin.schneider@adtran.com> Tested-by: Chad Monroe <chad.monroe@smartrg.com> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions