]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: iwlwifi: mld: add a debug level for PTP prints
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 12 Feb 2025 05:43:25 +0000 (07:43 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 26 Feb 2025 14:48:54 +0000 (15:48 +0100)
This is required for PTP related debug prints.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250212073923.866f8f66b1d7.I764abcb845d992d058c753ce8fa9d45fed2ff4ec@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-debug.h

index bf52c2edaad124d55798604dc95cb40701fbd231..5377dda9ad5364eecb5bed8998088046454146f9 100644 (file)
@@ -2,7 +2,7 @@
 /******************************************************************************
  *
  * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved.
- * Copyright(c) 2018 - 2021, 2024 Intel Corporation
+ * Copyright(c) 2018 - 2021, 2024-2025 Intel Corporation
  *
  * Portions of this file are derived from the ipw3945 project.
  *****************************************************************************/
@@ -156,6 +156,7 @@ do {                                                                \
 #define IWL_DL_FW              0x00010000
 #define IWL_DL_RF_KILL         0x00020000
 #define IWL_DL_TPT             0x00040000
+#define IWL_DL_PTP             0x00080000
 /* 0x00F00000 - 0x00100000 */
 #define IWL_DL_RATE            0x00100000
 #define IWL_DL_CALIB           0x00200000
@@ -216,5 +217,6 @@ do {                                                                \
 #define IWL_DEBUG_LAR(p, f, a...)      IWL_DEBUG(p, IWL_DL_LAR, f, ## a)
 #define IWL_DEBUG_FW_INFO(p, f, a...)          \
                IWL_DEBUG(p, IWL_DL_INFO | IWL_DL_FW, f, ## a)
+#define IWL_DEBUG_PTP(p, f, a...)      IWL_DEBUG(p, IWL_DL_PTP, f, ## a)
 
 #endif