Răsfoiți Sursa

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
Arun Kumar Khandavalli 3 ani în urmă
părinte
comite
08067d2b67
1 a modificat fișierele cu 14 adăugiri și 0 ștergeri
  1. 14 0
      os_if/linux/wlan_osif_features.h

+ 14 - 0
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