summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eichenberger <eichest@gmail.com>2022-10-21 17:51:47 +0200
committerStefan Eichenberger <eichest@gmail.com>2022-10-21 17:51:47 +0200
commitca5ce278e2baa20b50ab5ce7b6a0f5a2d8898e4d (patch)
treef8f0d748a35756eebcf2dbe9c3e725220e046298
parentfe6128314274d707b67f80ce512b146892a06ec0 (diff)
linux-toradex-mainline: Compile wifi stack as modules
Compile the 80211 drivers as loadable kernel modules. By having them as loadable modules we have the filesystem already ready when loading so that the modules can access the regulatory.db under /lib/firmware/regulatory.db. This will allow us to change the regulatory domain with iw reg set if required. Related-to: ELB-4815 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline-git/defconfig6
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v6_v7.config4
2 files changed, 8 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-toradex-mainline-git/defconfig b/recipes-kernel/linux/linux-toradex-mainline-git/defconfig
index 3a7586c..31cd24f 100644
--- a/recipes-kernel/linux/linux-toradex-mainline-git/defconfig
+++ b/recipes-kernel/linux/linux-toradex-mainline-git/defconfig
@@ -68,9 +68,9 @@ CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_MRVL=m
CONFIG_BT_MRVL_SDIO=m
-CONFIG_CFG80211=y
+CONFIG_CFG80211=m
CONFIG_CFG80211_WEXT=y
-CONFIG_MAC80211=y
+CONFIG_MAC80211=m
CONFIG_RFKILL=y
CONFIG_RFKILL_INPUT=y
CONFIG_PCI=y
@@ -520,6 +520,8 @@ CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_15=m
CONFIG_NLS_UTF8=y
CONFIG_SECURITYFS=y
+CONFIG_CRYPTO_CTR=y
+CONFIG_CRYPTO_GHASH=y
CONFIG_CRYPTO_DEV_FSL_CAAM=y
CONFIG_CRYPTO_DEV_SAHARA=y
CONFIG_CRYPTO_DEV_MXS_DCP=y
diff --git a/recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v6_v7.config b/recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v6_v7.config
index 2d9cc4f..1b505db 100644
--- a/recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v6_v7.config
+++ b/recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v6_v7.config
@@ -64,6 +64,10 @@ CONFIG_RTL8192CU=m
CONFIG_RTL8XXXU=m
CONFIG_R8188EU=m
+# 80211 as modules, so that regulatory.db is available when loading
+CONFIG_CFG80211=m
+CONFIG_MAC80211=m
+
# Networking
CONFIG_BRIDGE=m
CONFIG_VLAN_8021Q=m