diff options
| author | Maharaja Kennadyrajan | 2019-02-27 12:24:41 +0100 |
|---|---|---|
| committer | Kalle Valo | 2019-05-07 15:37:15 +0200 |
| commit | 14bf9217d66dc799da0cda5f98aa49c6d3884120 (patch) | |
| tree | 8b0e848722ed4a79c75a23cee5ce5fced7e5bfbd /drivers/net/wireless/ath/ath10k/htt_tx.c | |
| parent | wil6210: remove HALP for Talyn devices (diff) | |
| download | kernel-qcow2-linux-14bf9217d66dc799da0cda5f98aa49c6d3884120.tar.gz kernel-qcow2-linux-14bf9217d66dc799da0cda5f98aa49c6d3884120.tar.xz kernel-qcow2-linux-14bf9217d66dc799da0cda5f98aa49c6d3884120.zip | |
ath10k: Extended the HTT stats support to retrieve Mu-MIMO related stats
Extended the bit mask value of the HTT stats to get the Mu-MIMO
related stats via tracing.
Signed-off-by: Maharaja Kennadyrajan <mkenna@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/htt_tx.c')
| -rw-r--r-- | drivers/net/wireless/ath/ath10k/htt_tx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath10k/htt_tx.c b/drivers/net/wireless/ath/ath10k/htt_tx.c index 78f07b7a3b21..1f07bed5e6eb 100644 --- a/drivers/net/wireless/ath/ath10k/htt_tx.c +++ b/drivers/net/wireless/ath/ath10k/htt_tx.c @@ -580,7 +580,7 @@ int ath10k_htt_h2t_ver_req_msg(struct ath10k_htt *htt) return 0; } -int ath10k_htt_h2t_stats_req(struct ath10k_htt *htt, u8 mask, u64 cookie) +int ath10k_htt_h2t_stats_req(struct ath10k_htt *htt, u32 mask, u64 cookie) { struct ath10k *ar = htt->ar; struct htt_stats_req *req; @@ -603,11 +603,11 @@ int ath10k_htt_h2t_stats_req(struct ath10k_htt *htt, u8 mask, u64 cookie) memset(req, 0, sizeof(*req)); - /* currently we support only max 8 bit masks so no need to worry + /* currently we support only max 24 bit masks so no need to worry * about endian support */ - req->upload_types[0] = mask; - req->reset_types[0] = mask; + memcpy(req->upload_types, &mask, 3); + memcpy(req->reset_types, &mask, 3); req->stat_type = HTT_STATS_REQ_CFG_STAT_TYPE_INVALID; req->cookie_lsb = cpu_to_le32(cookie & 0xffffffff); req->cookie_msb = cpu_to_le32((cookie & 0xffffffff00000000ULL) >> 32); |
