d27ca03b6c
Add the Sim WiFi function, which can provide the wifi operating on nuttx sim emulator, and support two modes that simulate wifi, HWSIM and RNC(real network card). - In the HWSIM mode, we simulates two wlan interfaces. The wlan0 is STA and the wlan1 is AP. The wlan0 can connect to the wlan1 in the nuttx simulator. - In the RNC mode, we can use the same wlan interface name on the nuttx simulator to control the connection behavior of the real wireless card. Signed-off-by: liqinhui <liqinhui@xiaomi.com>
11 lines
158 B
Plaintext
11 lines
158 B
Plaintext
ctrl_interface=/var/run/simwifi/wpa_supplicant
|
|
update_config=1
|
|
|
|
network={
|
|
ssid="Hwsim_WiFi"
|
|
psk="12345678"
|
|
key_mgmt=WPA-PSK
|
|
group=CCMP
|
|
disabled=1
|
|
}
|