Skip to contentSkip to conversation

ath11k: fix extended stats update issue

PATCH In review Karthikeyan Periyasamy 2 participants 3 messages Jun 18, 2019 – Jun 20, 2019 1 message not in the archive Qualcomm Atheros ATH11K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath11k: fix extended stats update issue

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.

---
 drivers/net/wireless/ath/ath11k/dp_rx.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/wireless/ath/ath11k/dp_rx.c +0 -1
index 1d9892e..971c437 100644
@@ -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();
Signature · 7 lines
1.9.1


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
#1 lore raw
Quoted 7 lines · 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.

This was already applied, right?

error: patch failed: drivers/net/wireless/ath/ath11k/dp_rx.c:1294
error: drivers/net/wireless/ath/ath11k/dp_rx.c: patch does not apply stg import: Diff does not apply cleanly

Patch set to Rejected.

Signature · 9 lines
https://patchwork.kernel.org/patch/11000877/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 11 lines · Kalle Valo
Quoted 7 lines · 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.

This was already applied, right?

Yes, Its already applied

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=ath11k-bringup&id=b24d6461d9cf254e512a91ca430be59e70da0d5d

Quoted 6 lines

error: patch failed: drivers/net/wireless/ath/ath11k/dp_rx.c:1294
error: drivers/net/wireless/ath/ath11k/dp_rx.c: patch does not apply stg import: Diff does not apply cleanly

Patch set to Rejected.

_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k