| From 5a7b4641d751521e9e7d8ea02f0d713111986351 Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Fri, 15 Aug 2025 09:44:57 +0800 |
| Subject: wifi: ath12k: fix wrong logging ID used for CE |
| |
| From: Baochen Qiang <baochen.qiang@oss.qualcomm.com> |
| |
| [ Upstream commit 43746f13fec67f6f223d64cfe96c095c9b468e70 ] |
| |
| ATH12K_DBG_AHB is used for CE logging which is not proper. Add |
| ATH12K_DBG_CE and replace ATH12K_DBG_AHB with it. |
| |
| Compile tested only. |
| |
| Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices") |
| Signed-off-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com> |
| Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com> |
| Link: https://patch.msgid.link/20250815-ath-dont-warn-on-ce-enqueue-fail-v1-2-f955ddc3ba7a@oss.qualcomm.com |
| Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com> |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| drivers/net/wireless/ath/ath12k/ce.c | 2 +- |
| drivers/net/wireless/ath/ath12k/debug.h | 1 + |
| 2 files changed, 2 insertions(+), 1 deletion(-) |
| |
| diff --git a/drivers/net/wireless/ath/ath12k/ce.c b/drivers/net/wireless/ath/ath12k/ce.c |
| index f93a419abf65e..c5aadbc6367ce 100644 |
| --- a/drivers/net/wireless/ath/ath12k/ce.c |
| +++ b/drivers/net/wireless/ath/ath12k/ce.c |
| @@ -478,7 +478,7 @@ static void ath12k_ce_recv_process_cb(struct ath12k_ce_pipe *pipe) |
| } |
| |
| while ((skb = __skb_dequeue(&list))) { |
| - ath12k_dbg(ab, ATH12K_DBG_AHB, "rx ce pipe %d len %d\n", |
| + ath12k_dbg(ab, ATH12K_DBG_CE, "rx ce pipe %d len %d\n", |
| pipe->pipe_num, skb->len); |
| pipe->recv_cb(ab, skb); |
| } |
| diff --git a/drivers/net/wireless/ath/ath12k/debug.h b/drivers/net/wireless/ath/ath12k/debug.h |
| index 48916e4e1f601..bf254e43a68d0 100644 |
| --- a/drivers/net/wireless/ath/ath12k/debug.h |
| +++ b/drivers/net/wireless/ath/ath12k/debug.h |
| @@ -26,6 +26,7 @@ enum ath12k_debug_mask { |
| ATH12K_DBG_DP_TX = 0x00002000, |
| ATH12K_DBG_DP_RX = 0x00004000, |
| ATH12K_DBG_WOW = 0x00008000, |
| + ATH12K_DBG_CE = 0x00010000, |
| ATH12K_DBG_ANY = 0xffffffff, |
| }; |
| |
| -- |
| 2.51.0 |
| |