|
@@ -61,4 +61,26 @@
|
|
|
#define CFG80211_11BE_BASIC 1
|
|
|
#endif
|
|
|
|
|
|
+/*
|
|
|
+ * CFG80211_SA_QUERY_OFFLOAD_SUPPORT
|
|
|
+ * Used to indicate the Linux Kernel contains support to offload SA Query
|
|
|
+ * procedures for AP SME device
|
|
|
+ *
|
|
|
+ * This feature was introduced in Linux Kernel 5.17 via:
|
|
|
+ * 47301a74bbfa ("nl80211: Add support to set AP settings flags with single attribute")
|
|
|
+ * 87c1aec15dee ("nl80211: Add support to offload SA Query procedures for AP SME device")
|
|
|
+ *
|
|
|
+ * This feature was backported to Android Common Kernel 5.15 via:
|
|
|
+ * https://android-review.googlesource.com/c/kernel/common/+/1958439
|
|
|
+ * https://android-review.googlesource.com/c/kernel/common/+/1958440
|
|
|
+ */
|
|
|
+
|
|
|
+#if (defined(__ANDROID_COMMON_KERNEL__) && \
|
|
|
+ (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)) && \
|
|
|
+ (LINUX_VERSION_CODE < KERNEL_VERSION(5, 16, 0))) || \
|
|
|
+ (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0))
|
|
|
+#define CFG80211_SA_QUERY_OFFLOAD_SUPPORT 1
|
|
|
+#endif
|
|
|
+
|
|
|
+
|
|
|
#endif
|