Files
2026-08-24 10:03:24 +08:00

42 lines
1.1 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"
default n
help
Enable init rfkill sw unblock.
By default,rfkill sw is blocked and not inited.
endif