diff options
author | Winnie Chen <winnie.chen@broadcom.corp-partner.google.com> | 2020-06-22 18:32:57 +0800 |
---|---|---|
committer | Ahmed ElArabawy <arabawy@google.com> | 2020-06-30 11:09:22 -0700 |
commit | 725cec0edd8de58bf4271ca5ac708586e1542858 (patch) | |
tree | e3de66419b5e61857ecffd49370ce149266b330b | |
parent | d1c74c071906b93b439dfbaebae46a04e7446d80 (diff) | |
download | bcm43752-725cec0edd8de58bf4271ca5ac708586e1542858.tar.gz |
bcmdhd: update wmePktStats counter in linkstats
Include only data frames with non-fixed rate in the counts.
Bug: 151425271
Test: Hikey960 + Android 11 + BCM43752PCIe
Fw needs patch and will be included in next release.
Signed-off-by: Winnie Chen <winnie.chen@broadcom.corp-partner.google.com>
Change-Id: I908b7708055ab479086656309ebc0f25705a68f2
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
-rw-r--r-- | wl_cfgvendor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wl_cfgvendor.c b/wl_cfgvendor.c index 1f4e5c2..9d6f28d 100644 --- a/wl_cfgvendor.c +++ b/wl_cfgvendor.c @@ -6902,9 +6902,9 @@ static int wl_cfgvendor_lstats_get_info(struct wiphy *wiphy, if_stats->version)); goto exit; } - COMPAT_ASSIGN_VALUE(iface, ac[WIFI_AC_BE].tx_mpdu, - (uint32)(if_stats->txfrmsnt - if_stats->txmulti)); - COMPAT_ASSIGN_VALUE(iface, ac[WIFI_AC_BE].rx_mpdu, (uint32)if_stats->rxframe); + COMPAT_ASSIGN_VALUE(iface, ac[WIFI_AC_BE].tx_mpdu, (uint32)if_stats->txframe); + COMPAT_ASSIGN_VALUE(iface, ac[WIFI_AC_BE].rx_mpdu, + (uint32)(if_stats->rxframe - if_stats->rxmulti)); COMPAT_ASSIGN_VALUE(iface, ac[WIFI_AC_BE].mpdu_lost, (uint32)if_stats->txfail); COMPAT_ASSIGN_VALUE(iface, ac[WIFI_AC_BE].retries, (uint32)if_stats->txretrans); } else |