|
@@ -17,6 +17,50 @@
|
|
|
#ifndef CONFIG_TO_FEATURE_H
|
|
|
#define CONFIG_TO_FEATURE_H
|
|
|
|
|
|
+#ifdef CONFIG_CFG80211_SINGLE_NETDEV_MULTI_LINK_SUPPORT
|
|
|
+#define CFG80211_SINGLE_NETDEV_MULTI_LINK_SUPPORT (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_CFG80211_MLO_KEY_OPERATION_SUPPORT
|
|
|
+#define CFG80211_MLO_KEY_OPERATION_SUPPORT (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_CFG80211_LINK_STA_PARAMS_PRESENT
|
|
|
+#define CFG80211_LINK_STA_PARAMS_PRESENT (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_CFG80211_RU_PUNCT_SUPPORT
|
|
|
+#define CFG80211_RU_PUNCT_SUPPORT (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_CFG80211_RU_PUNCT_NOTIFY
|
|
|
+#define CFG80211_RU_PUNCT_NOTIFY (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_CFG80211_EXT_FEATURE_AUTH_AND_DEAUTH_RANDOM_TA
|
|
|
+#define CFG80211_EXT_FEATURE_AUTH_AND_DEAUTH_RANDOM_TA (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_CFG80211_EXTERNAL_AUTH_MLO_SUPPORT
|
|
|
+#define CFG80211_EXTERNAL_AUTH_MLO_SUPPORT (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_CFG80211_EXT_FEATURE_SECURE_NAN
|
|
|
+#define CFG80211_EXT_FEATURE_SECURE_NAN (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_CFG80211_MLD_AP_STA_CONNECT_UPSTREAM_SUPPORT
|
|
|
+#define CFG80211_MLD_AP_STA_CONNECT_UPSTREAM_SUPPORT (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_CFG80211_SET_KEY_WITH_SRC_MAC
|
|
|
+#define CFG80211_SET_KEY_WITH_SRC_MAC (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_CFG80211_KEY_INSTALL_SUPPORT_ON_WDEV
|
|
|
+#define CFG80211_KEY_INSTALL_SUPPORT_ON_WDEV (1)
|
|
|
+#endif
|
|
|
+
|
|
|
#ifdef CONFIG_ONE_MSI_VECTOR
|
|
|
#define WLAN_ONE_MSI_VECTOR (1)
|
|
|
#endif
|
|
@@ -477,6 +521,14 @@
|
|
|
#define FEATURE_RUNTIME_PM (1)
|
|
|
#endif
|
|
|
|
|
|
+#if defined(CONFIG_ICNSS) || defined(CONFIG_ICNSS_MODULE)
|
|
|
+#ifdef CONFIG_SNOC_FW_SIM
|
|
|
+#define CONFIG_PLD_SNOC_FW_SIM (1)
|
|
|
+#else
|
|
|
+#define CONFIG_PLD_SNOC_ICNSS (1)
|
|
|
+#endif
|
|
|
+#endif
|
|
|
+
|
|
|
#ifdef CONFIG_PLD_SNOC_ICNSS_FLAG
|
|
|
#define CONFIG_PLD_SNOC_ICNSS (1)
|
|
|
#endif
|
|
@@ -501,7 +553,7 @@
|
|
|
#define ADRASTEA_RRI_ON_DDR (1)
|
|
|
#endif
|
|
|
|
|
|
-#ifdef CONFIG_QMI_SUPPORT
|
|
|
+#ifndef CONFIG_QMI_SUPPORT
|
|
|
#define CONFIG_BYPASS_QMI (1)
|
|
|
#endif
|
|
|
|
|
@@ -524,6 +576,11 @@
|
|
|
#define FEATURE_NAPI_DEBUG (1)
|
|
|
#endif
|
|
|
#endif
|
|
|
+
|
|
|
+#if defined(CONFIG_ARCH_MSM) || defined(CONFIG_ARCH_QCOM)
|
|
|
+#define MSM_PLATFORM (1)
|
|
|
+#endif
|
|
|
+
|
|
|
#ifdef CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH
|
|
|
#define WLAN_FEATURE_DP_BUS_BANDWIDTH (1)
|
|
|
#endif
|
|
@@ -617,7 +674,6 @@
|
|
|
|
|
|
#ifdef CONFIG_LEAK_DETECTION
|
|
|
#define CONFIG_HALT_KMEMLEAK (1)
|
|
|
-#define CONFIG_LEAK_DETECTION (1)
|
|
|
#define MEMORY_DEBUG (1)
|
|
|
#define NBUF_MEMORY_DEBUG (1)
|
|
|
#define NBUF_MAP_UNMAP_DEBUG (1)
|
|
@@ -629,7 +685,7 @@
|
|
|
#endif
|
|
|
|
|
|
#ifdef CONFIG_QCOM_VOWIFI_11R
|
|
|
-#define KERNEL_SUPPORT_11R_CF (80211)
|
|
|
+#define KERNEL_SUPPORT_11R_CFG80211 (1)
|
|
|
#define USE_80211_WMMTSPEC_FOR_RIC (1)
|
|
|
#endif
|
|
|
|
|
@@ -689,6 +745,18 @@
|
|
|
#define WLAN_FEATURE_P2P_P2P_STA (1)
|
|
|
#endif
|
|
|
|
|
|
+#if defined(CONFIG_CNSS_GENL) || defined(CONFIG_CNSS_GENL_MODULE)
|
|
|
+#define CNSS_GENL (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#if defined(CONFIG_CNSS_UTILS) || defined(CONFIG_CNSS_UTILS_MODULE)
|
|
|
+#define CNSS_UTILS (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#if defined(CONFIG_WCNSS_MEM_PRE_ALLOC) || defined(CONFIG_WCNSS_MEM_PRE_ALLOC_MODULE)
|
|
|
+#define CNSS_MEM_PRE_ALLOC (1)
|
|
|
+#endif
|
|
|
+
|
|
|
#ifdef CONFIG_QCACLD_WLAN_LFR2
|
|
|
#define WLAN_FEATURE_HOST_ROAM (1)
|
|
|
#endif
|
|
@@ -1057,6 +1125,11 @@
|
|
|
#define QCA_WIFI_FTM_NL80211 (1)
|
|
|
#endif
|
|
|
|
|
|
+#ifdef CONFIG_LINUX_QCMBR
|
|
|
+#define LINUX_QCMBR (1)
|
|
|
+#define QCA_WIFI_FTM_IOCTL (1)
|
|
|
+#endif
|
|
|
+
|
|
|
#ifdef CONFIG_CHECKSUM_OFFLOAD
|
|
|
#define CHECKSUM_OFFLOAD (1)
|
|
|
#endif
|
|
@@ -1443,6 +1516,10 @@
|
|
|
#define QCA_WIFI_QCA8074 (1)
|
|
|
#endif
|
|
|
|
|
|
+#ifdef CONFIG_SCALE_INCLUDES
|
|
|
+#define SCALE_INCLUDES (1)
|
|
|
+#endif
|
|
|
+
|
|
|
#ifdef CONFIG_QCA_WIFI_QCA8074_VP
|
|
|
#define QCA_WIFI_QCA8074_VP (1)
|
|
|
#endif
|
|
@@ -1479,10 +1556,6 @@
|
|
|
#define DP_TXRX_SOC_ATTACH (1)
|
|
|
#endif
|
|
|
|
|
|
-#ifdef CONFIG_WLAN_FEATURE_BMI
|
|
|
-#define WLAN_FEATURE_BMI (1)
|
|
|
-#endif
|
|
|
-
|
|
|
#ifdef CONFIG_QCA_TX_PADDING_CREDIT_SUPPORT
|
|
|
#define QCA_TX_PADDING_CREDIT_SUPPORT (1)
|
|
|
#endif
|
|
@@ -1745,6 +1818,10 @@
|
|
|
#define WLAN_FEATURE_11BE_MLO_ADV_FEATURE (1)
|
|
|
#endif
|
|
|
|
|
|
+#ifdef CONFIG_WLAN_FEATURE_11BE_MLO
|
|
|
+#define WLAN_SUPPORT_11BE_D3_0 (1)
|
|
|
+#endif
|
|
|
+
|
|
|
#ifdef CONFIG_FIX_TXDMA_LIMITATION
|
|
|
#define FIX_TXDMA_LIMITATION (1)
|
|
|
#endif
|
|
@@ -2175,7 +2252,7 @@
|
|
|
#define QMI_WFDS (1)
|
|
|
#endif
|
|
|
#endif
|
|
|
-#ifdef CONFIG_MAX_LOGS_PER_SEC
|
|
|
+#if defined(CONFIG_MAX_LOGS_PER_SEC) && defined(CONFIG_ENABLE_MAX_LOGS_PER_SEC)
|
|
|
#define WLAN_MAX_LOGS_PER_SEC (CONFIG_MAX_LOGS_PER_SEC)
|
|
|
#endif
|
|
|
|
|
@@ -2183,7 +2260,8 @@
|
|
|
#define WLAN_DUMP_LOG_BUF_CNT (CONFIG_DUMP_LOG_BUF_CNT)
|
|
|
#endif
|
|
|
|
|
|
-#ifdef CONFIG_SCHED_HISTORY_SIZE
|
|
|
+#if defined(CONFIG_SCHED_HISTORY_SIZE) && \
|
|
|
+ defined(CONFIG_ENABLE_SCHED_HISTORY_SIZE)
|
|
|
#define WLAN_SCHED_HISTORY_SIZE (CONFIG_SCHED_HISTORY_SIZE)
|
|
|
#endif
|
|
|
|
|
@@ -2689,4 +2767,82 @@
|
|
|
#define WLAN_FEATURE_SSR_DRIVER_DUMP (1)
|
|
|
#endif
|
|
|
|
|
|
+#ifdef CONFIG_WLAN_CTRL_NAME
|
|
|
+#define WLAN_CTRL_NAME (CONFIG_WLAN_CTRL_NAME)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_ENABLE_CE4_COMP_DISABLE_HTT_HTC_MISC_LIST
|
|
|
+#define ENABLE_CE4_COMP_DISABLE_HTT_HTC_MISC_LIST
|
|
|
+#endif
|
|
|
+
|
|
|
+#if defined(CONFIG_LITHIUM) || defined(CONFIG_BERYLLIUM)
|
|
|
+#ifdef CONFIG_QCOM_TDLS
|
|
|
+#define TDLS_WOW_ENABLED (1)
|
|
|
+#endif
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_MORE_TX_DESC
|
|
|
+#define TX_TO_NPEERS_INC_TX_DESCS
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_WLAN_HOST_ARCH_ARM
|
|
|
+#define WLAN_HOST_ARCH_ARM (1)
|
|
|
+#else
|
|
|
+#define WLAN_HOST_ARCH_ARM (0)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_PANIC_ON_BUG
|
|
|
+#define PANIC_ON_BUG (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_WLAN_WARN_ON_ASSERT
|
|
|
+#define WLAN_WARN_ON_ASSERT (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_WLAN_DP_LOCAL_PKT_CAPTURE
|
|
|
+#define WLAN_FEATURE_LOCAL_PKT_CAPTURE (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_WIFI_MONITOR_SUPPORT_Y_WLAN_TX_MON_2_0
|
|
|
+#define WLAN_PKT_CAPTURE_TX_2_0 (1)
|
|
|
+#define WLAN_TX_PKT_CAPTURE_ENH_BE (1)
|
|
|
+#define QDF_FRAG_CACHE_SUPPORT (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_DP_TX_PACKET_INSPECT_FOR_ILP
|
|
|
+#define DP_TX_PACKET_INSPECT_FOR_ILP (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_NUM_SOC_PERF_CLUSTER
|
|
|
+#define NUM_SOC_PERF_CLUSTER (CONFIG_NUM_SOC_PERF_CLUSTER)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_WLAN_OPEN_SOURCE
|
|
|
+#define WLAN_OPEN_SOURCE (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#define MULTI_IF_NAME "kiwi_v2"
|
|
|
+
|
|
|
+#ifdef CONFIG_DP_MULTIPASS_SUPPORT
|
|
|
+#define QCA_MULTIPASS_SUPPORT (1)
|
|
|
+#define WLAN_REPEATER_NOT_SUPPORTED (1)
|
|
|
+#define QCA_SUPPORT_PEER_ISOLATION (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_WLAN_FEATURE_LL_LT_SAP
|
|
|
+#define WLAN_FEATURE_LL_LT_SAP (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_WLAN_FEATURE_AFFINITY_MGR
|
|
|
+#define WLAN_FEATURE_AFFINITY_MGR (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_WLAN_DP_VDEV_NO_SELF_PEER
|
|
|
+#define WLAN_DP_VDEV_NO_SELF_PEER (1)
|
|
|
+#endif
|
|
|
+
|
|
|
+#ifdef CONFIG_NL80211_EXT_FEATURE_PUNCT_SUPPORT
|
|
|
+#define NL80211_EXT_FEATURE_PUNCT_SUPPORT (1)
|
|
|
+#endif
|
|
|
+
|
|
|
#endif /* CONFIG_TO_FEATURE_H */
|