git: 9f5f879220ab - stable/13 - LinuxKPI: 802.11: zero-pad debug flags

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Wed, 29 Nov 2023 16:38:54 UTC
The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=9f5f879220ab309e1315f7e3f2fb0af955458e3e

commit 9f5f879220ab309e1315f7e3f2fb0af955458e3e
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-10-28 18:43:43 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-11-29 16:36:11 +0000

    LinuxKPI: 802.11: zero-pad debug flags
    
    Write the debug flags as full 32bit hex numbers to have a better
    view on them.
    
    No functional changes.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 8895b47638ea4d7a13fba97afe8cd9faacfdda83)
---
 sys/compat/linuxkpi/common/src/linux_80211.h | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/sys/compat/linuxkpi/common/src/linux_80211.h b/sys/compat/linuxkpi/common/src/linux_80211.h
index 93c1e2873206..74dc3c9f9dee 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211.h
+++ b/sys/compat/linuxkpi/common/src/linux_80211.h
@@ -45,23 +45,23 @@
 /* #define	LINUXKPI_DEBUG_80211 */
 
 #ifndef	D80211_TODO
-#define	D80211_TODO		0x1
+#define	D80211_TODO		0x00000001
 #endif
 #ifndef D80211_IMPROVE
-#define	D80211_IMPROVE		0x2
+#define	D80211_IMPROVE		0x00000002
 #endif
-#define	D80211_IMPROVE_TXQ	0x4
-#define	D80211_TRACE		0x10
-#define	D80211_TRACEOK		0x20
-#define	D80211_TRACE_TX		0x100
-#define	D80211_TRACE_TX_DUMP	0x200
-#define	D80211_TRACE_RX		0x1000
-#define	D80211_TRACE_RX_DUMP	0x2000
-#define	D80211_TRACE_RX_BEACONS	0x4000
+#define	D80211_IMPROVE_TXQ	0x00000004
+#define	D80211_TRACE		0x00000010
+#define	D80211_TRACEOK		0x00000020
+#define	D80211_TRACE_TX		0x00000100
+#define	D80211_TRACE_TX_DUMP	0x00000200
+#define	D80211_TRACE_RX		0x00001000
+#define	D80211_TRACE_RX_DUMP	0x00002000
+#define	D80211_TRACE_RX_BEACONS	0x00004000
 #define	D80211_TRACEX		(D80211_TRACE_TX|D80211_TRACE_RX)
 #define	D80211_TRACEX_DUMP	(D80211_TRACE_TX_DUMP|D80211_TRACE_RX_DUMP)
-#define	D80211_TRACE_STA	0x10000
-#define	D80211_TRACE_MO		0x100000
+#define	D80211_TRACE_STA	0x00010000
+#define	D80211_TRACE_MO		0x00100000
 
 #define	IMPROVE_TXQ(...)						\
     if (linuxkpi_debug_80211 & D80211_IMPROVE_TXQ)			\