mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
ANDROID: net: enable wireless core features with GKI_LEGACY_WEXT_ALLCONFIG
In embedded environments the requirements are to be able to pick and
chose which features one requires built into the kernel. If an
embedded environment wants to supports loading modules that have been
kbuilt out of tree, there is a need to enable hidden configurations
for legacy wireless core features to provide the API surface for
them to load.
Introduce CONFIG_GKI_LEGACY_WEXT_ALLCONFIG to select all legacy wireless
extension core features by activating in turn all the associated
hidden configuration options, without having to specifically select
any wireless module(s).
This reverts commit c2f96db077.
(rejected upstream commit url https://lkml.org/lkml/2019/9/6/878)
Bug: 140250271
Signed-off-by: Chun-Hung Wu <[email protected]>
Change-Id: I7ca31317df82cf3a349ba6cc2dc42c37090625be
Signed-off-by: Mark Salyzyn <[email protected]>
This commit is contained in:
parent
8e529fec60
commit
af38fd3120
1 changed files with 18 additions and 0 deletions
|
|
@ -103,6 +103,23 @@ config GKI_HIDDEN_VIRTUAL_CONFIGS
|
|||
These are normally selected implicitly when a module
|
||||
that relies on it is configured.
|
||||
|
||||
# LEGACY_WEXT_ALLCONFIG Discussed upstream, soundly rejected as a unique
|
||||
# problem for GKI to solve. It should be noted that these extensions are
|
||||
# in-effect deprecated and generally unsupported and we should pressure
|
||||
# the SOC vendors to drop any modules that require these extensions.
|
||||
config GKI_LEGACY_WEXT_ALLCONFIG
|
||||
bool "Hidden wireless extension configs needed for GKI"
|
||||
select WIRELESS_EXT
|
||||
select WEXT_CORE
|
||||
select WEXT_PROC
|
||||
select WEXT_SPY
|
||||
select WEXT_PRIV
|
||||
help
|
||||
Placeholder config option used to enable all the hidden legacy
|
||||
wireless extensions to the core wireless network functionality used
|
||||
by add-in modules. If you are not building a kernel to be used for
|
||||
a variety of out-of-kernel built wireless modules, say N here.
|
||||
|
||||
config GKI_HIDDEN_USB_CONFIGS
|
||||
bool "Hiddel USB configurations needed for GKI"
|
||||
select USB_PHY
|
||||
|
|
@ -176,6 +193,7 @@ config GKI_HACKS_TO_FIX
|
|||
select GKI_HIDDEN_MMC_CONFIGS
|
||||
select GKI_HIDDEN_GPIO_CONFIGS
|
||||
select GKI_HIDDEN_QCOM_CONFIGS
|
||||
select GKI_LEGACY_WEXT_ALLCONFIG
|
||||
select GKI_HIDDEN_MEDIA_CONFIGS
|
||||
select GKI_HIDDEN_VIRTUAL_CONFIGS
|
||||
select GKI_HIDDEN_USB_CONFIGS
|
||||
|
|
|
|||
Loading…
Reference in a new issue