Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107022475
D44260.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D44260.diff
View Options
diff --git a/sys/compat/linuxkpi/common/src/linux_80211.h b/sys/compat/linuxkpi/common/src/linux_80211.h
--- a/sys/compat/linuxkpi/common/src/linux_80211.h
+++ b/sys/compat/linuxkpi/common/src/linux_80211.h
@@ -61,6 +61,7 @@
#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 0x00010000
+#define D80211_TRACE_CRYPTO 0x00020000
#define D80211_TRACE_MO 0x00100000
#define D80211_TRACE_MODE 0x0f000000
#define D80211_TRACE_MODE_HT 0x01000000
diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -102,9 +102,15 @@
printf("XXX-TODO %s:%d: UNIMPLEMENTED\n", __func__, __LINE__)
#define TRACEOK() if (linuxkpi_debug_80211 & D80211_TRACEOK) \
printf("XXX-TODO %s:%d: TRACEPOINT\n", __func__, __LINE__)
+
+#define LKPI_80211_TRACE_CRYPTO(fmt, ...) \
+ if (linuxkpi_debug_80211 & D80211_TRACE_CRYPTO) \
+ printf("LKPI_80211_TRACE_CRYPTO %s:%d: %u_" fmt "\n", \
+ __func__, __LINE__, (unsigned int)ticks, __VA_ARGS__)
#else
#define UNIMPLEMENTED do { } while (0)
#define TRACEOK() do { } while (0)
+#define LKPI_80211_TRACE_CRYPTO(...) do { } while(0)
#endif
/* #define PREP_TX_INFO_DURATION (IEEE80211_TRANS_WAIT * 1000) */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 2:48 AM (10 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15738741
Default Alt Text
D44260.diff (1 KB)
Attached To
Mode
D44260: LinuxKPI: LKPI_80211_HW_CRYPTO: add crypto debug flag in LinuxKPI
Attached
Detach File
Event Timeline
Log In to Comment