qcacmn: Enable CFG80211_SINGLE_NETDEV_MULTI_LINK_SUPPORT for kernel-6.6

Currently, CFG80211_SINGLE_NETDEV_MULTI_LINK_SUPPORT is enabled based on
__ANDROID_COMMON_KERNEL__ and kernel version greater than equal to 5.15.

Enable it for above condition or if kernel version is greater than or
equal to 6.6.

Change-Id: I12ae6bf116e37999c935012485651bfadf8b9b2a
CRs-Fixed: 3681611
这个提交包含在:
Surabhi Vishnoi
2023-12-07 15:31:35 +05:30
提交者 Ravindra Konda
父节点 1446cc3832
当前提交 2e17c21b55

查看文件

@@ -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
* 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
*
*/
#if (defined(__ANDROID_COMMON_KERNEL__) && \
#if ((defined(__ANDROID_COMMON_KERNEL__) && \
(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
#endif