mtda icon indicating copy to clipboard operation
mtda copied to clipboard

add a wifi driver

Open chombourger opened this issue 5 years ago • 2 comments

Some test suites require having a Wi-Fi access point to exercise their 802.11 stack. We could plug a USB Wi-Fi dongle to our NanoPI and provide APIs (most likely simple wrappers around NetworkManager calls) and configure it as an Access Point.

chombourger avatar Nov 26 '20 19:11 chombourger

If I understand correcly, We need to be able to configure the WiFi over mtda(as AP) so that some wifi test cases(perf/ping) can use that instead of having the need to have some external wifi hardware.

vj-kumar avatar Jan 12 '22 08:01 vj-kumar

If I understand correcly, We need to be able to configure the WiFi over mtda(as AP) so that some wifi test cases(perf/ping) can use that instead of having the need to have some external wifi hardware.

the use-case is that some devices to be tested will have Wi-Fi capabilities. We would like the board assist (like the Nanopi R1) to gain Wi-Fi activities. We could then write tests to configure the NanoPI as an Access Point, set a specific PSK, deliver a DHCP address, etc.

Some potential mtda-cli calls:

mtda-cli wifi mode ap
mtda-cli wifi ssid test-network
mtda-cli wifi security WPA2/PSK
mtda-cli wifi psk HackMe!
mtda-cli wifi on

we may also want to have a dhcp interface so we could enable/configure a DHCP server on the nanopi

chombourger avatar Jan 12 '22 17:01 chombourger