mbox series

[0/3] ath10k: correct tx/rx bitrate for QCA6174 PCIe and SDIO

Message ID 1597312029-32348-1-git-send-email-wgong@codeaurora.org (mailing list archive)
Headers show
Series ath10k: correct tx/rx bitrate for QCA6174 PCIe and SDIO | expand


Wen Gong Aug. 13, 2020, 9:47 a.m. UTC
iw wlan0 station dump not show the correct tx/rx bitrate of QCA6174
PCIe and SDIO, it is because it has 1 check for WMI_SERVICE_PEER_STATS
and 1 return for empty arsta->txrate, so change to pass the check and
remove the return, then iw wlan0 station dump show correct tx/rx bitrate
for QCA6174 SDIO.

After that, set true for supports_peer_stats_info of QCA6174 PCIe, then
it show same correct tx/rx bitrate.

Wen Gong (3):
  ath10k: add wmi service peer stat info for wmi tlv
  ath10k: remove return for NL80211_STA_INFO_TX_BITRATE
  ath10k: enable supports_peer_stats_info for QCA6174 PCI devices

 drivers/net/wireless/ath/ath10k/core.c    |  1 +
 drivers/net/wireless/ath/ath10k/mac.c     | 21 ++++++++++-----------
 drivers/net/wireless/ath/ath10k/wmi-tlv.h |  2 ++
 3 files changed, 13 insertions(+), 11 deletions(-)