|
@@ -1,6 +1,6 @@
|
|
|
/*
|
|
|
* Copyright (c) 2014-2020 The Linux Foundation. All rights reserved.
|
|
|
- * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
+ * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -68,6 +68,7 @@
|
|
|
#ifdef WLAN_SUPPORT_DPDK
|
|
|
#include <linux/uio_driver.h>
|
|
|
#endif
|
|
|
+#include <net/cfg80211.h>
|
|
|
|
|
|
#define __qdf_must_check __must_check
|
|
|
|
|
@@ -149,6 +150,17 @@ typedef unsigned long __sgtable_t;
|
|
|
#define __QDF_USEC_PER_MSEC USEC_PER_MSEC
|
|
|
#define __QDF_NSEC_PER_SEC NSEC_PER_SEC
|
|
|
|
|
|
+/*
|
|
|
+ * Monitor flags defined in kernel "enum monitor_flags"
|
|
|
+ */
|
|
|
+#define __QDF_MONITOR_FLAG_CHANGED MONITOR_FLAG_CHANGED
|
|
|
+#define __QDF_MONITOR_FLAG_FCSFAIL MONITOR_FLAG_FCSFAIL
|
|
|
+#define __QDF_MONITOR_FLAG_PLCPFAIL MONITOR_FLAG_PLCPFAIL
|
|
|
+#define __QDF_MONITOR_FLAG_CONTROL MONITOR_FLAG_CONTROL
|
|
|
+#define __QDF_MONITOR_FLAG_OTHER_BSS MONITOR_FLAG_OTHER_BSS
|
|
|
+#define __QDF_MONITOR_FLAG_COOK_FRAMES MONITOR_FLAG_COOK_FRAMES
|
|
|
+#define __QDF_MONITOR_FLAG_ACTIVE MONITOR_FLAG_ACTIVE
|
|
|
+
|
|
|
#if defined(__LITTLE_ENDIAN_BITFIELD)
|
|
|
#define QDF_LITTLE_ENDIAN_MACHINE
|
|
|
#elif defined(__BIG_ENDIAN_BITFIELD)
|