Files
BPI-CM9-Linux/aml-comp/kernel/aml-6.12/common_drivers/drivers/wireless/wifi/Kconfig
T

53 lines
1.5 KiB
Plaintext

# SPDX-License-Identifier: (GPL-2.0+ OR MIT)
menuconfig AMLOGIC_WIFI
bool "WiFi support"
select WIRELESS_EXT if AMLOGIC_BREAK_GKI
select WEXT_PRIV if AMLOGIC_BREAK_GKI
default n
help
select y to support wifi
if AMLOGIC_WIFI
config AMLOGIC_PWM_32K
bool "amlogic soc pwm 32k support"
depends on AMLOGIC_PWM_MESON
default n
help
WiFi usually needs a 32K frequency clock signal.
There are three possibilities:
using the internal 32K clock or using the 32K input from our SOC,
or using the onboard active 32K crystal oscillator.
By default,32K of SOC input is enabled,
if not, you can disable it by selecting n.
config WIFI_POWER_INIT_OFF
bool "wifi power init off"
default n
help
Different OS has some different scenarios. Default wifi power is reset
and on for android, but other system like yoctos might not fit this
strategy. We add a macro CONFIG_YOCTO_WIFI so WIFI can be inited power off
to handle dirrerent scenarios.
config AMLOGIC_RFKILL_INIT_SW_UNBLOCK
bool "init rfkill sw unblock"
depends on RFKILL_INPUT
default y
help
Enable init rfkill sw unblock. When enabled, BT and WLAN rfkill
initial state is "unblocked" so upper layer does not misjudge
as radio off. Only visible when CONFIG_RFKILL_INPUT (kernel
rfkill input support) is enabled; must be used together with
RFKILL_INPUT to avoid wrong pairing.
config AMLOGIC_WIFI_RFKILL
bool "WiFi platform rfkill (wlan-dev) power control"
depends on RFKILL
default n
help
Register platform WLAN rfkill (wlan-dev) for power control.
endif