瀏覽代碼

qcacmn: Introduce new macros to interface ML SAP changes

Introduce new macros to interface ML SAP capable
host driver with cfg80211.
SAP needs to provide additional information
about the clients when beaconing as ML SAP.

Change-Id: Ie673927d1f8617da38170d41e6aaedae13f4f5c8
CRs-Fixed: 3331264
Vinod Kumar Pirla 2 年之前
父節點
當前提交
10892b0f48
共有 1 個文件被更改,包括 21 次插入0 次删除
  1. 21 0
      os_if/linux/wlan_osif_features.h

+ 21 - 0
os_if/linux/wlan_osif_features.h

@@ -142,4 +142,25 @@
 	(LINUX_VERSION_CODE < KERNEL_VERSION(5, 16, 0)))
 #define CFG80211_MULTI_AKM_CONNECT_SUPPORT 1
 #endif
+
+/*
+ * WLAN_MLD_AP_STA_CONNECT_SUPPORT
+ * Used to indicate Linux Kernel supports ML connection on SAP.
+ */
+#if (defined(__ANDROID_COMMON_KERNEL__) && \
+	(LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)) && \
+	(defined CFG80211_MLD_AP_STA_CONNECT_SUPPORT))
+#define WLAN_MLD_AP_STA_CONNECT_SUPPORT 1
+#endif
+
+/*
+ * WLAN_MLD_AP_OWE_INFO_SUPPORT
+ * Used to indicate Linux Kernel supports ML OWE connection
+ * on SAP
+ */
+#if (defined(__ANDROID_COMMON_KERNEL__) && \
+	(LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)) && \
+	(defined CFG80211_MLD_AP_OWE_INFO_SUPPORT))
+#define WLAN_MLD_AP_OWE_INFO_SUPPORT 1
+#endif
 #endif