qcacld-3.0: Add Kbuild support for FIPS feature
In order to get FIPS certification the driver will need to support a
userspace API and accompanying logic to exercise the FIPS WMI
interface exposed by firmware. Since this logic need not be enabled on
production devices, expose a configuration knob so that it can be
enabled or disabled on demand.
Change-Id: I979be0175ea89e9147b07b222f54a7c3fc23dbd9
CRs-Fixed: 2065002
diff --git a/Kbuild b/Kbuild
index faab588..9e04d6d 100644
--- a/Kbuild
+++ b/Kbuild
@@ -167,6 +167,9 @@
#Flag to enable DISA
CONFIG_WLAN_FEATURE_DISA := y
+ #Flag to enable FIPS
+ CONFIG_WLAN_FEATURE_FIPS := y
+
#Flag to enable Fast Path feature
CONFIG_WLAN_FASTPATH := y
@@ -2099,6 +2102,10 @@
CDEFINES += -DWLAN_FEATURE_DISA
endif
+ifeq ($(CONFIG_WLAN_FEATURE_FIPS),y)
+CDEFINES += -DWLAN_FEATURE_FIPS
+endif
+
ifeq ($(CONFIG_LFR_SUBNET_DETECTION), y)
CDEFINES += -DFEATURE_LFR_SUBNET_DETECTION
endif