aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorAditya Kumar Singh <[email protected]>2022-07-01 19:06:11 +0530
committerJohannes Berg <[email protected]>2022-07-15 11:43:12 +0200
commit0bd509325508aad1bf01967d618ada7d8da14d4d (patch)
tree93c7a752e302ecc442ab46b5c1cac4c8c8fc164e /tools/perf/scripts/python/bin/stackcollapse-report
parentbf326cf53a38e3cebbbb929216718fa9c925e869 (diff)
wifi: mac80211: fix mesh airtime link metric estimating
ieee80211s_update_metric function uses sta_set_rate_info_tx function to get struct rate_info data from ieee80211_tx_rate struct, present in ieee80211_sta->deflink.tx_stats. However, drivers can skip tx rate calculation by setting rate idx as -1. Such drivers provides rate_info directly and hence ieee80211s metric is updated incorrectly since ieee80211_tx_rate has inconsistent data. Add fix to use rate_info directly if present instead of sta_set_rate_info_tx for updating ieee80211s metric. Signed-off-by: Aditya Kumar Singh <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions