|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
- * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
|
|
|
+ * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -109,9 +109,10 @@
|
|
* https://android-review.googlesource.com/c/kernel/common/+/2115621
|
|
* https://android-review.googlesource.com/c/kernel/common/+/2115621
|
|
*
|
|
*
|
|
*/
|
|
*/
|
|
-#if (defined(__ANDROID_COMMON_KERNEL__) && \
|
|
|
|
|
|
+#if ((defined(__ANDROID_COMMON_KERNEL__) && \
|
|
(LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)) && \
|
|
(LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)) && \
|
|
- (defined IEEE80211_MLD_MAX_NUM_LINKS))
|
|
|
|
|
|
+ (defined IEEE80211_MLD_MAX_NUM_LINKS)) || \
|
|
|
|
+ (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 6, 0)))
|
|
#define CFG80211_SINGLE_NETDEV_MULTI_LINK_SUPPORT 1
|
|
#define CFG80211_SINGLE_NETDEV_MULTI_LINK_SUPPORT 1
|
|
#endif
|
|
#endif
|
|
|
|
|