From 08067d2b67a13373cad9af9d1d708a029b2ef5db Mon Sep 17 00:00:00 2001 From: Arun Kumar Khandavalli Date: Fri, 8 Jul 2022 09:23:37 +0530 Subject: [PATCH] qcacmn: Add support to send SAE authentication frames with link address Add feature flag to indicate support for sending authentication frames with Link Address. Change-Id: Ifbd28b8d474b28b0e85a23c9c91ebccedb381d9c CRs-Fixed: 3239304 --- os_if/linux/wlan_osif_features.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/os_if/linux/wlan_osif_features.h b/os_if/linux/wlan_osif_features.h index 5070928269..2df832a149 100644 --- a/os_if/linux/wlan_osif_features.h +++ b/os_if/linux/wlan_osif_features.h @@ -115,4 +115,18 @@ (defined IEEE80211_MLD_MAX_NUM_LINKS)) #define CFG80211_SINGLE_NETDEV_MULTI_LINK_SUPPORT 1 #endif + +/** + * CFG80211_SAE_AUTH_TA_ADDR_SUPPORT + * Used to indicate the Linux Kernel contains support for ML SAE auth with link + * address as the transmitter address + * + * TODO: These changes are currently in internal review once upstreamed and + * backported to 5.15 need to add the respective commit-ids + */ +#if (defined(__ANDROID_COMMON_KERNEL__) && \ + (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)) && \ + (defined CFG80211_EXTERNAL_AUTH_TA_SUPPORT)) +#define CFG80211_SAE_AUTH_TA_ADDR_SUPPORT 1 +#endif #endif