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
This commit is contained in:
Arun Kumar Khandavalli
2022-07-08 09:23:37 +05:30
committed by Madan Koyyalamudi
parent 728ff15ea3
commit 08067d2b67

View File

@@ -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