All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ath11k: fix extended stats update issue
@ 2019-06-18  4:35 Karthikeyan Periyasamy
  2019-06-20 13:49 ` Kalle Valo
       [not found] ` <20190620134957.7A6726137D@smtp.codeaurora.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Karthikeyan Periyasamy @ 2019-06-18  4:35 UTC (permalink / raw)
  To: ath11k; +Cc: Karthikeyan Periyasamy

user not able to see the valid tx stats. htt stats update
process get failed due to the wrong argument pass to
ath11k_get_ar_by_pdev_id API. Expected argument is pdev_id not
the pdev index. so avoid the conversion logic of pdev id to pdev
index in htt stats update process.

Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/dp_rx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c
index 1d9892e..971c437 100644
--- a/drivers/net/wireless/ath/ath11k/dp_rx.c
+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c
@@ -1294,7 +1294,6 @@ static int ath11k_htt_pull_ppdu_stats(struct ath11k_base *ab,
 
 	len = FIELD_GET(HTT_T2H_PPDU_STATS_PAYLOAD_SIZE_M, *(u32 *)data);
 	pdev_id = FIELD_GET(HTT_T2H_PPDU_STATS_PDEV_ID_M, *(u32 *)data);
-	pdev_id = DP_HW2SW_MACID(pdev_id);
 	ppdu_id = *((u32 *)data + 1);
 
 	rcu_read_lock();
-- 
1.9.1


_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [PATCH] ath11k: fix extended stats update issue
@ 2019-06-17 13:27 Karthikeyan Periyasamy
  2019-06-17 14:26 ` John Crispin
  2019-06-18 12:25 ` Kalle Valo
  0 siblings, 2 replies; 6+ messages in thread
From: Karthikeyan Periyasamy @ 2019-06-17 13:27 UTC (permalink / raw)
  To: ath11k; +Cc: Karthikeyan Periyasamy

user not able to see the valid tx stats. htt stats update
process get failed due to the wrong argument pass to
ath11k_get_ar_by_pdev_id API. Expected argument is pdev_id not
the pdev index. so avoid the conversion logic of pdev id to pdev
index in htt stats update process.

Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/dp_rx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c
index 1d9892e..971c437 100644
--- a/drivers/net/wireless/ath/ath11k/dp_rx.c
+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c
@@ -1294,7 +1294,6 @@ static int ath11k_htt_pull_ppdu_stats(struct ath11k_base *ab,
 
 	len = FIELD_GET(HTT_T2H_PPDU_STATS_PAYLOAD_SIZE_M, *(u32 *)data);
 	pdev_id = FIELD_GET(HTT_T2H_PPDU_STATS_PDEV_ID_M, *(u32 *)data);
-	pdev_id = DP_HW2SW_MACID(pdev_id);
 	ppdu_id = *((u32 *)data + 1);
 
 	rcu_read_lock();
-- 
1.9.1


_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-06-20 13:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-18  4:35 [PATCH] ath11k: fix extended stats update issue Karthikeyan Periyasamy
2019-06-20 13:49 ` Kalle Valo
     [not found] ` <20190620134957.7A6726137D@smtp.codeaurora.org>
2019-06-20 13:59   ` Karthikeyan Periyasamy
  -- strict thread matches above, loose matches on Subject: below --
2019-06-17 13:27 Karthikeyan Periyasamy
2019-06-17 14:26 ` John Crispin
2019-06-18 12:25 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.