]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: ath12k: fix wrong logging ID used for CE
authorBaochen Qiang <baochen.qiang@oss.qualcomm.com>
Fri, 15 Aug 2025 01:44:57 +0000 (09:44 +0800)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Thu, 18 Sep 2025 23:43:47 +0000 (16:43 -0700)
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>
drivers/net/wireless/ath/ath12k/ce.c
drivers/net/wireless/ath/ath12k/debug.h

index f93a419abf65ec6e9b31e22c78c8c2cdd7bdbc76..c5aadbc6367ce0d18080bb0e15a88d3ddf2e34ff 100644 (file)
@@ -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);
        }
index 48916e4e1f6014055bbd56d5c71ef9182c78f3b6..bf254e43a68d08f97171d9baffd0ebc3aabfb3e4 100644 (file)
@@ -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,
 };