diff --git a/os_if/linux/wlan_osif_features.h b/os_if/linux/wlan_osif_features.h index 08427ae3bc..0bf522ace6 100644 --- a/os_if/linux/wlan_osif_features.h +++ b/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