hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/net/wireless/intel/iwlwifi/iwl-debug.h
....@@ -1,24 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /******************************************************************************
23 *
34 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved.
5
+ * Copyright(c) 2018 - 2020 Intel Corporation
46 *
57 * Portions of this file are derived from the ipw3945 project.
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms of version 2 of the GNU General Public License as
9
- * published by the Free Software Foundation.
10
- *
11
- * This program is distributed in the hope that it will be useful, but WITHOUT
12
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14
- * more details.
15
- *
16
- * You should have received a copy of the GNU General Public License along with
17
- * this program; if not, write to the Free Software Foundation, Inc.,
18
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19
- *
20
- * The full GNU General Public License is included in this distribution in the
21
- * file called LICENSE.
228 *
239 * Contact Information:
2410 * Intel Linux Wireless <linuxwifi@intel.com>
....@@ -153,7 +139,7 @@
153139 /* 0x00000F00 - 0x00000100 */
154140 #define IWL_DL_POWER 0x00000100
155141 #define IWL_DL_TEMP 0x00000200
156
-#define IWL_DL_RPM 0x00000400
142
+#define IWL_DL_WOWLAN 0x00000400
157143 #define IWL_DL_SCAN 0x00000800
158144 /* 0x0000F000 - 0x00001000 */
159145 #define IWL_DL_ASSOC 0x00001000
....@@ -163,7 +149,7 @@
163149 /* 0x000F0000 - 0x00010000 */
164150 #define IWL_DL_FW 0x00010000
165151 #define IWL_DL_RF_KILL 0x00020000
166
-#define IWL_DL_FW_ERRORS 0x00040000
152
+#define IWL_DL_TPT 0x00040000
167153 /* 0x00F00000 - 0x00100000 */
168154 #define IWL_DL_RATE 0x00100000
169155 #define IWL_DL_CALIB 0x00200000
....@@ -197,7 +183,6 @@
197183 #define IWL_DEBUG_CALIB(p, f, a...) IWL_DEBUG(p, IWL_DL_CALIB, f, ## a)
198184 #define IWL_DEBUG_FW(p, f, a...) IWL_DEBUG(p, IWL_DL_FW, f, ## a)
199185 #define IWL_DEBUG_RF_KILL(p, f, a...) IWL_DEBUG(p, IWL_DL_RF_KILL, f, ## a)
200
-#define IWL_DEBUG_FW_ERRORS(p, f, a...) IWL_DEBUG(p, IWL_DL_FW_ERRORS, f, ## a)
201186 #define IWL_DEBUG_DROP(p, f, a...) IWL_DEBUG(p, IWL_DL_DROP, f, ## a)
202187 #define IWL_DEBUG_DROP_LIMIT(p, f, a...) \
203188 IWL_DEBUG_LIMIT(p, IWL_DL_DROP, f, ## a)
....@@ -219,7 +204,10 @@
219204 #define IWL_DEBUG_DEV_RADIO(p, f, a...) IWL_DEBUG_DEV(p, IWL_DL_RADIO, f, ## a)
220205 #define IWL_DEBUG_POWER(p, f, a...) IWL_DEBUG(p, IWL_DL_POWER, f, ## a)
221206 #define IWL_DEBUG_11H(p, f, a...) IWL_DEBUG(p, IWL_DL_11H, f, ## a)
222
-#define IWL_DEBUG_RPM(p, f, a...) IWL_DEBUG(p, IWL_DL_RPM, f, ## a)
207
+#define IWL_DEBUG_TPT(p, f, a...) IWL_DEBUG(p, IWL_DL_TPT, f, ## a)
208
+#define IWL_DEBUG_WOWLAN(p, f, a...) IWL_DEBUG(p, IWL_DL_WOWLAN, f, ## a)
223209 #define IWL_DEBUG_LAR(p, f, a...) IWL_DEBUG(p, IWL_DL_LAR, f, ## a)
210
+#define IWL_DEBUG_FW_INFO(p, f, a...) \
211
+ IWL_DEBUG(p, IWL_DL_INFO | IWL_DL_FW, f, ## a)
224212
225213 #endif