qcacmn: Introduce a new macro to support ML external auth changes

Introduce new macro to support ML external auth changes in
host driver with cfg80211.

Change-Id: Ifa9ab729ce12b261d10cddc699bfb9a5e1b4956a
CRs-Fixed: 3385381
This commit is contained in:
Deeksha Gupta
2023-01-20 14:57:23 +05:30
committed by Madan Koyyalamudi
szülő a1a81cce96
commit d7eb35e4de

Fájl megtekintése

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2022-2023 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
@@ -228,4 +228,22 @@
(defined IEEE80211_EHT_OPER_INFO_PRESENT))
#define CFG80211_TX_CONTROL_PORT_LINK_SUPPORT 1
#endif
/*
* CFG80211_EXTERNAL_AUTH_MLO_SUPPORT
* Used to indicate Linux kernel contains support for ML external auth
*
* TODO: Corresponding Linux kernel changes are still under wirless-next
* will add the commit-ID when available.
*/
/*
* TODO: will add this check when available.
* #if (defined(__ANDROID_COMMON_KERNEL__) && \
* (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)) && \
* (defined CFG80211_EXTERNAL_AUTH_MLO_SUPPORT))
*/
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0) || \
(defined CFG80211_EXTERNAL_AUTH_MLO_SUPPORT))
#define WLAN_EXTERNAL_AUTH_MLO_SUPPORT
#endif
#endif