mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
kernel: disable wireless extensions only when needed
They are only needed by a few very old drivers Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
37a0cae33e
commit
6eeb5d4564
@ -1108,6 +1108,22 @@ config KERNEL_NET_L3_MASTER_DEV
|
||||
This module provides glue between core networking code and device
|
||||
drivers to support L3 master devices like VRF.
|
||||
|
||||
config KERNEL_WIRELESS_EXT
|
||||
def_bool n
|
||||
|
||||
config KERNEL_WEXT_CORE
|
||||
def_bool KERNEL_WIRELESS_EXT
|
||||
|
||||
config KERNEL_WEXT_PRIV
|
||||
def_bool KERNEL_WIRELESS_EXT
|
||||
|
||||
config KERNEL_WEXT_PROC
|
||||
def_bool KERNEL_WIRELESS_EXT
|
||||
|
||||
config KERNEL_WEXT_SPY
|
||||
def_bool KERNEL_WIRELESS_EXT
|
||||
|
||||
|
||||
#
|
||||
# NFS related symbols
|
||||
#
|
||||
|
@ -40,7 +40,7 @@ endef
|
||||
define KernelPackage/brcm-wl/Default
|
||||
$(call Package/broadcom-wl/Default)
|
||||
SECTION:=kernel
|
||||
DEPENDS:=@(TARGET_bcm47xx||TARGET_bcm63xx) +wireless-tools
|
||||
DEPENDS:=@(TARGET_bcm47xx||TARGET_bcm63xx) +wireless-tools +@KERNEL_WIRELESS_EXT
|
||||
TITLE:=Kernel driver for BCM43xx chipsets
|
||||
FILES:=$(PKG_BUILD_DIR)/driver$(1)/wl.ko $(PKG_BUILD_DIR)/glue/wl_glue.ko
|
||||
AUTOLOAD:=$(call AutoProbe,wl)
|
||||
|
@ -56,7 +56,6 @@ config_package=$(if $(CONFIG_PACKAGE_kmod-$(1)),m)
|
||||
|
||||
config-y:= \
|
||||
WLAN \
|
||||
CFG80211_WEXT \
|
||||
CFG80211_CERTIFICATION_ONUS \
|
||||
MAC80211_RC_MINSTREL \
|
||||
MAC80211_RC_MINSTREL_HT \
|
||||
|
@ -65,6 +65,7 @@ config WPA_WOLFSSL
|
||||
|
||||
config DRIVER_WEXT_SUPPORT
|
||||
bool
|
||||
select KERNEL_WIRELESS_EXT
|
||||
default n
|
||||
|
||||
config DRIVER_11N_SUPPORT
|
||||
|
@ -7085,15 +7085,15 @@ CONFIG_WATCHDOG_OPEN_TIMEOUT=0
|
||||
# CONFIG_WD80x3 is not set
|
||||
# CONFIG_WDAT_WDT is not set
|
||||
# CONFIG_WDTPCI is not set
|
||||
CONFIG_WEXT_CORE=y
|
||||
CONFIG_WEXT_PRIV=y
|
||||
CONFIG_WEXT_PROC=y
|
||||
CONFIG_WEXT_SPY=y
|
||||
# CONFIG_WEXT_CORE is not set
|
||||
# CONFIG_WEXT_PRIV is not set
|
||||
# CONFIG_WEXT_PROC is not set
|
||||
# CONFIG_WEXT_SPY is not set
|
||||
CONFIG_WILINK_PLATFORM_DATA=y
|
||||
# CONFIG_WIMAX is not set
|
||||
# CONFIG_WIREGUARD is not set
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_WIRELESS_EXT=y
|
||||
# CONFIG_WIRELESS_EXT is not set
|
||||
# CONFIG_WIRELESS_WDS is not set
|
||||
# CONFIG_WIZNET_W5100 is not set
|
||||
# CONFIG_WIZNET_W5300 is not set
|
||||
|
@ -7419,15 +7419,15 @@ CONFIG_WATCHDOG_OPEN_TIMEOUT=0
|
||||
# CONFIG_WDAT_WDT is not set
|
||||
# CONFIG_WDTPCI is not set
|
||||
# CONFIG_WERROR is not set
|
||||
CONFIG_WEXT_CORE=y
|
||||
CONFIG_WEXT_PRIV=y
|
||||
CONFIG_WEXT_PROC=y
|
||||
CONFIG_WEXT_SPY=y
|
||||
# CONFIG_WEXT_CORE is not set
|
||||
# CONFIG_WEXT_PRIV is not set
|
||||
# CONFIG_WEXT_PROC is not set
|
||||
# CONFIG_WEXT_SPY is not set
|
||||
CONFIG_WILINK_PLATFORM_DATA=y
|
||||
# CONFIG_WIMAX is not set
|
||||
# CONFIG_WIREGUARD is not set
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_WIRELESS_EXT=y
|
||||
# CONFIG_WIRELESS_EXT is not set
|
||||
# CONFIG_WIRELESS_WDS is not set
|
||||
# CONFIG_WIZNET_W5100 is not set
|
||||
# CONFIG_WIZNET_W5300 is not set
|
||||
|
Loading…
Reference in New Issue
Block a user