mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
qemu/wifi: Add the virtual wifi function on the emulator.
-The qemu wifi fucntion only supports the STA mode and the following operations: wapi mode wlan0 2 wapi scan wlan0 wapi psk wlan0 password 3 wapi essid wlan0 wifi_name 1 wapi show wlan0 wapi disconnect wlan0 -Eanble the virtual wifi function with the MACRO `CONFIG_DRIVERS_WIFI_SIM`. Signed-off-by: liqinhui <liqinhui@xiaomi.com>
This commit is contained in:
@@ -657,4 +657,18 @@ config NETDEV_PHY_DEBUG
|
||||
|
||||
endif # ARCH_HAVE_PHY
|
||||
|
||||
config DRIVERS_WIFI_SIM
|
||||
bool "WiFi SIM support"
|
||||
depends on NETDEV_WIRELESS_IOCTL
|
||||
default n
|
||||
|
||||
config WIFI_SIM_CONFDIR
|
||||
string "Virt WiFi configuration directory"
|
||||
default "/etc/wifi"
|
||||
depends on DRIVERS_WIFI_SIM
|
||||
---help---
|
||||
Provides the full path to location in the file system where WiFi-SIM
|
||||
BSS configuration will be accessed. This is a string and should not
|
||||
include any trailing '/'.
|
||||
|
||||
endif # NETDEVICES
|
||||
|
||||
Reference in New Issue
Block a user