Page MenuHomeFreeBSD

D44260.diff
No OneTemporary

D44260.diff

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

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)

Event Timeline