Driver built into self-built 6.18 (=y): zImage 12.7MB + rv1106-warden.dtb build clean; System.map confirms aicbsp_sdio_driver, aicwf_sdio_driver, rwnx_cfg80211_ops linked with correct bsp->fdrv->btlpm initcall order (host nm/System.map — cross-nm/ar mis-list these, verify with System.map). Recipe captured (driver .c is vendor GPL source in the SDK, not duplicated): - kbuild/ — from-scratch in-tree Kconfig + Makefiles (bsp->fdrv->btlpm link order; tristate->default y; AIC_FW_PATH as a real Kconfig string symbol). - wifi-dt-block.dtsi — sdio_pwrseq (mmc-pwrseq-simple, reset gpio1 PA2) + &sdmmc (mmc@ffaa0000, supports-sdio, cap-sdio-irq, non-removable). - PORT-PROGRESS.md — full file->change log: ~30 timer/netdev renames, 7 cfg80211_ops signature deltas, link_id args, wakeup_source API rewrite, 49 bsp/fdrv symbol collisions renamed aicbsp_priv_*, rwnx_mesh restore. Firmware present on both oem_a+oem_b (/oem/usr/ko/aic8800dc_fw); on-hardware wlan0 verify next. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wB8KB3MMQztRDXCMCkPrf
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# AICSemi AIC8800DC SDIO WiFi+BT driver (WardenOS M5 port).
|
|
#
|
|
# Ported from the vendor 5.10.160 out-of-tree source
|
|
# (flare-edge/sdk/sysdrv/drv_ko/wifi/aic8800dc/) — see
|
|
# warden-sdk/kernel/rv1106-enablement/wifi/PORT-PLAN.md and PORT-PROGRESS.md.
|
|
# Built-in only (=y): the 6.18 rootfs has no working module-loading pipeline
|
|
# yet, so these default to y rather than the vendor's default-n/tristate.
|
|
|
|
config AIC_WLAN_SUPPORT
|
|
bool "AIC wireless Support"
|
|
default y
|
|
help
|
|
This is support for the AIC wireless chip (AIC8800DC SDIO combo
|
|
wifi+BT on the WardenOS 86-Panel).
|
|
|
|
config AIC_FW_PATH
|
|
depends on AIC_WLAN_SUPPORT
|
|
string "Firmware & config file path"
|
|
default "/oem/usr/ko/aic8800dc_fw"
|
|
help
|
|
Path to the firmware & config files. The driver reads these
|
|
directly (not via request_firmware()) — see PORT-PLAN.md §3.8.
|
|
|
|
if AIC_WLAN_SUPPORT
|
|
source "drivers/net/wireless/aic8800/aic8800_fdrv/Kconfig"
|
|
source "drivers/net/wireless/aic8800/aic8800_btlpm/Kconfig"
|
|
endif
|