mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
rtl8720f_wifi_initialize() spawned a kthread to run the blocking WHC host bring-up and register wlan0, so the netdev appeared only after netinit had already run its one-shot associate -- the WiFi never auto-connected at boot. Do the bring-up synchronously on the board bring-up path (mirroring rtl8721dx_wifi_initialize) so wlan0 exists before netinit runs. Enable the standard netinit auto-connect machinery in both board defconfigs: NETINIT_THREAD (runs associate + DHCP off the NSH init path so the prompt is not blocked), NETINIT_DHCPC, and placeholder NETINIT_WAPI_SSID/PASSPHRASE the user replaces with their own credentials (WIRELESS_WAPI + the wapi cmdtool are already enabled). Signed-off-by: raul_chen <raul_chen@realsil.com.cn> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| dummy | ||
| hc/m9s12 | ||
| mips | ||
| misoc/lm32/misoc | ||
| or1k/mor1kx/or1k | ||
| renesas | ||
| risc-v | ||
| sim/sim/sim | ||
| sparc | ||
| tricore | ||
| x86/qemu/qemu-i486 | ||
| x86_64/qemu/qemu-intel64 | ||
| xtensa | ||
| z16/z16f/z16f2800100zcog | ||
| z80 | ||
| .gitignore | ||
| Board.mk | ||
| boardctl.c | ||
| CMakeLists.txt | ||
| dummy.c | ||
| Kconfig | ||
| Makefile | ||