wlan: Update kernel configuration parameters
Allow the Legacy Fast Roaming (LFR), Opportunistic Key Caching (OKC),
and 802.11ac High Throughput (11AC_HIGH_TP) features to be
configurable via the kernel configuration.
diff --git a/Kconfig b/Kconfig
index 4d234a1..64606d7 100644
--- a/Kconfig
+++ b/Kconfig
@@ -15,4 +15,16 @@
bool "Enable the Prima WLAN BT-AMP feature"
default n
+config PRIMA_WLAN_LFR
+ bool "Enable the Prima WLAN Legacy Fast Roaming feature"
+ default n
+
+config PRIMA_WLAN_OKC
+ bool "Enable the Prima WLAN Opportunistic Key Caching feature"
+ default n
+
+config PRIMA_WLAN_11AC_HIGH_TP
+ bool "Enable the Prima WLAN 802.11ac High Throughput option (depends upon kernel support)"
+ default n
+
endif # PRIMA_WLAN
diff --git a/Makefile b/Makefile
index 32e3ddb..8ad1b31 100644
--- a/Makefile
+++ b/Makefile
@@ -501,6 +501,14 @@
CDEFINES += -DFEATURE_WLAN_CCX
endif
+ifeq ($(CONFIG_PRIMA_WLAN_LFR),y)
+CDEFINES += -DFEATURE_WLAN_LFR
+endif
+
+ifeq ($(CONFIG_PRIMA_WLAN_OKC),y)
+CDEFINES += -DFEATURE_WLAN_OKC
+endif
+
ifeq ($(BUILD_DIAG_VERSION),1)
CDEFINES += -DFEATURE_WLAN_DIAG_SUPPORT
CDEFINES += -DFEATURE_WLAN_DIAG_SUPPORT_CSR
@@ -527,7 +535,9 @@
endif
CDEFINES += -DWLAN_FEATURE_11AC
+ifeq ($(CONFIG_PRIMA_WLAN_11AC_HIGH_TP),y)
CDEFINES += -DWLAN_FEATURE_11AC_HIGH_TP
+endif
CDEFINES += -DWLAN_FEATURE_P2P_DEBUG
CDEFINES += -DWLAN_ENABLE_AGEIE_ON_SCAN_RESULTS