linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wen Gong <wgong@codeaurora.org>
To: ath10k@lists.infradead.org
Cc: linux-wireless@vger.kernel.org, wgong@codeaurora.org
Subject: [PATCH 0/3] ath10k: correct tx/rx bitrate for QCA6174 PCIe and SDIO
Date: Thu, 13 Aug 2020 17:47:06 +0800	[thread overview]
Message-ID: <1597312029-32348-1-git-send-email-wgong@codeaurora.org> (raw)

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(-)

-- 
2.23.0


             reply	other threads:[~2020-08-13  9:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-13  9:47 Wen Gong [this message]
2020-08-13  9:47 ` [PATCH 1/3] ath10k: add wmi service peer stat info for wmi tlv Wen Gong
2020-08-13  9:47 ` [PATCH 2/3] ath10k: remove return for NL80211_STA_INFO_TX_BITRATE Wen Gong
2020-08-13  9:47 ` [PATCH 3/3] ath10k: enable supports_peer_stats_info for QCA6174 PCI devices Wen Gong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1597312029-32348-1-git-send-email-wgong@codeaurora.org \
    --to=wgong@codeaurora.org \
    --cc=ath10k@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).