소스 검색

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