|
@@ -76,10 +76,27 @@ static inline int pld_pcie_wlan_disable(struct device *dev,
|
|
|
{
|
|
|
return 0;
|
|
|
}
|
|
|
+
|
|
|
+static inline int pld_pcie_wlan_hw_enable(void)
|
|
|
+{
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+
|
|
|
#else
|
|
|
int pld_pcie_wlan_enable(struct device *dev, struct pld_wlan_enable_cfg *config,
|
|
|
enum pld_driver_mode mode, const char *host_version);
|
|
|
int pld_pcie_wlan_disable(struct device *dev, enum pld_driver_mode mode);
|
|
|
+#ifdef FEATURE_CNSS_HW_SECURE_DISABLE
|
|
|
+static inline int pld_pcie_wlan_hw_enable(void)
|
|
|
+{
|
|
|
+ return cnss_wlan_hw_enable();
|
|
|
+}
|
|
|
+#else
|
|
|
+static inline int pld_pcie_wlan_hw_enable(void)
|
|
|
+{
|
|
|
+ return -EINVAL;
|
|
|
+}
|
|
|
+#endif
|
|
|
#endif
|
|
|
|
|
|
#if defined(CONFIG_PLD_PCIE_CNSS)
|